I'm new to Flex, and I don't like how you should write the mx namespace: for every control entry that you write. This makes a code violation. I would like to write:
<Panel ...
but not
<mx:Panel ...
I tried to write
xmlns="http://www.adobe.com/2006/mxml"
for top level item instead
xmlns:mx="http://www.adobe.com/2006/mxml"
In the top level ad. This work to some extent, but broke some existing code. First, the XML data that is defined in the document is added along with aaa: as a namespace at runtime. I also noticed other problems in my very small sample program.
Is there a way to do this, that works, or is this a lost thing? And some background information on why you should evaluate.
: , -, , , . , , . , . flex. , , , , . , , , HTTPService, :
<HTTPService id="service" url="http://blah.com"
method="POST" result="gotResult(event)">
<request xmlns:p="*">
<p:param1>p1</p:param1>
<p:param2>p2</p:param2>
</request>
</HTTPService>
, -. , , , html . , mx: , , . , , , , - , - . : , , " ", , ?