Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flash Builder 4.6 always shows blank html page on run in Google Chrome

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

Kindly help.

like image 883
Swati Singh Avatar asked Oct 25 '12 08:10

Swati Singh


2 Answers

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.

like image 121
Josh Avatar answered Nov 19 '22 19:11

Josh


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.

like image 5
Swati Singh Avatar answered Nov 19 '22 21:11

Swati Singh