How to create DialogBox in blackberry tabOS & how call next screen after click on button using Adobe flex4.5?

六月ゝ 毕业季﹏ 提交于 2020-01-06 08:14:21

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!