To make an audio interface equipped with rewind, play, stop and forward buttons proceed with the following.
Make a sprite within your movie (anywhere) name it what you want (like"audio"). Next go into that sprite and insert these actions.
(at frame 0 stop, at frame 1 tell target "audio" load movie in level of your choice...Lets say 10...and add a stop action, at frame 2 tell target "audio" load movie in level 10 and stop, at frame 3 tell target "audio" load movie in level 10 and stop).
Now insert the graphics of the buttons you want to use.
Next on the rewind button add action "on release" tell target audio to go to previous frame, on the play button add action, "on release" tell target audio to load movie in level 10, the stop button should have "on release" stop all sounds and/or tell target "audio" to unload movie from level 10. Finally the forward button's actions are "on release" tell target "audio" to go to next frame.
Congradulations!!! You are done...
|
|
|