Namespaces are relative to your application file or your mapped Actionscript
classes directoy.

If the namespace you defined is relative to your application file then you
reference it the same way you would as if it was in the same directory.




-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Fitzpatrick
Sent: Tuesday, November 22, 2005 3:47 PM
To: [email protected]
Subject: [flexcoders] Namespace syntax

I'm using a button called treeButton to open a custom component called 
TreeWindow (based on the TitleWindow).

TreeWindow is located in the namespace xmlns:mk=com.company.components.*

Here's how I would call it if the component were in the same directory:

mx.managers.PopUpManager.createPopUp(treeButton, TreeWindow, isModal,
initObj);

Replacing "TreeWindow" in the above code, how do I point to the component 
in correct namespace?

- Tom







--
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 --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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