What I did before was just set a member var to whatever the last window 
clicked was:

function onWindowClicked(event_obj:Object) // forwarded from mouseDown
{
    event_obj.target.setDepthAbove(activeWindow);
    activeWindow = event_obj.target;
}

----- Original Message ----- 
From: "owls_yang" <[EMAIL PROTECTED]>
To: <flexcoders@yahoogroups.com>
Sent: Thursday, August 25, 2005 3:24 AM
Subject: [flexcoders] How to get reference to current Active window?


Hello all:


I want to get reference to currently Active window. For example, 4
TitleWindows popup above an application, how could I determine which
one is currently active?

Does there exist some FlashPlayer level classes could provide static
method to get active window reference?


Thanks very much,


Owls Yang





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to