Forum Moderators: open
I usually don't use actionscript that much.
So my scripin is pretty poor.
I am using flash7
Well...
I have a animations and a button to go to the next or previous animation.
Then I tried to add a stop button, but the stop command only works if the button is a symbol in the same layer as the animation itsself.
What I need is a stop comand that stops all layers ( underlying layers ) and the same thing for play.
Thanx if anybody can help me with this.
Regards
Martin
I think that could work.
Right now I just have a a stop(); ( without the name before the layer )
The animation name before the DOT is also the layer name right.
If I solve the problem like this, I would have to change all the animation names which will takem me around 2 day...
Do you know if there is also a "ALL LAYERS" command or something like that?
( something like GLOBAL STOP for all underlying and overlying layers )
I have use imported fireworks animation.
SO when I import then, flash7 converts them to ediatble flash elements.
Thanx
Martin
Thanx for your answer.
It works now... well ... almost...
Now the problem is that I can only use the stop and the play button once.
When I press stop the movie stops.
Then I press play and it plays.
But if i want to stop the movie again, the stop button doesn't react again...
Do you have an idea why this happens...
Would be great if you could help me again.
This is what I did... ( 2 frames )
-------------------------------------
STOP BUTTON First frame
-------------------------------------
on (release) {
_root.video1.stop();
_root.video2.stop();
_root.video6.stop();
nextFrame();
---------------------------------------
PLAY BUTTON Second Frame
---------------------------------------
on (release) {
_root.video1.play();
_root.video2.play();
_root.video6.play();
prevFrame();
----------------------------------------
Thanx and regards
MAVI