This content has been marked as final. Show 4 replies
I hope I'm not missing the point here, but it looks like the first issue here is to get the components working.
Are you referencing the custom components correctly?
The flexstore application uses xmlns="*" in the Application Tag. This makes it possible for HomeView.mxml, ProductsView.mxml, and SupportView.mxml to be viewable as components through the HomeView, ProductsView, and SupportView tags.
This is how I learned to create custom components.
I might try boiling down the flexstore example to bare minimum code to get the functionality you want, then build from there. The Flex2StyleExplorer is a good example of using custom components in a ViewStack.
That is it. You are right on the money. Adding the xmlns="*" to the Application Tag did it. Spent two days to resolve this issue - Thank you so much for your response.
Anytime! Glad I could help!
I have a little tiny bit of OOP background, but I'm new to Flex also.
If you ever find out how to make functional buttons appear within the tabs of a Tab Navigator, please let me know! :)
If you're using FlexBuilder, hitting Ctrl-Space at the end of (or in the middle of) the custom tag name will complete the tag name and fill in the xmlns entries for you.
If you're doing it by hand using the sdk you're on your own, though :)