Copy link to clipboard
Copied
I am creating a flash infographic, and want to fade images I have imported from Illustrator that are grouped. I would like to know how to fade these groups and multiple images at the same time.
Thanks!
Copy link to clipboard
Copied
Use TweenMax for this.
the syntax is like this:
var arrayOfDisplayObjects:Array = new Array();
//with arrayOfDisplayObjects.push(DisplayObject)
//you can put any DisplayObject in the Array and when you want to fade them call this
TweenMax.allTo(arrayOfDisplayObjects,1, { autoAlpha:0} );
//to fade them in 1 second to alpha=0 and when reaching the zero make them invisible (to save processing power)
Copy link to clipboard
Copied
Thanks!
Is there any way I could do this on the timeline, without using script?
Copy link to clipboard
Copied
right click your picture>create create motion tween>set the alpha of your picure to 1 in the beginning, go to the end of the blue highlighted Layer and set the alpha to zero.
If you want to do that for multiple images convert them to a symbol and apply the motion tween afterwards
Copy link to clipboard
Copied
Thanks!
Can I do this with multiple images or groups of images at the same time?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now