4 Replies Latest reply on Mar 1, 2011 3:25 PM by Flex harUI

    Change X and Y of Image during Runtime

    EMelville Level 1

      Hello,

       

      I have a complicated question with a possible simple answer. I want to change the selected object that I want to move during runtime.

       

      My code below throws this error:

      1137: Incorrect number of arguments.  Expected no more than 0.

      My Code:

      myMove.target = new Object (lblSelected.text); // Throws Error

      myMove.yTo = 200;

      myMove.play();

       

      Thanks!