views:

354

answers:

3

I've got an old flex builder 3 project that I imported into Flash Builder 4, and I want this project to run its web applications in my web browser. However, the apps persistently run in the Flash Player instead. This is causing no end of problems because of the flash player bug documented at https://bugs.adobe.com/jira/browse/FP-209.

How can I make a project's apps run in the browser instead of the player?

+3  A: 

In your debug configurations, make sure that the url or path to launch points to the html file that the swf is embeded in, not the swf itself. You can reach the debug configuration menu by clicking the little arrow next to the debug bug icon... (and probably some other way, but i always use that menu).

quoo
I can see that in the run/debug settings now, but it's pretty weird to me that it's happening at all. I'm creating these run/debug configurations right now, and they all point at the .swf file instead of an HTML file. And yet, for other projects, they point to the HTML file. I want to know why that's happening so that I can prevent it.
Chris R
+4  A: 

This issue can be caused by HTML generation being disabled. In the project property panel:

Screen Shot of the settings

Chris R
A: 

Hi,

I have the opposite problem - I want the default player to be flash player and I don't want my swf to open in the browser. I unchecked "Generate HTML wrapper file", and now swf now plays in Flash CS4. Where can I specify what program should be default for playing my swf?

Thanks!

mango
You should post follow-up questions as a separate thread, notas an answer. After all, it doesn't really answer *this*question. Also more people would see it and try to answer if you post it asyour own question.
sth
you uncheck generate HTML wrapper in the flash builder settings, but you have to tell your computer to target the standalone flash player because by default .swf files target Flash Professional.on mac os: right-click on any .swf file and choose "get info". in the info panel, under "open with", choose the standalone flash player and select "Change All..." so that all .swf files will open in the standalone flash player instead of just this file.i don't know how to do this in windows os, but i assume it's similar.
TheDarkInI1978