Just make a new project. You'll need to change the root tag from
<mx:Application> to <mx:Module> for a MXML project, or change the base
class of an ActionScript project from flash.display.Sprite to
mx.modules.ModuleBase because FlexBuilder doesn't know about modules
directly.
(There is some odd asymmetry in the FB project structure in that you can
add a new "MXML Application" (which could be a module) to a MXML project
- its a many-to-one relationship, but you can't add a new AS Application
to an AS project, its always one-to-one.)
-rg
________________________________
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of phillips1021
Sent: Monday, January 08, 2007 5:13 AM
To: [email protected]
Subject: [flexcoders] Re: Compiling modules
Great question. I've run into the same problem. How do you use
Flex
Builder to compile just the module?
The only work-around I've found so far is to right-click on the
module
name in the navigator panel and select Run As Flex Application.
This
command will create a .swf and .html files for the module and
try to
load it in the browser (where nothing will display).
It's not the best solution and I hope someone posts a better
one, but
it is all I've found to work so far.
I did search through the Flex 2.0.1 help files but did not find
anything.
Bruce