Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-14-2008, 01:53 PM   PM User | #1
nickyfraggle
Regular Coder

 
Join Date: Mar 2006
Posts: 196
Thanks: 27
Thanked 2 Times in 2 Posts
nickyfraggle is an unknown quantity at this point
fade one movie clip in while another one fades out

Hello,

I am trying to have 2 movie clips fading on my stage simuntaneously for a photo gallery.

I'd like one to be fading out while the other fades in.

How do I do this in Actionscript?

Thanks

Nicky
nickyfraggle is offline   Reply With Quote
Old 09-15-2008, 05:00 PM   PM User | #2
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
Have the two MC on top of each other, and then apply tweens so that each one fades in or out at the same time as the others. You may need to have two lists built for the images, basically so one is the queue list and the other is the visible photo, then they switch.
__________________
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.
gnomeontherun is offline   Reply With Quote
Old 09-15-2008, 08:29 PM   PM User | #3
ramm19
New Coder

 
Join Date: Jul 2008
Posts: 99
Thanks: 0
Thanked 4 Times in 4 Posts
ramm19 can only hope to improve
There are different ways to do what you want, but as Jeremy said, the easiest way would be using tweens, which you could trigger either from the timeline or from AS.
ramm19 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:53 AM.


Advertisement
Log in to turn off these ads.