method alert

object alert(string message,string title,int32 size);

Argumente

Zurückgegebener Wert

This method will pop a modal alert dialog. This is a very simple dialog. The return value is an object with the following properties:
For more options use the openDialog method. See the scene::openDialog documentation for more information.
function onSample()
{
    scene.alert("Hello world", "title", 1);
}