Hi,

Alloy it would be
PHP Code:
onClipEvent (load)
{
    var 
fNum:Number _root.Target._x;
}

onClipEvent (enterFrame)
{
    
fNum _root.Target._x;
    
this.gotoAndStop(fNum);

if you were declaring the variable outside of the movieclip then it would be referenced using _root.fNum or _parent.fNum