> 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.
There seem to me to be a few issues here. First, it's not clear that Ted is using Flash Builder. If he is, he should be able to just click the Run button and it'll run his content within a browser. Second, you don't need a web server to develop Flex applications (although you'll probably need a web server to develop server-side APIs for your Flex applications). But the Flex application itself can be launched directly from Flash Builder using a browser without having a web server - the browser will have a "file://" URL. Third, simply configuring your web server to point to your project directory won't change how Flash Builder launches your project. For that, you need to configure your Flex project itself to use a web server. And if you do configure Flash Builder that way, you can simply have it copy your debug (and release) SWFs to a specific directory on your web server, without any reconfiguration of the web server. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

