I am working with library that is all AS3 and is Sprite based to keep
the overhead down. I would like to put more expressive items (flex
components) in the application without hand coding them all. 

J


--- In [email protected], "Ryan Graham" <ryan.gra...@...> wrote:
>
> 
> Sure it's possible... Sprite.addChild() takes a DisplayObject as a
> parameter, and both Sprite and UIComponent are DisplayObjects:
> 
>  
> 
> UIComponent  FlexSprite
> <http://livedocs.adobe.com/flex/3/langref/mx/core/FlexSprite.html>  
> Sprite
> <http://livedocs.adobe.com/flex/3/langref/flash/display/Sprite.html>  
> DisplayObjectContainer
> <http://livedocs.adobe.com/flex/3/langref/flash/display/DisplayObjectCon
> tainer.html>  InteractiveObject
> <http://livedocs.adobe.com/flex/3/langref/flash/display/InteractiveObjec
> t.html>  DisplayObject
> <http://livedocs.adobe.com/flex/3/langref/flash/display/DisplayObject.ht
> ml>  EventDispatcher
> <http://livedocs.adobe.com/flex/3/langref/flash/events/EventDispatcher.h
> tml>  Object <http://livedocs.adobe.com/flex/3/langref/Object.html> 
> 
>  
> 
> Can't say flex will like it so much though. What are you trying to do?
> 
>  
> 
> HTH,
> 
> Ryan
> 
>  
> 
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Jason Ervin
> Sent: Tuesday, February 03, 2009 4:26 PM
> To: [email protected]
> Subject: [flexcoders] Can you put a UIComponent in a Sprite
> 
>  
> 
> Is it possible to put a UIComponent in a Sprite? I assume not since
> Sprite is lower on the chain and since it doesn't contain the timeline.
> 
> Yes? No?
> 
>  
> 
> 
> 
> This message is private and confidential. If you have received it in
error, please notify the sender and remove it from your system.
>


Reply via email to