I suppose that's possible, assuming you copy enough files but I really am not looking forward to working through all of the issues you might run into. The Flex compiler wraps your module in a bunch of code that Flash doesn't know how to do.
Fundamentally, a module is just a SWF with some other code that factories the main class. Any SWF you create in Flash can be loaded and you can put together some way to instantiate classes in that SWF, and yes, they can implement some interface. -Alex From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of ivo Sent: Friday, November 28, 2008 8:17 AM To: FlexCoders Subject: [flexcoders] Flash Modules? Is it possible to create Flash Modules that implement an interface? Meaning that they extend ModuleBase, can be loaded/unloaded at runtime and expose a predefined interface? All my development experience is with Flex & AS3 using mxmlc so I have zero Flash experience. My current project is a modular architecture Flex & AS3 but there are specific interactive behaviors that are best written in Flash. I would like to be able to incorporate them as I would with AS3 modules. Thanks, - Ivo

