That should work to ensure the type (avoiding the best-guess).  The best guess is there as a convenience.

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of Mercer, Dustin
Sent: Friday, June 17, 2005 1:40 PM
To: [email protected]
Subject: RE: [flexcoders] AS Array vs. MXML Array

 

Oops, that won’t work at all L  I am not sure if this will work either, but it doesn’t throw any compiler errors (but neither did the wrong one…) .  There are other ways also depending on what you are trying to do.  Are you trying to avoid AS altogether or just trying the different options?

 

<mx:Array>

    <mx:Object>

        <label><mx:String>d4</mx:String></label>

        <data><mx:Number>4</mx:Number></data>

        <bool><mx:Boolean>true</mx:Boolean></bool>

    </mx:Object>

</mx:Array>

 




Yahoo! Groups Links

Reply via email to