actionscript 3 - How to get only the parent of the parent of the component -


i trying apply glow filter parent container of parent container of child, event comes child.

so: [parent] has [another parent] has [child]

event fired child , want top level parent.

i have tried:

targetowner.parent.parent.parent.filters = [glow]; 

but applies glow parent containers , need top level one, possible achieve way? appreciated. thank

you cant have parent glow child not. should divide parent 2 mocievlips, 1 have non-glowing childs, other have glowing parts of parent.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -