开发者

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

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

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

精彩评论

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