Thank you J!

 

I delayed because I am too busy =)

 

dennis

...we are what we are doing...  P Think! before you print. 

 

From: [email protected] [mailto:[email protected]] On
Behalf Of flexaustin
Sent: Monday, October 12, 2009 8:24 AM
To: [email protected]
Subject: [flexcoders] Re: 2 strange issues for begginer in action script ref
REFdn4045341518

 

  

You need to import the Button so

import mx.controls.Button

But I think your main issue is that you can't create a Sprite component and
put mx components inside of it. You need to use UIComponent as your base
instead of Sprite. I believe you can go lower down the inheritance chain to
FlexSprite (don't quote me on the name I don't have my Flex posters in front
of me). But even if you use FlexSprite you have to implement a lot of
Classes and write a lot of functions (override possibly) to make FlexSprite
work so its just best to go with UIComponent.

J



 

Reply via email to