|
-
gotoAndPlay is going to And Stopping
Code:
on(rollOut){
for(k=1; k<=2; k++){
_root.treeListenerFront["treeListener"+k].gotoAndStop(thisPlantedTree);
_root.treeListenerFront["treeListener"+k]["tree"+treeCount].gotoAndPlay(thisCurrentGrowth);
}
}
For some reason the second goto is not doing what it's supposed to be doing. It goes to the frame I'm calling, but it doesn't play, it just stops.
Why is this?
-
Code:
on(rollOver){
_root.treeListenerFront.treeListener1.gotoAndStop(5);
_root.treeListenerFront.treeListener1.tree4.gotoAndPlay(2);
}
I did some more playing around, and even with something as simple and direct as the above piece of code (nothing else), it still goes to the frame 5 of treeListener1 and stops, and then goes to frame 2 of tree4 and stops, even though it's supposed to play on tree4.
How can I get around this?
I tested it out, and the first time I roll over the button it stops, and the second time I roll over it, THEN it plays, but with the functionality I desire, I need it to play the first time through.
Thanks for your help!
-
getting the same thing. i've even gone as far as rebuilding an entire movie, with no other code other than the action gotoAndPlay("start");
the "start" frame is totally clean and yet it freezes the movie clip on the one frame.
if anyone has any clues as to what causes this bug, PLEASE LET ME KNOW.
-
I got that problem too! Maybe you should check if on frames you have put stop(); everywhere because even if you want it to play it will never work this way (I think!)
Also one other thing I saw was that when you use play() or start() or gotoAndPlay(), if you have stoped it before or make it start it on the first frame it some times never go further.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|