Callback Return Object

The callback return object is a copy of the callback parameters object that is returned to the callback function for asynchronous commands.

Any properties specified on the callback parameters object will be available in the callback function on the callback return object.

Example: passing extra data to a callback function using the callback parameters object

ssCore.App.showMsgBox({prompt:"Begin test?", buttons:"YESNO"}, {callback:"answer", scope:this, id:4, title:"How CSS can help you"});

function answer(return_obj,callback_obj,error_obj)
{
    if (return_obj.result == "YES")
    {
        test_mc.loadMovie("test" + callback_obj.id);
        title_txt.text = callback_obj.title;
    }
}