1 Reply Latest reply on Jun 3, 2007 2:15 PM by JabbyPandaUA

    Why Flex developers use mx prefix?

      I'm new to Flex and I like what I'm learning.
      I come from XUL and I know a little bit about Windows Presentation Foundation. What I don't understand is why manuals and tutorials use mxml with the mx prefix. I think it should be better don't use any prefix for the mxml, but only for custom components.

      <?xml version="1.0" encoding="utf-8"?>
      <Application xmlns=" http://www.adobe.com/2006/mxml" layout="absolute">
      <Button x="68" y="26" label="Button"/>
      <CheckBox x="172" y="28" label="Checkbox"/>
      <Label x="68" y="221" text="Label"/>
      <TextArea x="111" y="220"/>

      It is clearer and it the same approach followed by other xml languages like XUL or XAML. Why don't do the same with MXML? Is there some technical reasons I don't know?