Search code examples
actionscript-3apache-flexblackberry

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


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---


Solution

  • 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