I'm just starting to fool around with as3 and having a little fun with
computeSpectrum. I keep getting an error when I try to removeChild.
I'm using the Flash CS3 trial and setting the document class to
mySpectrum. Any help/explanation would be greatly appreciated. Thanks
in advance
Here's
Maybe I'm wrong, but I don't think DisplayObject works like that. You
could create a new DisplayObject, but I don't think DisplayObject(param)
does anything. I think you're either creating a new DisplayObject or
creating a null object, and either way, it's not going to be a child of
your
farrell
Sent: Thursday, April 26, 2007 11:34 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] removeChild error
Maybe I'm wrong, but I don't think DisplayObject works like that. You
could create a new DisplayObject, but I don't think DisplayObject(param)
does anything. I
@chattyfig.figleaf.com
Subject: Re: [Flashcoders] removeChild error
Ugh that's too bad. It looks like in the Event class the target is
typed as an object, so you can use it as an object, but not as an
InteractiveObject or more specifically a DisplayObject.
But the fact you can use it as an object
4 matches
Mail list logo