开发者

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

开发者 https://www.devze.com 2023-04-03 15:21 出处:网络
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

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

精彩评论

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