-
2. Re: allTransitionsOutDone problem
barpos May 5, 2011 7:20 AM (in response to relaxatraja)Yes, I learned it there, but there's no mention on how to reset things.
Here's a sample from that link:
import fl.transitions.*;
import fl.transitions.easing.*;
var myTM:TransitionManager = new TransitionManager(my_mc);
myTM.startTransition({type:Zoom, direction:Transition.IN, duration:7, easing:Strong.easeOut});
myTM.startTransition({type:Rotate, direction:Transition.IN, duration:7.5, easing:Bounce.easeOut});
myTM.startTransition({type:PixelDissolve, direction:Transition.IN, duration:5, easing:Strong.easeOut});
myTM.startTransition({type:Fly, direction:Transition.IN, duration:4, easing:Strong.easeOut});By adding multiple .startTransition() lines, you are combining them together as opposed to sequentially executing one by one.
In my case, one line is Transition.IN and the next Transition.OUT, therefore they conflict.
Regards,
Ron
-
3. Re: allTransitionsOutDone problem
relaxatraja May 6, 2011 3:16 AM (in response to barpos)The code given by you is working fine:
import fl.transitions.*;
import fl.transitions.easing.*;
var industriesTM:TransitionManager = new TransitionManager(IndustriesTxt);
var usifabTM:TransitionManager = new TransitionManager(UsifabTxt);
var rawdonTM:TransitionManager = new TransitionManager(RawdonTxt);industriesTM.startTransition({type:Blinds, direction:Transition.OUT, duration:3, easing:None.easeIn, numStrips:25, dimension:0});
usifabTM.startTransition({type:Blinds, direction:Transition.OUT, duration:3, easing:None.easeIn, numStrips:25, dimension:0});
rawdonTM.startTransition({type:Blinds, direction:Transition.OUT, duration:3, easing:None.easeIn, numStrips:25, dimension:0});industriesTM.addEventListener("allTransitionsOutDone", doneTrans);
function doneTrans(event:Event):void
{
industriesTM.startTransition({type:Blinds, direction:Transition.IN, duration:3, easing:None.easeIn, numStrips:25, dimension:0});
usifabTM.startTransition({type:Blinds, direction:Transition.IN, duration:3, easing:None.easeIn, numStrips:25, dimension:0});
rawdonTM.startTransition({type:Blinds, direction:Transition.IN, duration:3, easing:None.easeIn, numStrips:25, dimension:0});
}Note: IndustriesTxt should be a movieclip
-
4. Re: allTransitionsOutDone problem
barpos May 6, 2011 4:18 AM (in response to relaxatraja)Interesting! The TXT objects are graphics, but I later used the drop-down to select Movie Clip. Anyhow, I recreated industriesTXT from scratch as a movieclip right off the bat and the result is the same, no change. So, I'm at lost here. I'll try to see if a new test .FLA would behave the same.
Regards,
Ron
-
5. Re: allTransitionsOutDone problem
relaxatraja May 6, 2011 6:53 AM (in response to barpos)I tested it works! can you send the file: relaxatraja@aol.com
-
6. Re: allTransitionsOutDone problem
barpos May 6, 2011 1:18 PM (in response to relaxatraja)Sent! Let me know what you find ...
-
7. Re: allTransitionsOutDone problem
relaxatraja May 7, 2011 5:03 AM (in response to barpos)In your "Main AS3" layer Move your first keyframe with cod to 18th frame it works. The problem is on the tween to confirm that
-
8. Re: allTransitionsOutDone problem
barpos May 7, 2011 6:18 AM (in response to relaxatraja)But, why didn't I think of it??? <g>
Anyhow, thanks a lot!
Regards,
Ron

