Skip to main content
May 15, 2013
Question

How to fade groups of images or multiple images at the same time?

  • May 15, 2013
  • 1 reply
  • 714 views

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!

This topic has been closed for replies.

1 reply

Inspiring
May 15, 2013

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)

May 15, 2013

Thanks!
Is there any way I could do this on the timeline, without using script?

Inspiring
May 15, 2013

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