Perhaps...
event.currentTarget;
private function mouseOverHandler(event:Event) {
trace(event.currentTarget);
}
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/Event.html#currentTarget
Charles P.
On Dec 17, 2007 1:10 PM, dave matthews [EMAIL PROTECTED]
wrote:
hi all,
What is the correct syntax to target any named symbol on stage, please?
Looking for the event target or something like that - just can't find
the exact syntax to look it up in Moock's book!
The app has many named symbols on stage, trying to use same 'widget' to
drag/resize/rotate/etc. It's painful to code each individually with
listeners etc. or dive into each symbol and pasting the frame with the code
and buttons inside each... i'm seeing a pattern here and wish to use the
same 'widget' to act on any symbol.
Read about targeting the 'victim' of a mouse over for example:
pseudo code:
addEventListener.target.eventTarget(MouseEvent.MOUSE_OVER,
set_targetname_to_var);
thanks,
Dave Matthewshttp://www.2GoTo.com
_
Share life as it happens with the new Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders