eliddell
01-28-2009, 04:01 AM
i just watched a video tutorial online..
and used their exact code and watched it work for them but it doesn't work for me..
the code:
bg.addEventListener(MouseEvent.MOUSE_DOWN, doDrag);
function doDrag(e:MouseEvent):void{
stage.window.startMove();
}
the tutorial:
http://www.gotoandlearn.com/play?id=41#
the error i get :
"1119:Access of possibly undefined property window through a reference with static type flash.display:Stage.
and used their exact code and watched it work for them but it doesn't work for me..
the code:
bg.addEventListener(MouseEvent.MOUSE_DOWN, doDrag);
function doDrag(e:MouseEvent):void{
stage.window.startMove();
}
the tutorial:
http://www.gotoandlearn.com/play?id=41#
the error i get :
"1119:Access of possibly undefined property window through a reference with static type flash.display:Stage.