Groups | Blog | Home
all groups > flash actionscript > february 2007 >

flash actionscript : Visibility swapping instances Play/Stop button?


kptgreg2
2/27/2007 10:54:32 PM
[quoted text, click to view]
a program that gets mp3s from an XML file and loads them in a custom designed
mp3 player. I need to create a Play button that after being pressed switches
to a Stop button (different graphic) which I cna then use with a different name
to stop playing the song and I do not know how to do this. Is there some sort
of switch or visibility I can use? Or do I do this as making the play button a
movie clip and putting the stop button graphic on frame 2? Any help would be
much appreciated.
SymTsb
2/27/2007 11:54:06 PM
Something similar to this???

http://www.fedlerstudio.com/flash/new.html

kptgreg2
2/28/2007 12:15:52 AM
SymTsb
2/28/2007 1:00:01 AM
The play/pause button is actually a single clip with 4 frame labels. I've
added padding frames in there to allow for tween animation at a later date if I
desired. There is a stop action in frame 1 which is the pause button. I then
have external as file that handles the actions for this block of code. Rather
than me try to explain it, I'll give you the url that will show you how to do
it. My mp3 player is just an implementation of this.

http://www.gotoandlearn.com/ - Read the 3 part tutorial about the Flash MP3
player. Extremely resourceful.
kptgreg2
2/28/2007 5:53:26 AM
AddThis Social Bookmark Button