Sounds like there are competing definitions. The main app and the
library.swf probably have different versions of UIMovieClip.
thanks for trying to help.
if this is the case, why it happens only when i load the library.swf file from an http location instead of a local location ?
how can i make sure that my adobe flash has the same UIMovieClip version?
Run link-reports and check the data on UIMovieClip. The SWC should have the
same data in the catalog.xml
You might be running into an applicationDomain problem where when you load
from another domain, the applicationDomain parameter on LoaderContext is
ignored because the swf is sandboxed.
I resolved the issue by extending the library assets of flash with MovieClip instead of UIMovieClip.