flash AS question

Out of context: Reply #17

  • Started
  • Last post
  • 40 Responses
  • CygnusZero40

    Wait you guys are giving me code for 2 different things here. Im using mctween, not tweenlite.

    Im using this code--
    #include "mctween_2_28_29.as"
    //Start off at 150% scale
    myClip._xscale = myClip._yscale = 150;

    //Scale to 0% over 5 seconds
    myClip.scaleTo(0, 5, "linear");
    //The easing equation can be many different things.
    //Look up those string values ("easeOutQuart", "linear", etc) here >
    //http://hosted.zeh.com.br/mctwe...

    //fade in 0 > 100% alpha
    myClip._alpha = 0;
    myClip.alphaTo(100, 1, "linear");

    //fade out at end
    myClip.alphaTo(0, 1, "linear", 4);
    // the last parameter 4 is the delay value. So it'll fade out after 4 seconds.

    And I have the AS file sitting with my FLA, but it still tells me that there is an error opening the include. There's something wrong still.

View thread