Welcome to our Flash components store! Log In
home

Flash MP3 Player - A2

thumb

A2 is a lightweight (~6Kb) MP3 player for websites. It is powered by a code generator that makes using the player ridiculously easy.

A2 is also available in the following variations:
  • standalone (for use in general HTML pages)
  • WordPress plugin
  • Flash component (for use in Flash / ActionScript projects)
  • Flex component

Use as standalone
Download. Embed just like any .swf file.
The download package includes a documented example that will help you figure it out.

Use as WordPress plugin
Download. Install just like any other WordPress plugin - upload to blog's wp-content/plugins then activate. Optionally configure from Settings -> A2 Options.
Embed the player using the following code in your post: [a2 trackURL="example.mp3"]
Optionally use multiple parameters: [a2 trackURL="example.mp3" color1="0x555555" color2="0xee8888" autoPlay="false" width="200"]
NOTE: A2 for WordPress requires WordPress 2.5. Tested up to WordPress 2.8.6.

Use as Flash component
Download. Copy A2.swc (you'll find it in the download package) to your components folder.
In ActionScript use: import com.flashstall.controls.A2; var a2:A2 = new A2();a2.trackURL = "example.mp3"; addChild(a2);

API / Properties
These are the properties you can use to customize the appearance and the behavior of the player. Feel free to play with them in the property explorer.

trackURL - the URL path to the .mp3 file to be played (required) color1 - the color of all elements except playhead (optional; default: 0x3399cc) color2 - the color of the playhead (optional; default: 0xFF6666) autoPlay - if set to "true" the track will start playing once the player is loaded in the page (optional; default: false) volume - the default volume. possible values: 0, 1, 2, 3 (optional; default: 2)
Comments
gravatar
Hi Can you please tell me how to use this file in Flash only? Thanks. Andi
By flashgirl on Dec 8 2009
Hi. Please, download again and follow the "Use in Flash" instructions above. If you have further questions, let me know.
gravatar
Thanks very much. Why are you not including the .fla file? I need that part....
By flashgirl on Dec 10 2009
There are no .fla files available with the player at this point. However the player can be easily used in any .fla file. Find instructions in the review above.
gravatar
Ok, well I can't use it then, as I need to be able to customize it and change the size (width). Not sure why a fla wouldn't be available for download? - that is unusual.
By flashgirl on Dec 10 2009
The player is fully customizable. To customize its width, for example, use "a2.width = 123" (that is assuming you have an instance of the player called "a2")
gravatar
Ok, that's great! - what about multiple instances?
By flashgirl on Dec 10 2009
Sure - as many as you want.
gravatar
I have CS4 - and I can't find where my "compnents folder" is located....the link you provided only says for CS3, and it's not there anyway????
By flashgirl on Dec 10 2009
Please, see the updated document at http://www.flashstall.com/?article:1
gravatar
Think I found it - for CS3 and CS4
By flashgirl on Dec 10 2009
gravatar
I put the file in the components media folder....put in the as...and nothing happens - are there missing instructions? Thnaks
By flashgirl on Dec 10 2009
gravatar
Hi... How to upload own mp3 song and embeded to the flashplayer.. Thanks.
By kingbugis on Dec 10 2009
You can upload your own mp3 file on your server and then use the URL (path) to the uploaded file to set the trackURL property of the player.
gravatar
How do you get this to work in IE8? I put the code in but the player does not show up in ie.
By aznbimmer on Dec 28 2009
It should work. Where do you test it - localhost or a remote server?
gravatar
Hello, i would to fine a player to post my music on facebook, just a player who can read a song, not a play list ? Whe ca do that with A2 or A3 ? thanks for reply... And also i'm on Mac, is it the same version that for PC ?
By manu1 on Jan 22 2010
gravatar
Hey m40! Thanks for the player it great. Say, is there any way I could get it to loop? Thanks, Max
By Max on Feb 5 2010
Hey Max! Looping is not supported in the current version of the player but stay tuned for the next version - it's coming later this month.
gravatar
Hi! This plugin seems awesome but I can't get multiple instances of this player on a page. I'm confused. Using Safari. Thanks for any help! http://www.loganknows.com/johnnie-ninety-nine
By verhine on Mar 4 2010
And I put a password protection on the link posted above - "flashstall". I'm using the player on the first 3 tracks but only the first one is showing and playing. Notice the gaps underneath. Thanks!
gravatar
Thanks for the great player! Is it possible to control the player using Javascript? E.g. let Javascript instruct the player to start playing?
By rekcor on Mar 14 2010
gravatar
Im new, whats this ? Warning: fopen(/wp-content/plugins/a2-player/config.txt) [function.fopen]: failed to open stream: No such file or directory in pluginsa2-playera2-player.php on line 13
By sphion on May 4 2010
gravatar
Nice player. I used the code from the generator (multiple instances) for some weeks but since some days all instances of the player don't show up on the HTML page any more. Thx!
By user1 on Jun 7 2010
gravatar
Great player! I have it installed in a website but the player disappeared from the site - was the link disabled on your end? Are there any limitations for commercial use?
By claybr on Jun 8 2010
We were moving the site to a new server. That may have caused the disappearing. It should be working fine now. There are no limitations for commercial use.
gravatar
Quick question: does the player support "playlists" or playlist.xml source files?
By claybr on Jun 26 2010
gravatar
Unfortunately it is not possible to change the width of the player for IE 7. Max width is 300px. I only changed one parameter - therefore i exclude other possibilities who causes this error.
By Jan on Aug 4 2010
gravatar
... but no problems when i use the code-generator - hm ...! there is something wrong with the standalone-sample in the download file ...
By Jan on Aug 4 2010
gravatar
Brilliant! Thanks for the great mp3 player.
By craig on Aug 5 2010
To add a comment, please log in.
Download
The item is available for free.
Details
Added by m40
Created on Oct 1 2009
Stats
Viewed by 304 users
Downloaded by 432 users
Share
delicious digg reddit facebook
The author of this item is available for freelance work. Use his profile to get in touch!