for example this class:
class BaseInputDelegate extends Ui.BehaviorDelegate {
var dialog;
// Handle menu input
function onMenu() {
return pushDialog();
}
// Handle select button
function onSelect() {
return pushDialog();
}
function pushDialog() {
dialog = new Ui.Confirmation(dialogHeaderString);
Ui.pushView(dialog, new ConfirmationDialogDelegate(), Ui.SLIDE_IMMEDIATE);
return true;
}
function onNextPage() {
}
}
If I want to use "pushDialog()" from the above class how can I do this?
function myFunction(){
//Something happens here
pushDialog();
}
Thanks!