0 Replies Latest reply on Aug 24, 2006 3:17 PM by Ninja_Squirrel416

    Problem developing a non-v2 Component

    Ninja_Squirrel416
      I'm developing a component that does not need to conform to the v2 component spec (it will not interact with any other components, and is not skinnable).

      It looks something like this:

      class something extends MovieClip
      {
      public function something()
      {
      // Instance Initialization actions
      }

      public function onEnterFrame()
      {
      //Frame actions
      }
      }

      It works perfectly in the original fla document, but when I export it to swc, it looks like the constructor is being called every frame, and the onEnterFrame is being ignored. I have also tried onLoad instead of the constructor, but that behaves exactly the same way.

      Anyone have any suggestions before I move onto Adobe tech support?