View Single Post
  #2 (permalink)  
Old 11-03-2008, 01:52 PM
LeadMagnet's Avatar
LeadMagnet LeadMagnet is online now
Mr. Tambourine Man
 
Join Date: Jun 2007
Location: Ireland
Gender: Male
Posts: 1,715
Default

An easy way is to define the variable on the root:
_root.foo = this.mouseY; // or _root.mouseY (getting the mouse coordinates is different depending on what's calling it)

Then just call the variable from anywhere by calling it from the root.
__________________
Subtlety is my middle name... and first and last in case you didn't get the point.
Reply With Quote