3 Replies Latest reply on Sep 28, 2011 9:35 AM by Craig Grummitt

    Shared Library reference error (1065)


      Hi everyone,


      I'm using Flash CS5 (AS3) for my main application, and I need to load multiple swf files (childs) at different times. The  swfs (childs) import assets from a separate flash swf used as a shared library. I'm using 1 swf loader to keep 1 swf loaded at a time.


      Loading the first swf works fine, but loading subsequent swfs generates an error in importing from the shared library swf.


      Here's an example of an error:

      "ReferenceError: Error #1065: Variable myComponent is not defined."


      Thanks in advance for any advice!