I have several component which use various assets, images, and some SWF's for several components. These are all build into a Flex Library project, for example TestLib.swc
I access the assets like this for example. TestComp.mxml <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" backgroundImage="assets/backgrounds/application- background.jpg"> . . . <mx:SWFLoader verticalCenter="0" left="0" right="0" source="com/login/assets/login_animation.swf" scaleContent="false" autoLoad="true"/> . . . <mx:Canvas/> Both of the application-background.jpg and the login-animation.swf are included in the SWC file. The problem arises if I use TestComp in an application that includes the SWC file. It never loads the assets correctly. I can get this to work if I Embed the assets, but in some cases I cannot do this because I don't know the image names for specific components until runtime. Anyway to get this to work without using the Embed tag?

