Embedded images don't work with Modules
I have an Image component with a source set to an embedded image. When I load this module into a shell module, the image doesn't show up. Why?
I have to put an instance of that image into the shell module's codebas开发者_StackOverflow中文版e just to make it work. That shouldn't be, right?
Any ideas?
Thank you for any helpful tips!
If you're using Flash/Flex Builder to create the initial module make sure to check out the project properties (right click the project in the navigator and go to properties) and make sure the folder/file in question appears as included in the assets... well that is if you compile it as a swc... sorry possibly that's going off track. Make sure when you build the module you aren't optimizing it for a particular application that will cause it to not include resources that the application you're optimizing for also contains (project->properties->flex modules->edit->do not optimize).
精彩评论