Hello, I think it's infinitely more complicated but you could look at the generated actionscript files that get generated after compiling the mxml code. Use the -keep as an argument to mxmlc.
For simpler examples, in the Actionscript 3.0 Language Reference document (or the LiveDocs) there are examples that use extends the Sprite class. I find those more helpful then seeing the generated code. :) I hope that helps! Beverly On 7/5/06, Zárate <[EMAIL PROTECTED]> wrote:
Hi all, I want to start playing with AS3 so I´ve downloaded the Flex 2 SDK from Adobe Labs. I don't want to use Flex Builder, I'm interested in the free compiler. I want to keep living without the Flex Framework but seems that the mxmlc compiler *needs* an mxml file (which, by the way, make sense): "The basic syntax of the mxmlc utility is as follows: mxmlc [options] -file-specs target_file|dir [...] The file-specs options is the default option, and it is required to have a value. It refers to the target MXML file that mxmlc compiles into a SWF file." How do I create a SWF just from AS3 code without MXML files, aka Flex framework? Is this possible? Am I missing something important here? Cheers, Juan -- Juan Delgado - Zárate http://www.zarate.tv _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

