PDA

View Full Version : Flash Transition Manager



afroman
03-29-2007, 06:46 PM
Hi, i am havin difficulties getting the IRIS transition to work in Flash 8. I used the code from the flash help files, but it doesn't seem to work. I want a picture to load into a loader and use the IRIS transition. The fade transition seem to work fine but not the IRIS. the code i use is below. Can anybody help me this.
thanks

btn1.onRelease = function (){
picLoader("sport.jpg");

TransitionManager.start(loader, {type: mx.transitions.Iris, direction:Transition.IN, duration:1, easing:Strong.easeOut, startPoint:5, shape:Iris.CIRCLE});
}

:confused:

BLiZZaRD
04-13-2007, 04:47 PM
btn1.onRelease = function() {
picLoader("sport.jpg");
mx.transitions.TransitionManager.start(loader, {type:mx.transitions.Iris, direction:Transition.IN, duration:1, easing:Strong.easeOut, startPoint:5, shape:Iris.CIRCLE});
};


I think the syntax is a little off in yours. Note this only works in Flash 8 and 9, so if you publish for Flash 7 it won't work...