How to Flash CS5 AS3 Random Elastic?
I made a photo gallery, every photo start come in with:
new Tween(uiLoader,"rotationX",Elastic.easeOut,90,0,4,true);
And it's cool but if all photos come in same way, it's little bit tiered
to look at it. So I want to ask is here any code to make it random with
fade, blinds, iris, fly, Dissolve, Squeeze, Wipe, Zoom, rotationX,
Elastic.easeOut???? Here is my code:
function completeHandler(event:Event):void
{
uiLoader.x = (back.width - uiLoader.content.width) >> 1;
uiLoader.y = (back.height - uiLoader.content.height) >> 1;
new Tween(uiLoader,"rotationX",Elastic.easeOut,90,0,4,true);
}
No comments:
Post a Comment