Has anyone been able to use code from one project inside of another? I haven't been able to get Martin's suggestion of setting the Classpath to work.
Thanks, Scott On 12/4/05, Martin Wood <[EMAIL PROTECTED]> wrote: > 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 > > > > > -- > 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 > > > Visit your group "flexcoders" on the web. > > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > ________________________________ > -- 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/