On 11/3/05, Daniel Cascais <[EMAIL PROTECTED]> wrote: > I've just started playing around with Flex 2's alpha and AS 3, so I > might be missing something. > > Are we [going to be] able to build code-only Flex apps, using Flex > components without a single line of MXML?
You'll need some setup MXML, like so: <Application initialize="main()"> <Script source="main_script.as" /> </Application> In your main_script.as you write your main function (which is an instance method on the Application-derived class). From there it's all yours. It'll be hard to do it without a _single line of MXML_ -- there's just so much setup code required (see the "-generated.as" file) that it's not work writing by hand. ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/