Does your parent sprite have 6 displayobjects in it? If the 6th position is not available, you can't add it to that "layer".
If it works when adding to the stage, you must have atleast 6 displayobjects on the stage. ------Original Message------ From: Lehr, Theodore Sender: [email protected] To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] addChildAt Sent: Mar 5, 2010 7:54 AM Why can I (seemingly) not do: parentSprite.addChildAt(childSprite,6); seems like I can only do: parentSprite.addChild(childSprite) or addChildAt(childSprite,6); _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer [email protected] 254.749.2525 www.mynarcik.com _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

