开发者

Embed image in flex? Export -> release build not working.

I've a flex application which has actionscript file, images. When i run this in adobe flash builder, 开发者_Go百科everything works. When i export it as a release build and run in other file, swf does not show images and interactivity of flex components is also lost.

Is there a specific way to embed images?

Here is image code,


I don't see your code, but I've had similar issues before. The trick is to reference the image starting with a forward slash '/' in the path. For example, if the image is located at 'img/test.png' then use '/img/test.png' as the embed source path. You should also check to make sure the image is included in your build path.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜