开发者

Flex 4.5.1 runtime errors, ant task compiling

I am having problems with my ant task or my Flex 4.5.1 compiler configuration.

I debug my app with the same Flex builder version (4.5.1) with Eclipse and there are no problems. I build my Flex app with Jenkins and the Flex 4.5.1 SDK.

There are no compilations errors but when I start the built app, I am having runtime errors that seemed to be related with some of my embedded images. The error messages look like

ReferenceError: Error #1065: The variable ApplicationBackgroundSkin__embed_mxml__images_bg_png_8开发者_C百科7911483 is not defined.

I have an ApplicationBackgroundSkin class with :

<s:BitmapFill source="@Embed('/images/bg.png')" fillMode="repeat"/>

I found this link and I supposed it could be a localization or ressource bundle problem as I compile my app using the "FR_fr" locale but I didn't find what I was supposed to do to solve it.


I just had the same problem, turns out that in the .actionScriptProperties file the targetPlayerVersion was set to 0.0.0 in the compiler tag. So changed it to 10.0.2 and fixed the problem

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜