0 Replies Latest reply on Feb 28, 2008 6:41 PM by jefflemon

    Add Child and Effects?

    jefflemon Level 1
      I have a button that is added through a function:

      logInButton.x = 120;
      logInButton.y = 200;
      logInButton.label = 'Submit';
      logInButton.addEventListener("click", eventListenerFunctionLogIn);
      addChild(logInButton);

      But when it is added I want an effect to occur, ive tried this:
      logInButton.creationCompleteEffect="{zoom}";

      But it doesnt seem to work