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
--
::| Carlos Rovira
::| http://www.carlosrovira.com
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

