0 Replies Latest reply on Feb 24, 2010 12:26 AM by yehuda1233456

    dynamic flex simple effects

    yehuda1233456

      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!