Recast event as a display object to access the name string:
catching a mouse event name
trace(DisplayObject(evt.target).name)//displays object instance name, like button1
My collection of thoughts and comments concerning the future of the internet. Not to mention the future of all of us.
No comments:
Post a Comment