method insertChildAt

bool insertChildAt(box child,int32 index,string type);

Argumente

Zurückgegebener Wert

This method will add a child box to this box at the given child index. The box can be inserted with one of the following types:

var cont = scene.getBoxById("theBox");
if (cont)
{
    var bx = scene.createBox("customTag");
    // ... setup tab attributes here ...
    cont.insertChildAt(bx, 3);
}