Flash Builder 4.6 always shows blank html page on

2019-04-09 02:26发布

Flash Builder 4.6 always shows blank html page on run in Google Chrome. I have tried everything but nothing works.

Kindly help.

3条回答
时光不老,我们不散
2楼-- · 2019-04-09 02:54

I got the solution, there is a security issue with chrome when html page runs on Chrome browser, So We need to set use-network=false in Flex Compiler option in the Project Properties and everything of .swf backs on stage.

查看更多
神经病院院长
3楼-- · 2019-04-09 02:58

If you want to just quickly test the actual SWF build, you could turn off the 'Generate HTML wrapper file' for you project. This will cause any debug or run to use the currently installed standalone flash player to be used for preview.

To do this - right click on your project in the package explorer window, choose properties, then Flex Compiler and then just un-tick 'Generate HTML wrapper file' under the HTML wrapper section

查看更多
狗以群分
4楼-- · 2019-04-09 03:06

Simple answer: Do not use Chrome for debugging Flash Builder projects.

For debugging, do this:

  1. Go into the Debug Configurations (Run > Debug Configurations)
  2. Find the configuration for the current project
  3. Under "URL or path to launch", uncheck "Use default" and browse for the SWF (html is default). This will open the debug in the actually Flash Debug Player instead (as it happens in Flash CS)

or

  1. Open your Flash Builder/Eclipse Preferences
  2. Filter for "browser" and change any items that appear to another browser. I have had issues with Internet Explorer in the past, so I would stick to Firefox or Safari.

In my experience, this issue is almost always limited to the Debug Mode. I've experienced it once or twice with a Release Build, but the issue was, in the end, caused by the generated HTML, not by the SWF file itself.

查看更多
登录 后发表回答