1 Reply Latest reply on Feb 25, 2010 9:03 AM by Gregory Lafrance

    reffering flex simple effects from actionscript

    yehuda1233456 Level 1

      good morning everyone I have 2 question

       

      1.how can i check if object is exist?

      if(is_boject(myItem)){

           trace('true')

      }

       

      2.

      i'm looking for a way to cause element  to do flex simple effect true the script

       

      <mx:Parallel id="over1">

        <mx:Zoom duration="200" zoomHeightTo="1" zoomWidthTo="1"/>   

      </mx:Parallel>

       

      <mx:Script><![CDATA[

       

      public function itemOver(event:MouseEvent):void {

      //the right code instead of the following 

      myItem.pleaseDoMyEffect('over1')

      }

      ]]></mx:Script>

       

       

      thank you!