Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fading Large Bitmaps

Status
Not open for further replies.

Thoe99

Programmer
May 11, 2001
119
US
I have a background bitmap that I made it fading to nothing if you leave that page. Seems like tweening it really bogs the flash file, making it fade chunky. Is there a way to fade it programmatically and have it fade smoothly at the same time?
 
My guess is that you'd still be using alpha and that's what's hard on the processor! Regards,

new.gif
 
I was just wondering if programming it made a difference or not, since it does on many other aspects of the program. It doesn't on alpha?
 
If you're fading to nothing but black or white (i.e. there's no image underneath the one you're fading) you can tween the _brightness of the image rather than the _alpha which is a lot less work for the processor and so looks smoother.

Otherwise to fade to any other solid colour you can tween to a tint from the advanced option in the 'color' dropdown. Slainte

 
Hmm...the reason I'm fading this thing is because I have a bitmap underneath it. I figure fading a black object above it will be more friendly, which it does work better.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top