SF_INLINE bool CreateEmptyMovieClip(GFx::Value* pmc, const char* instanceName, SInt32 depth = -1);
CreateEmptyMovieClip creates an empty MovieClip and attaches it onto the parent MovieClip. This method behaves the same as the ActionScript 2 MovieClip.createEmptyMovieClip method.
Parameters |
Description |
GFx::Value* pmc |
Pointer to a Value to hold a reference to the newly created MovieClip. |
const char* instanceName |
Name of the MovieClip instance created. |
SInt32 depth = -1 |
The depth of the newly created MovieClip. |
True if an empty MovieClip was attached; false otherwise. The method will also return false if the parent display object does not exist on the stage or it is not a MovieClip.