view.x=stage.stageWidth/2;
view.y=stage.stageHeight/2;

and the enterFrame

function enterFrame(e:Event):void
{

view.render();
trace("this is the xPos: " +view.mouseX + " this is the yPos: " +
view.mouseY);

}


2011/2/1 Peyvand Akhoundzadeh <[email protected]>


> hi guys, i want that mouseX in center of stage is 0.
> thanks you
>
>
>
>
>
> <https://lh6.googleusercontent.com/_LgyXtbJz8Ds/TUe4IiYIpBI/AAAAAAAAABY/YyaPVu-1doU/m.jpg>
>

Reply via email to