Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Guest
May 14, 2013 May 14, 2013

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!

TOPICS
ActionScript
687
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
May 15, 2013 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)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 15, 2013 May 15, 2013

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
May 15, 2013 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 15, 2013 May 15, 2013
LATEST

Thanks!
Can I do this with multiple images or groups of images at the same time?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines