Just wondered if anyone could help showing me how to ease in a blur filter for a particular movie clip?
treetrigger.addEventListener(MouseEvent.ROLL_OVER, rollovert);
function rollovert (event:MouseEvent):void {
myBlur.blurX = 0;
myBlur.blurY = 0;
tree.filters = [myBlur];
myBlur.blurX = 7;
myBlur.blurY = 7;
man.filters = [myBlur];
myBlur.blurX = 20;
myBlur.blurY = 20;
crowd.filters = [myBlur];
}
I wanted to ease in all 3 movie clips by 1 second when i click on ‘treetrigger’ but i don’t know how & where to put in the actionscript. Thanks!
You can use a tween library to do this easily. For instance, using Actuate the code would be:
Another popular tween library is GreenSock’s TweenLite but any decent tweening library should be able to do the same thing.