all groups > flash actionscript > may 2004 >
You're in the

flash actionscript

group:

Passing MC Frame Label/name to Main Movie


Passing MC Frame Label/name to Main Movie Jim Wiley
5/17/2004 10:26:04 PM
flash actionscript:
Hi Everyone,
I am using MX '04 Pro.
I am trying to test for the last frame labeled "lastFrame" in a MC. (This is
not the actual last frame because of some of the tweening I am using).
I have to have a method to signal the main clip that the MCis done and change
the status of the toggle button.
The user can then interact (press pause to play). Pressing the toggle Pause
and Play button will then switch from the MC back to the main movie time line
for the Pause and Play control and play the next frame in the timeline.


Re: Passing MC Frame Label/name to Main Movie mandingo
5/17/2004 11:07:34 PM
it is not possible to test for a frameLabel directly.

This can be accomplished by recording your labels in an array with the
associated frame numbers, then testing what frame number you are on can
retrieve the frameLabel.

hope that helps
cheers,
AddThis Social Bookmark Button