Within a package you may need to still refer to your other components as if they were packaged.  I believe if you treat a class as a component you need to reference namespaces relative to the application root, not yourself.

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of Sauro, Nick
Sent: Friday, July 29, 2005 7:40 AM
To: [email protected]
Subject: [flexcoders] packaging components

 

Hey, I am having an issue with packaging components, that I can’t seem to resolve.

 

 

I have my main application , and then under that directory I have a few folders for various components used in the app(search, news, email, etc)

 

Now, inside say, the search package, I can use xmlns=”*”, and then reference all my search components from other components in that same directory.

 

Now, if I go back to my main app, and I do xmlns:srch=”search.*”, I can use components in the search package, which do *not* have any references to other search components

(eg:  I have a searchbutton, which doesn’t have any other components), that I can use fine from the main.  However, when I try to reference a more complex search component(SearchPanel, which has a textinput and a SearchButton instance), it will not work, and I get the errors that look like

 

Don’t know how to parse element SearchPanel, it is not a property of TabbedNav etc etc.

 

Any ideas to why im getting this?  I have tried a few things like using a manifest file, but they haven’t worked.

 

Thanks in advance everyone.

 




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




SPONSORED LINKS
Computer software testing Macromedia flex Development
Software developer


YAHOO! GROUPS LINKS




Reply via email to