# Thought i take a shot at this actionskrpt

**URL:** https://forum.kirupa.com/t/thought-i-take-a-shot-at-this-actionskrpt/39192
**Category:** Uncategorized
**Created:** [January 4, 2004, 7:47pm UTC](https://forum.kirupa.com/t/thought-i-take-a-shot-at-this-actionskrpt/39192 "2004-01-04T19:47:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![T\_O](https://avatars.discourse-cdn.com/v4/letter/t/cc9497/32.png) [@T\_O](https://forum.kirupa.com/u/T_O)
#### Post date: [January 4, 2004, 7:47pm UTC](https://forum.kirupa.com/t/thought-i-take-a-shot-at-this-actionskrpt/39192/1 "2004-01-04T19:47:07Z")

</div>

[AS]  
onClipEvent(load){  
xmousePosition = this.\_xmouse;  
i = xmousePosition  
if (xmousePosition\>0)  
{  
setProperty(“sign”, \_alpha, i );  
}  
}  
[/AS]

The movie is 100px wide. I want it to set the alpha 0 to a 100% when you move your mouse from left to right.

:q: )~T-O
