0 Replies Latest reply on Oct 29, 2007 1:37 AM by galtzur

    component creation

    galtzur
      Hello to all
      I created a new component in flash8 (actionscript 2).
      the component uses #include derictive to call "AddedForMC.as" file.
      this AddedForMC.as" file, is used to create new functions for Movieclip (using a MovieClip.prototype. FunctionName).
      When I test the component as a movieclip via the FLA it works fine.

      The problem is that when I export it to SWC file it does not.
      it is as if the #include directive is not part of the component. is this correct ?!? i tried to put the "AddedForMC.as" file also in the component directory, that did no help.

      can you help me ?

      the AddedForMc.as file is added:

      thnx.