Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: open
I assume the problem is trivial but I'm learning so please excuse if level of the question... :)
I have a very simple situation:
two layers and 10 frames in all
Layer1 contains a button that when released triggers the following action:
the button is present in all 10 frames.
Layer2 has a movie clip in frame 5 that continues up to frame 10 (the end of the whole flash movie).
The problem is that when I reach frame 10 and press the button, the mc from frame 5 doesn't play again. I don't get it why. It is in the state it finished playing. Logically thinking it should start playing AGAIN from the start if I move the playhead to the frame on the main timeline where it is nested.
From experiments, I figured out that when the mc lasts up to frame 9 of the main timeline and the button is pressed in frame 10 (when the clip is not present on the stage anymore) the mc DOES play again.
The same is if the button goes not to frame 5 but 4 (where the mc is NOT YET present on the timeline).
Can you give me any clue?
ps. one more question is bothering me but maybe I'll describe it in a new post.
I just thought if there is another way.
Thanks for the reply and making me more confident that my way of thinking is going right direction:)
Look in the help files for samplecode. It's handled a little bit different in AS2 as from AS3, but it's kind of the same concept.