|
So first make two buttons for the play and stop functionality, then an up arrow and down arrow, right click then separately and convert them to movieclips (not buttons symbols).
This is where we have to start giving those buttons some functionality. Most (if not all) of the functionality for each button is going to be in the MOUSE_UP event handlers:
13. Flash MP3 Player
20. Adobe Flash Tutorial | Build Simple Sound Machine | ActionScript 3 | Flash MP3 | Layers Magazine
23. Mp3 Player
In the final you will get this: I have a list box that is being populated from xml file. I need to know how to make the player look to that for its sound object. In Flash MX you have the capability to load an external mp3 sound file into a flash movie using the Sound.loadSound() method. In the latest release of the Flash 6 Player it is possible to access the ID3 tags embedded in an mp3 encoded file. Unfortuneatley you cannot access the ID3 tags in an mp3 file until it has *fully* loaded, this is fine when you are using the Sound.attachSound() method but it causes problems when you are loading an external sound into the player... Save it and use this code to embed your Flash player in a Page ( we talk about localhost because if you want to be online you need to upload the files on your server. I hope you have a server because the sites who give free hosting don't let you yto uploade mp3, mp3, wav, wma, etc!) 2. Choose "Movie" > "Import Sound...". Select your MP3 file and click OK. Flash Designer will show the sound in the list. Click OK to close "Sounds" dialog: |
| w_w__w.___j__a__v_a2s__._c___o__m_ | Contact Us |
| Copyright 2009 - 12 Demo Source and Support. All rights reserved. |
| All other trademarks are property of their respective owners. |