you can use the xmlns attribute either in the application tag (A) to 
define a namespace thats available throughout the mxml file, or you can 
use it just within the tag for the login dialog itself (B)

If you refer to it by code then you can just use its fully qualified 
name. (C)

A: xmlns:myNamespace="dialogs.*"

B: <myNamespace:MyComponent xmlns:myNamespace="dialogs.*"/>

C: var myComponent:ComponentClass = new dialogs.MyComponent();

i think that should be right. :)

again, on a related note I havent had success using the 'Project 
References' to allow one project to be used in another, but it did work 
if i used the Classpath settings to add the folder where the other 
project lives.

thanks,

Martin


Ralf Rottmann wrote:
> Hi there,
> 
>  
> 
> I have an MXML Component in a sub folder of the Flex (2.0 Alpha) root.
> 
>  
> 
> \MainApp.mxml
> 
> \dialogs\LoginDialog.mxml
> 
>  
> 
> The class Flex generates will be dialogs.LoginDialog.mxml
> 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/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