AS3: Setting alpha on parent sprite without affecting sprites children

Posted by Tinelise on Stack Overflow See other posts from Stack Overflow or by Tinelise
Published on 2010-03-12T07:41:58Z Indexed on 2010/03/12 7:47 UTC
Read the original article Hit count: 233

Filed under:
|

Stupid question I guess, but I haven't managed to find the answer yet :)

If I change some value for a parent sprite, the same value will affect all of its children. So if I set alpha or width on the parent, the child will automaticly get the same value.

Is there some way I can prevent that from happening?

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about as3