# Updating Flash 8 code to CS3 Professional..help!

**URL:** <https://forum.kirupa.com/t/updating-flash-8-code-to-cs3-professional-help/234942>\
**Category:** flash\
**Created:** [August 7, 2007, 10:47am UTC](https://forum.kirupa.com/t/updating-flash-8-code-to-cs3-professional-help/234942 "2007-08-07T10:47:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maggs83](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@Maggs83](https://forum.kirupa.com/u/Maggs83)\
**Post date:** [August 7, 2007, 10:47am UTC](https://forum.kirupa.com/t/updating-flash-8-code-to-cs3-professional-help/234942/1 "2007-08-07T10:47:30Z")

</div>

Hi all,  
I am coding a piece of Flash in CS3 Professional to create the effect, that i found at [COLOR=#008000][www.kirupa.com/developer/flash8/video/ **magic\*\*\*\*Cursor**.htm](http://www.kirupa.com/developer/flash8/video/magicCursor.htm) [/COLOR][COLOR=#008000]but as this code is for Flash 8 its not working for me. The error appearing is this: [/COLOR]  
[COLOR=#008000][/COLOR]  
[COLOR=#008000]Description: 1120: [/COLOR][COLOR=#008000]Access of undefined property \_root. [/COLOR]  
[COLOR=#008000]Source: fader\_mc.\_alpha = Math.round(\_root.\_xmouse/550_100);[/COLOR]  
[COLOR=#008000][/COLOR]  
[COLOR=#008000]The code in actions layer is:[/COLOR]  
[COLOR=#008000][/COLOR]  
var mouseInterval = setInterval(changeAlpha,10);  
function changeAlpha() {  
fader\_mc.\_alpha = Math.round(\_root.\_xmouse/550_100);  
}

Can anyone help??

Cheers,  
Mags
