Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 3.2 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Found in 3.2.0-3958
Steps to reproduce:
1. Create Flex Project
2. Set embedded backgroundImage to Application (backgroundImage="@Embed(source='background.jpg')")
3. Compile
4. Deploy to a web server
5. Launch application with LiveHTTPHeaders or HTTPFox and see 404 request for <deploy path>/@Embed(source='background.jpg')"
Actual Results:
404 request for @Embed(source='background.jpg')"
Expected Results:
Not to have a 404 for @Embed(source='background.jpg')". Either the embedded image should be accessible to the preloader as a backgroundImage, or preloader shouldn't use the @Embedded image. As it is, the compilation process creates _<Application>_mx_managers_SystemManager-generated.as with an info() method returning an object containing backgroundImage: "@Embed(source='background.jpg')", which then gets passed down to Preloader and results in a 404 trying to load this "path".
Workaround (if any):
Don't embed the image, or use a Container under the Application with this image embedded instead of doing it at the Application level.