# Image crossfade on cursor movement

**URL:** https://forum.kirupa.com/t/image-crossfade-on-cursor-movement/5808
**Category:** Uncategorized
**Created:** [September 22, 2002, 5:07pm UTC](https://forum.kirupa.com/t/image-crossfade-on-cursor-movement/5808 "2002-09-22T17:07:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![acarboni](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@acarboni](https://forum.kirupa.com/u/acarboni)
#### Post date: [September 22, 2002, 5:07pm UTC](https://forum.kirupa.com/t/image-crossfade-on-cursor-movement/5808/1 "2002-09-22T17:07:18Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 22, 2002, 6:32pm UTC](https://forum.kirupa.com/t/image-crossfade-on-cursor-movement/5808/2 "2002-09-22T18:32:25Z")

</div>

You mean something like in [this tutorial](http://www.kirupa.com/developer/mx/alpha_fade.asp)?

pom :asian:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 22, 2002, 7:50pm UTC](https://forum.kirupa.com/t/image-crossfade-on-cursor-movement/5808/3 "2002-09-22T19:50:21Z")

</div>

YES! That’s it exactly! I suppose I should’ve hunted around the site a bit more before posting, eh? 🙂

Thanks!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 22, 2002, 8:27pm UTC](https://forum.kirupa.com/t/image-crossfade-on-cursor-movement/5808/4 "2002-09-22T20:27:22Z")

</div>

> \*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:
