Skip to main content
Known Participant
August 27, 2009
Question

MXML Multi-Package Namespace

  • August 27, 2009
  • 1 reply
  • 1064 views

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 has been closed for replies.

1 reply

August 27, 2009

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.

viatroposAuthor
Known Participant
August 28, 2009

thanks, that works fine.