I imported an .fxp project into a Flash Builder and then observed there are 5 .mxml files in the src/(default package) directory. Silly question — how to run each of these five files?
Since I’ve named the project differently than any of the .mxml files, whenever I try to run something it uses the default (empty) .mxml file named after the project. Deleting that empty mxml file didn’t help anything. I also tried to clean the project, but nothing changes (although I see the directories refresh with the same contents). There are no html files in the bin-debug directory.
There must be some simple way to run those .mxml files that I’m missing. I’m fairly new to Flex so it is probably something obvious. Thanks in advance for any hints.
If you have multiple main application files, then:
Right click on the file and select “set as default application.” This will allow you to create a run/debug profile for that main application file. Once you have created a run/debug profile; you can move onto the next main application file and do the same. Repeat until you’re out of main application files.
If you only have one main application file, you can bring up project properties, go to the Flex Application tab, select your main application file, and use the “set as default” button.