Quantunet.com

My Account

Joins Us
Flash 8 Actionscript 2.0 Knowledgebase
Showing The Mouse Coordinates  

Download .fla

Actionscript

onMouseMove = function (){

coords_mc._x = _root._xmouse;
coords_mc._y = _root._ymouse;

coords_mc.coordx = _root._xmouse;
coords_mc.coordy = _root._ymouse;

updateAfterEvent();
}


How The Actionscript Works



star_mc.onEnterFrame = function() {

 

onMouseMove = function (){

coords_mc._x = _root._xmouse;
coords_mc._y = _root._ymouse;

coords_mc.coordx = _root._xmouse;
coords_mc.coordy = _root._ymouse;

updateAfterEvent();
}



© 2008 Quantunet LLC All Rights Reserved | Intellectual Property | Terms of Use | Privacy
Home | About Quantunet | FAQ's | Contact Us