0 Replies Latest reply on Aug 19, 2006 11:42 PM by Newsgroup_User

    Component Development

    Level 7
      I'm a bit puzzled about how to import "mx.transitions" into a component. I
      have a tweening component that works to some degree but does not import the
      mx.transitions for some reason. How can I make a component import these
      Macromedia pre-built classes? I've tried adding the following code to the
      first lines of the actionscript:

      //Importing transitions and easings
      import mx.transitions.*;
      import mx.transitions.easing.*;

      //Loading the transitions
      loadTweens = new mx.transitions.Tween();

      For some reason, this works as long as it's only a movie clip, but as soon
      as I export as an SWC file and convert it to a component, it no longer

      Thanks in advance for any insight to this matter,