# Mouse trail code help (Flash Player 7)

**URL:** <https://forum.kirupa.com/t/mouse-trail-code-help-flash-player-7/259508>\
**Category:** flash\
**Created:** [May 6, 2008, 5:57am UTC](https://forum.kirupa.com/t/mouse-trail-code-help-flash-player-7/259508 "2008-05-06T05:57:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iMat](https://avatars.discourse-cdn.com/v4/letter/i/bbce88/32.png) [@iMat](https://forum.kirupa.com/u/iMat)\
**Post date:** [May 6, 2008, 5:57am UTC](https://forum.kirupa.com/t/mouse-trail-code-help-flash-player-7/259508/1 "2008-05-06T05:57:24Z")

</div>

Hello,

I really like the effect of this script here:  
[U][http://www.flashkit.com/movies/Effects/Mouse\_Trailers/Thin\_Fol-BuddaH-11692/index.php](http://www.flashkit.com/movies/Effects/Mouse_Trailers/Thin_Fol-BuddaH-11692/index.php)

[/U] However, being new to AS (and programming in general), I find the code difficult to understand (the lack of comments also doesn’t help).

I want to get it to work in Flash Player 8 or 9 - but I’ve noticed that it only works in Flash Player 6. I checked the variable output in the debugger menu, and I’ve noticed a lot of NaNs in the variables. I guess it’s due to the sheer number of on-the-spot declared variables used in the script.

Can anybody please modify it, or find me an alternative? I really like this effect. If someone could please go and convert it to Flash Player 8+ friendly code, and add in some comments, that would be great.

Thank you very much
