1 Swf Loader, multiple swfs importing from shared library

Hi everyone,

I’m using Flex builder 3 for my main application (web-based), and I need to load multiple swf files built in flash cs4 (AS3) at different times. The flash swfs import assets from a separate flash swf used as a shared library. I’m using 1 swf loader in flex to keep 1 flash 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 sharedApps is not defined.”

Thanks in advance for any advice!