0 Replies Latest reply on Oct 8, 2010 6:13 PM by aktell2007

    Converting Xml object strait to AS3 ....

    aktell2007 Level 1

      Hi there,

       

      I would like to find out a strait convertion from this Xml object to AS3 which would have to be

      the same (outcome / use / readout) as code below including a Http call !!!

       

      NO, Combobox or a List !!! Strait forward to be used in a function() or in a text="",  title="" or label="".

       

      <mx:XML id="urlsOceania" source="com/assets/Xml/ENOceania.xml"/>

       

      <mx:Script>
           <![CDATA[

                private function name():void {
                     nameType.source = urlsOceania.urlOceania.(@urlID==1).nameCountry;
                }

           ]]>
      </mx:Script>

       


      And used in Mxml as well:

       

      <mx:Panel title="{urlsOceania.urlOceania.(@urlID==1).prefix}">

       

      Thanks in advance aktell2007