Theodore Lehr wrote:

> I am working on my first flex file - just a simple thing displaying a few 
> components... nothing interacting with data or anything yet... I can open it 
> directly by double clicking on the .swf file and it opens in the player 
> fine... I try to load the .swf file in the browser and it does not display - 
> no errors or anything - just shows nothing...
---------------------------------------------------

I have a better solution, courtesy of Mark Jonkman, the best Flex
programmer I know (I suspect Colin Holgate is right up there with
Mark, but I haven't seen him work in Flex).

This is for Windows only--there may be a similar process on the Mac,
but I don't know it. I've also only done this with FB4, and I don't
know if it will work with earlier versions of FB.

In the control panel, open Administrative Tools and run Internet
Information Services Manager. In rhe panel on the left, drill down to
Default Web Site.

Right-click and choose Manage Web Site -> Advanced Settings. Dbl-click
Physical Path and browse to your Flex project. Click Ok.

Still in the Default Web Site window, dbl-click HTTP Response Headers.
On the right, click the "Set Common Headers" link and click Expire Web
Content immediately. The proces will work without this, but I think it
forces the browser to refresh.

Now, directly from Flex, select your project and run or debug it. It
will run in the browser, as if it were online. If you have break
points set, it will drop into the debugger midstream. In case of a
crash, you can click on the debug tab and see the call stack, get the
current value of variables and expressions, and the like.

This might also work in Flash. I'm going to be trying it in a day or two.

Cordially,

Kerry Thompson

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to