问题
i am new to Blackberry application development. now i am trying to make new app using adobe flex4.5 for Blackberry TabOS.. can anyone please guide How to create dialog box and how to call another screen by clicking on button????can anyone give sample code for the same...?
i am trying this code:
private function showLoginDialog():void
{
login = new LoginDialog();
login.title = "Device is locked";
login.message = "Please enter your username and password:";
login.addButton("OK");
login.addButton("Cancel");
login.passwordPrompt = "password";
login.rememberMeLabel = 'Remember me';
login.rememberMe = true;
login.dialogSize= DialogSize.SIZE_SMALL;
login.addEventListener(Event.SELECT, dButtonClicked);
login.show(IowWindow.getAirWindow().group);
}
it showing error as Access of undefined property dButtonClicked.& Access of undefined property group -Access of undefined property IowWindow
can any one please help me to remove this error..?
Thanks in Advance---
回答1:
find the following documentation link:
http://docs.blackberry.com/en/developers/deliverables/23959/
http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Flex-for-the-BlackBerry-PlayBook-in-90-Minutes/ta-p/720803
来源:https://stackoverflow.com/questions/6501759/how-to-create-dialogbox-in-blackberry-tabos-how-call-next-screen-after-click-o