PDA

View Full Version : image crossfade on cursor movement



acarboni
September 22nd, 2002, 01:07 PM
Hey, everyone-

I'm very new to actionscripting, and I'm running into (what I think is a) pretty big wall. Hopefully one of you can help.

Basically, I have two different background images for my navigation bar. I want the two images to crossfade between each other incrementally depending on the position of the mouse cursor.

I was thinking I could do this with an OnClipEvent (mouseMove) and an attach movie command, but I'm not really sure how that works... like I said, i'm just starting out, and I'm thinking I've bitten off more than I could chew.

Could anyone point me towards some tutorials or sample code that would help me get going?

Thanks!

Anthony

pom
September 22nd, 2002, 02:32 PM
You mean something like in this tutorial (http://www.kirupa.com/developer/mx/alpha_fade.asp)?

pom :asian:

acarboni
September 22nd, 2002, 03:50 PM
YES! That's it exactly! I suppose I should've hunted around the site a bit more before posting, eh? :)

Thanks!

pom
September 22nd, 2002, 04:27 PM
Originally posted by acarboni
YES! That's it exactly! I suppose I should've hunted around the site a bit more before posting, eh? :):evil: