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: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Jason Ervin
Sent: Tuesday, February 03, 2009 4:26 PM
To: flexcoders@yahoogroups.com
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.image001.gif