Re: [flexcoders] Can you put a UIComponent in a Sprite
It's not possible UIComponent [image: Inheritance]FlexSpritehttp://livedocs.adobe.com/flex/3/langref/mx/core/FlexSprite.html [image: Inheritance]Spritehttp://livedocs.adobe.com/flex/3/langref/flash/display/Sprite.html [image: Inheritance]DisplayObjectContainerhttp://livedocs.adobe.com/flex/3/langref/flash/display/DisplayObjectContainer.html [image: Inheritance]InteractiveObjecthttp://livedocs.adobe.com/flex/3/langref/flash/display/InteractiveObject.html [image: Inheritance]DisplayObjecthttp://livedocs.adobe.com/flex/3/langref/flash/display/DisplayObject.html [image: Inheritance]EventDispatcherhttp://livedocs.adobe.com/flex/3/langref/flash/events/EventDispatcher.html [image: Inheritance]Object http://livedocs.adobe.com/flex/3/langref/Object.html See inheritance of Sprite from UIComponent and probably you will gonna mad to accomplish that. regards Igor Costa On Tue, Feb 3, 2009 at 9:25 PM, Jason Ervin jason_newp...@hotmail.comwrote: 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? -- Igor Costa www.igorcosta.com www.igorcosta.org image001.gif
RE: [flexcoders] Can you put a UIComponent in a Sprite
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
[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?