Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 8th, 2004, 01:17 AM
shozam shozam is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 shozam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
gradual image fade out ...

i'm looking for a script or advice on how to gradually fade an image out from the side as a new image is revealed beneath it. then, after a few moments, the second image gradually fades from the side and is replaced by, you guessed it, another image.

the key here is that i don't want to do an alpha fade on the entire image all at once. i want it to gradually fade out from left to right.

i appreciate that the input.

thanks.

d.

Reply With Quote
  #2  
Old February 8th, 2004, 05:26 AM
Tann San Tann San is offline
Gotta get to the next screen..
Click here for more information.
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,584 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 7835 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 5 h 42 m 29 sec
Reputation Power: 534
Facebook MySpace
Hi, you can do that with an alpha gradient. Draw a new box shape. Give it a gradient color. Adjust both gradient colours to match your background colour. Now lower one sides alpha to zero. This box should be the same size as your image. So now you have a box that one side is transparent the other is not. Now draw a second box. Color this to be entirely the bg color. Drag it to the non transparent side of the previous box. Now put your now larger double box into it's own movie. Now motion tween that across your image. This might not do what you want...I think you want the second image to appear where the first one has faded dont you?...
__________________
-Tann

-Vote for your favorite ActionScript editor here.

Reply With Quote
  #3  
Old February 8th, 2004, 05:49 AM
shozam shozam is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 shozam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hi, thanks for your reply.

i've actually already tried that, but unfortunately, it doesn't replace the first image with the second.

i suspect i need actionscript that measures the horizontal size of the image, then gradually decreases it's alpha to 0 from the left (or right) until the photo image has disappeared completely - ultimately, revealing the image on the layer beneath it.

of course, writing this code is a different story.


Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > gradual image fade out ...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway