0 Replies Latest reply on Aug 2, 2010 9:09 AM by monty_hall

    nm: Unable to animate/simplemotion this.someVar.

    monty_hall Level 1

      nm.  I just rewrote it to look like the following works.

       

              <fx:Number id="frame">0</fx:Number>

             <s:Animate duration="5000" id="aaa" target="{this}">
                  <s:SimpleMotionPath property="frame" valueFrom="1" valueTo="5"/>
              </s:Animate>

       

             <mx:Text text="{frame}"/>

             <s:Button mouseDown="aaa.play();"/>

       

      Monty