LOGIN REGISTER
Forgot password?
 
Flash Mp3 Player

Flash Mp3 Player screenshot

Preview:   Downloads: 12505Info: Flash CS3+, 248kb, Resizable, AS2

Last update (4):Wed, May 27th 2009, 13:04

 

 

 
Search comments:
has downloaded icon

 
rdaftuar

rdaftuar

on 12/12/09

 
I am new to flash and am trying to embed this mp3 player onto a page of my flash website. I went through the tutorial and am still getting an error. My actionscript code is below.

The error says: 5007: An ActionScript file must have at least one externally visible definition.
has downloaded icon

 
rdaftuar

rdaftuar

on 12/12/09

 
Sorry, I forgot to attach the code.

                
import com.vuzum.player.Player;

var pathTo : String = "player/";
var settingsPath : String = "/xml/mp3_player.xml";
	
 function initPage():Void
    {
    	Stage.align = "TL";
		Stage.scaleMode = "noScale";
		Stage.showMenu = false;
		
		pathTo = String(_root.pathToFiles);
		
		if(pathTo == "undefined" || pathTo == undefined)
		{
			pathTo = "player/";
		}
		
		
		if(_root.settingsPath == undefined || _root.settingsPath == "undefined") 
		{
			settingsPath = pathTo + "xml/settings.xml";
		}
		else
		{
			settingsPath = pathTo + _root.settingsPath;
		}

		loadSettingsData(settingsPath);
    }

                

 
Pope

Pope

on 14/12/09

 
Here's a little review I wrote: http://www.arthurpope.com/blog/2009/12...
has downloaded icon
has support ticket icon
 
navindesigns

navindesigns

on 26/12/09

 
@bklyn2cali....how do i use the force download? where do i insert that code?
has downloaded icon

 
pencilism

pencilism

on 28/12/09

 
First of all let me tell you that this is the most beautiful and seemless mp3 player that I've found on the web, and it being FREE was like recieving an unbelievable gift from a friend. It was just what I needed for my project! Thank you!!!

Here's my site: http://www.abyssbeats.com

Everything's working GREAT except one thing. When we're in the mp3 list menu of one album, and click the left or right arrow on either side of the album cover image to toggle to another album, the buy($) button links to the next album stop working.

I have the buy($) buttons linked to a Paypal account normally but those links change to http://www.abyssbeats.com/undefined if you toggle to the playlist from another playlist using the arrows to navigate.

Now, if I navigate back to the main menu with all the scrolling album covers and go to each individual playlist from there, then everything works fine.

Can you please help me! What should I do?

Thanks in advance...
has downloaded icon

 
bklyn2cali

bklyn2cali

on 29/12/09

 
@navindesigns: you would have to create a .php file with the php script and put that file in the same location where you would have the files to be downloaded from.

in the playlist .xml, you would have to include the path to the .php file like such:

[xml]download/STREAMINGFILE.mp3[xml]

Tomcat253 mentioned he had a script that would bypass the need for a separate .php file. i don't know what that particular script is.
has downloaded icon

 
bklyn2cali

bklyn2cali

on 29/12/09

 
@Tomcat253, should you read this, what is the script that needs to be modified in the .as file, for forcedownloads without an extra .php file?

thanks!
has downloaded icon
has support ticket icon
 
Tomcat253

Tomcat253

on 31/12/09

 
bklyn2cali:

Playlist.as around line 600 ...

                private function downloadRelease(mc : MovieClip) : Void
{
	var title : String = mc._name;
	var index : Number = Number(title.substring(title.lastIndexOf("n")+1,title.length));
		
	//getURL(songsSource[index], Main.getInstance().mcAlbums.linksTarget);
	// Open Download and Save UI
	var fileRef:FileReference = new FileReference();
	var url:String = songsSource[index];
	if(!fileRef.download(url)) {
	    trace("dialog box failed to open.");
	}
}
                
has downloaded icon
has support ticket icon
 
Tomcat253

Tomcat253

on 31/12/09

 
bklyn2cali:

Don't forget to add ...

                import flash.net.FileReference;
                


to the top of the AS ... just below Flabell's comment block.
has downloaded icon

 
Strawman

Strawman

on 1/1/10

 
Hello
How to change the text on the player for the Chinese?


Report a bug or recommend a feature in the forum.


Similar flash components

Simple Flash Mp3 Player

Simple Flash Mp3 Player

Minimalistic flash mp3 player with a twist, perfect for your website... read more


Compact Flash Mp3 Player

Compact Flash Mp3 Player

Flash mp3 player that automatically generates the XML playlist from... read more


General Videos

  • Using Flabell Components in your Flash Projects
    watch movie

Need support?

Support ticketGet a support ticket
read more

Share this

If you enjoyed this product, please consider sharing it via a social network, or leaving a comment. Thanks!