Thank you for your help, developing flex projects all of then components are
available.

 

dennis

 

From: [email protected] [mailto:[email protected]] On
Behalf Of Gordon Smith
Sent: Tuesday, October 20, 2009 2:09 AM
To: [email protected]
Subject: RE: [flexcoders] 2 strange issues for begginer in action script ref

 

  

Issue 1: It looks like you want to create a Flex button. If so, you want
mx.controls.Button, not mx.core.ButtonAsset. But you can't take a Flex
Button and have it work inside a plain old Sprite, which is what a pure
ActionScript-based app is. Flex is an application framework, and Flex
controls expect to be inside of Flex containers. So you have to start by
creating, in MXML, an <mx:Application> or an <s:Application>. Once you have
that, you can do everything else in AS rather than MXML if you really don't
like MXML. But it's a lot easier to just write <mx:Button>.

 

Issue 2: Again, it looks like your problem is that you're expecting Flex
controls to work inside of pure ActionScript apps.

 

Gordon Smith

Adobe Flex SDK Team

 

 

Reply via email to