function onAddButton()
{
var button = scene.createBox("button");
if (button)
{
button.setAttribute("id", "testButton");
button.setAttribute("label", "Added Button");
var rootBox = scene.rootBox;
if (rootBox)
{
rootBox.addChild(myButton);
}
}
}