Check when transition ends. Help please

Posted by user1100026 
Check when transition ends. Help please
January 15, 2012 03:53PM
I have a movie clip with an effect on stage wit instance name "myEffect" (from frame 1 to frame 2).
In frame 2 the following action script:

import com.jumpeye.Events.FLASHEFFEvents;
myEffect.addEventListener(FLASHEFFEvents.TRANSITION_START, effectStarting);
myEffect.addEventListener(FLASHEFFEvents.TRANSITION_END, effectEnding);
function effectStarting(evt:FLASHEFFEvents):void
{
trace("The effect has started");
}
function effectEnding(evt:FLASHEFFEvents):void
{
trace("The effect has endded");
}

gotoAndPlay(1);

The animation works but no output in the window.



Edited 1 time(s). Last edit at 01/15/2012 03:54PM by user1100026.
Re: Check when transition ends. Help please
January 16, 2012 03:14PM
Are you using the free version of the component or the premium version? The free version doesn't work with code.
Sorry, you do not have permission to post/reply in this forum.