flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Mclean <jus...@classsoftware.com>
Subject Flex and names spaces in MXML
Date Wed, 14 Mar 2012 07:43:40 GMT

I think that you can define public namespaces in actionscript like so:
public namespace fx = "http://ns.adobe.com/mxml/2009";
public namespace s = "library://ns.adobe.com/flex/spark";
public namespace mx = "library://ns.adobe.com/flex/mx";

Is there any way we can define the common namespaces somewhere (in UIComponent??) so we don't
have to define them all the time in MXML? This may become more of an issue as we add a few
more name spaces.

Ideally it would  be nice (I think) to  just do this:
<s:Application width="100%">

Instead of:
<s:Application width="100%"

Perhaps we have the MXML compiler automatically create these namespaces if they are not defined?
(Once it gets donated of course.)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message