This content has been marked as final. Show 7 replies
The button should be inside a movie clip, on a bottom layer, and the stop action on a layer above. it wont interfer then...
Thanks for the prompt feedback. Before attempting putting the button on its own movie clip, I tried the second approach of using the layers. It did not work. Too bad we cannot attach a screenshot here so that maybe you can see if I am making a silly error.
The movie has 12 frames. These are the layers right now (top to bottom, as they are in Flash):
1) actions - frame 1 with the first line of code: theLoader_mcl = new MovieClipLoader();
2) box - where the movie with the content loads
3) button - with the 'onpress' action described in the first post
4) backtop - a movie/background image
I tried adding a new layer on top of the 'button' layer, and placed the action 'stop();' on the last frame. It did not work.
Thanks so much for your help.
Santa Fe, NM
You may need to fix the code on your button. A stop action should not keep the button from working. Try putting a regular non-animated button on the root and see if it works...
It worked! Now, what do you think I did wrong? (since I want to learn). This is what I did this time (sort of reverted the order):
1) created the non-animated button
2) added the on(press) action; tested movie fine
3) created the tween
4) added the stop action, tested the movie, bingo.
Thanks so much for the help!
Santa Fe, NM
"Life's a long song...but the tune ends too soon for us all"
send me a PM...
Sorry, I am not big on acronyms. What's a "PM"? Post-mortem? -:)
Send Private Message