Hi,

I'm investigating the way to create some UI controls without use any
MXML, only AS3 in the new Flex 2.0 Beta 1. I don't know if this is
possible since I read some post out there and it seems we need to
create a minimun MXML in order to get it work.

I already add the framework SWC to my test project:

${FRAMEWORKS}\framework.swc

and trying something like :

import mx.controls.Button;
...
var b1:Button = new Button();
b1.label = "My First Button";
addChild(b1);

when I compile I get an increment in my SWF of +-150k, so I guess the
framework is already there, but I can get the button to display





--
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/
 


Reply via email to