Copy link to clipboard
Copied
I'm currently using addChild to make snow appear, but it is displayed above all other layers...
how could i make it like this that the addChild will get shown behind the most top layer?
try:
addChildAt(yourMC,numChildren-2);
or
addChildAt(yourMC,numChildren-3);
Copy link to clipboard
Copied
try:
addChildAt(yourMC,numChildren-2);
or
addChildAt(yourMC,numChildren-3);
Copy link to clipboard
Copied
using numchildren with -6 did it!
thanks
Copy link to clipboard
Copied
or:
if you want that otherMC on top after you add your MC:
addChild(yourMC);
addChild(otherMC);