resetChild(child, x, y, key, frame) → {DisplayObject}
Takes a child and if the x and y arguments are given it calls child.reset(x, y) on it. If the key and optionally the frame arguments are given, it calls child.loadTexture(key, frame) on it. The two operations are separate. For example if you just wish to load a new texture then pass null as the x and y values.
Parameters
Name Type Argument Description child DisplayObject The child to reset and/or load the texture on. x number <o