开发者

How to embed a html file into an air package by using Flash Builder

I have an Air Application which uses mx:HTML t开发者_JAVA技巧o show a html Page.

This html page is located in my bin-debug and as long as i start my application out of FB it works fine.

In Project -> Properties -> Flex Build Packaging -> Package Content the test.html is selected

When I build the project by Project-> Export Release Build the HTML file is not included in the Air Package and so cannot be shown.

Any Ideas ?


Your bin-debug folder will not be compiled into your release build application.

Place the html page somewhere in an assets folder like so:

YourProjectRoot > src > assets > html > test.html

Cheers

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜