1 Reply Latest reply on Feb 25, 2009 4:59 AM by Newsgroup_User

    Convert AS code to a Class?

      Hi, hoping someone can help.
      I'm have some problems converting the attached AS file to a Class.
      Currently I add it to a movie using #include "AS/motion_tween.as" and then call it using mc.tweenMe("linear", "_y", 0, 100, 0.2);
      Feels a bit clunky though. I'd like it to be a Class but it throws up errors when I try.