Skip to main content
Known Participant
Aug 27, 2009 9:39 PM UTC
Question

MXML Multi-Package Namespace

Is it possible to do multiple packages in a single namespace in MXML without making a library project?

<Application xmlns:myViews="package.one.*,package.two.*,package.three.*">

That would be very useful because I keep my views in different packages (by use-case or whatever), and I end up having sometimes 10 namespaces like that.  If I could merge them into one, that'd be nice.

Thanks for the tip,

Lance

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Aug 27, 2009 10:53 PM UTC

Oh, Lance, why do you want to make me cry?

It's been considered, but didn't make the schedule for MXML 2009. In the meantime, you can make your own manifest files, and map them to a single URI namespace in your flex-config or app-config file.

Ely.

Translate
viatroposAuthor
Known Participant
Aug 28, 2009 3:14 AM UTC

thanks, that works fine.

Translate