PDA

View Full Version : Run swf (not html)


Ruben
02-02-2007, 08:48 PM
Hey all,

I've just started playing around with Flex, but everytime I run a project, flex-builder opens up a html-file in which the swf is embedded.
I would like to have it open up my swf per default (like my good ol' friend Flash did).. I can't seem to find the setting in my preferences though, is this not possible whatsoever, or am I just not looking hard enough?


- Ruben

hangalot
02-06-2007, 11:30 AM
well you can just double click on the swf in the bin folder. the advantage of the html page is that it compiles whenever you save you can just refresh the html page. you could also write your own ant script

Ruben
02-08-2007, 03:14 PM
Hey Hangalot, thanks man, I appreciate it. Although it was not what I was looking for, I did manage to get it to work the way I wanted it to:

In the Flex Builder IDE, click the tiny arrow next to the RUN-button (the green circle with the play-icon in it), in the appeared menu, hit "Other...". In the dialog that appears, uncheck "Use defaults" (under "URL or path to launch") and replace the .html part in the inputfields with .swf..

That's it..


Cheers - Ruben