I used flex sdk4.10, when open flash, it popup error as following:
ReferenceError: Error #1065: 变量 _class_embed_css_edit_gif__816087204_2003192454 未定义。
at mx.managers::SystemManager/deferredNextFrame()[/Users/justinmclean/Do cuments/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/S ystemManager.as:286]
at mx.managers::SystemManager/preloader_preloaderDocFrameReadyHandler()[ /Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/frame work/src/mx/managers/SystemManager.as:2635]
at mx.preloaders::Preloader/timerHandler()[/Users/justinmclean/Documents /ApacheFlex4.10/frameworks/projects/framework/src/mx/preloaders/Preloa der.as:525]
Maybe it related with CSS, but i don't know the real reason, i don't know what's meaning about "_class_embed_css_edit_gif__816087204_2003192454"? Who can help me? Any suggestion will appreciate.
Thanks for the reply, i used -link-report to see whether this css gif compile to the swf, and i found that the xml has no this gif.
Finally, i found that if i change compile parameter "incremental" to false, the -link-report xml has the css defined looks like "<script name="_class_embed_css_edit_gif__816087204_2003192454.as"", and the flash will work well.
I don't know the real reason why "incremental" will impact the css? This issue only exists in sdk 4.5 later version, it is OK in sdk3.5 version. Why?
Every release tries to speed up compilation by making "improvements" to incremental compilation, which tries to minimize the number of things that need to be re-compiled. Looks like there may have been an issue with 4.5's compiler.