1 Reply Latest reply on Nov 25, 2010 12:04 AM by Flex harUI

    Class properties set have a sequence?

    huangxinghui Level 1

      Class A

      {

           pubilc var arg1:String;

          

           private var _arg2:Array;

           public function set arg2(value:Array):void

           {

                this._arg2 = value;

                this._arg2.push(arg1);

           }

      }

       

      MXML Code:

      <comp:A arg1="A">

           <comp:arg2>

                <mx:String>B</mx:String>

                <mx:String>C</mx:String>

           </comp:arg2>

      </comp:A>

       

      How do i control first set arg1 then set arg2? Does the properties set have a sequence?