Cannot refer to qnx.dialog in libraries

I'm trying to get the job of the correct programming of the AIR environment.  Cannot get Flash Builder to recognize the qnx.dialog package. Just try to run a simple application "Hello world!" w / of the dialog boxes in the Simulator or USB'ed Playbook.   Here are all my qnx imports:

Import qnx.dialog.DialogButtonProperty;
Import qnx.dialog.PromptDialog;
Import qnx.display.IowWindow;
Import qnx.fuse.ui.buttons.LabelButton;
Import qnx.fuse.ui.text.Label;

Just QNX.dialog is not get referenced.  However, the following libraries are listed by Flash Builder as referenced libraries:

QNX - air.swc

qnxmedia.swc

qnxui.swc

BlackBerry.swc

Flex 4.6 libraries following are referenced in too:

airglobal.swc

Core.swc

OSMF.swc

textLayout.swc

servicemonitor.swc

Am I missing something?  Can someone help me with this?

See the post by virtue:

http://supportforums.BlackBerry.com/T5/Adobe-AIR-development/BB10-Error-1065-SkinAssets-is-not-defin...

Towards the end

Tags: BlackBerry Developers

Similar Questions

  • Qnx.dialog AIR BB10 or any alert Message box?

    Hey guys,.

    Im having the hardest time with something very simple... dialog boxes! Theres something Im not getting and I hope someone here will know what Im doing wrong! Ive searched the internet, api docs, forums and still nothings working! The code below is on resources BlackBerry AIR website and does not display anything when I reference from a view. The development of the old mx playbook tablet. Alert dialog is displayed or the other?

    Any ideas? Thanks advance!

         private function showAlertDialog():void
         {
            alert = new AlertDialog();
            alert.title = "Warning";
            alert.message = "This operation may harm your computer. Do you still want to proceed?";
            alert.addButton("OK");
            alert.addButton("CANCEL");
            alert.dialogSize= DialogSize.SIZE_MEDIUM;
            alert.addEventListener(Event.SELECT, alertButtonClicked);
            alert.show(IowWindow.getAirWindow().group);
         }
    
         private function alertButtonClicked(event:Event):void
         {
              trace("Button Clicked Index: " + event.target.selectedIndex);
              trace("Button properties Object"+event.target.getItemAt(event.target.selectedIndex);
         }
    

    Resolved thanks. it Awsome!

  • Cannot close the import dialog box?

    We scanned the photos of our printer in our Toshiba laptop.  The dialog box import returns to ask us to continue to import.  After clicking on OK, scanning continues.  After the picture is imported, we want to close the dialog box, but it does not close.  We can only reduce.  Then after we have the computer shutdown dialog box will disappear.  Thoughts?

    Hello

    You use any third-party application to import pictures in windows 7?

    I suggest you to change the import settings and check if it helps.

    1. connect the scanner to your computer via a USB cable and turn on the scanner.
    2. in the Autorun dialog box that appears, click on import pictures and videos using the Windows.
    3. to change the parameters that are used when importing pictures and videos, click import settings in the dialog box import pictures and videos .
    4 change one or more settings in the import settings dialog box and then click OK.
    5. click OK to restart import pictures and videos. Type a label in the box mark these images (optional) , and then click import to import your photos
    and videos using the new settings.

    Check if the import area closes after importing the photos.

    See this link:
    http://Windows.Microsoft.com/en-us/Windows7/change-settings-for-importing-pictures-and-videos

    Also, disable any security software and check if it helps.

    NOTE: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus
    software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the
    Internet or network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Kind regards
    Amal-Microsoft Support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Cannot create the new subfolder in libraries - W7Pro

    Recent development.  For example, I wanted to create a new subfolder in a folder in my pictures library, but suddenly I can't.

    By clicking on the 'create a new folder' button on the top, does nothing.  If I did a right click and go to "new", create the new folder is not an option (only to create a new compressed folder).  I don't understand.  Already tried this: http://support.microsoft.com/kb/929833?wa=wsignin1.0
    Found no breach of integrity.

    Help!

    You have installed chrome? It's looking like a recent update of chromium may be the cause. If you want to remove Chrome and restart to test, please do. To fix it without removing the Chrome, or Chrome is not installed, here are your options.
     

    How to remove and restore the default context Menu items 'New' in Windows 7 and Windows 8
    http://www.SevenForums.com/tutorials/28677-new-context-menu-remove-restore-default-menu-items.html
     
     
     
    Tip: when you save the text in Notepad, the default file format is .txt. Change to all files.
     
     
  • Problems of script object (cannot refer to my functions)

    Hello Experts:

    I'm looking for answers about my inability to make reference to my script objects in object reference drop-down menu designer (style Intelliense).

    I also get an obvious execution error: ClinicalAffiliationSiteReview.variables.MyFunctions.calcTotal_SecI () is not a function [snippet below].

    I have re-installed LiveCycle (8.1.2) nothing works. My duties have not appeared.

    Is this a configuration problem of LC that I need installation?

    I forgot a JavaScript syntax option?

    Script object should appear in the intellisense menu, right?

    I believe that my statement of function to be correct.

    I don't think that JavaScript has access to Member (private, public, internal) modifiers?

    I have a strong experience in c#, but novice at JavaScript.

    Anyfeedback or comments are greatly appreciated.

    Thank you for your time,

    Ivan a. Loreto Technician of computer education

    UNIVERSITY OF LOMA LINDA | School of Allied Health Professions - physiotherapy department

    Form Code snippet

    Function is defined on the node tree under the [variables] above


    ClinicalAffiliationSiteReview. #variables [0]. MyFunctions - (JavaScript, client)

    function calcTotal_SecI()

    {

    SecI_Score is the digital field: use parseInt

    CI_Info.SecI_Score.RawValue = parseInt (Student_Info.PatientLoad.Row1.StudentLoadScore1.rawValue)

    + parseInt (Student_Info.PatientLoad.Row2.StudentLoadScore2.rawValue)

    + parseInt (Student_Info.PatientLoad.Row3.StudentLoadScore3.rawValue)

    + parseInt (Student_Info.PatientLoad.Row4.StudentLoadScore4.rawValue)

    + parseInt (Student_Info.PatientLoad.Row5.StudentLoadScore5.rawValue)

    + parseInt (Student_Info.PatientLoad.Row6.StudentLoadScore6.rawValue)

    + parseInt (Student_Info.PatientLoad.Row7.StudentLoadScore7.rawValue);

    If (CI_Info.SecI_Score.rawValue! = null)

    {

    calculate the average and fill number_fieldName.value

    }

    . Extract exit event

    The same call is used for all the drop-down list events.

    ClinicalAffiliationSiteReview.Student_Info.PatientLoad.Row1.StudentLoadScore1::exit - (JavaScript, client)

    {

    ClinicalAffiliationSiteReview.variables.MyFunctions.calcTotal_SecI ();

    }

    My system info

    Windows XP SP 3.

    Adobe Acrobat 9 Pro;

    Life cycle ARE 8.1.2;

    SQL Server 2008 Express (installed patch LC ok)

    Java Version 6; Last update 15.

    Hello Ivan,.

    The change in the use of Visual Studio by using the designer is like stepping back a few decades.

    Intellisense does not work for the functions defined by the user of the script object.

    But you should be able to call your function to help;

    MyFunctions.calcTotal_SecI ();

    It is with the "ClinicalAffiliationSiteReview.variables" part.

    Bruce

  • Error message: "cannot find this file" and songs seem to disappear from Windows Media Player 11.

    Original title: my songs seem to disappear from windows media player 11

    I make a playlist and some of the songs come with a "cannot find this file" dialog box I click on 'place to open the file' and the song is there but will not play. Help, I'm losing songs at an alarming rate.

    Hi Akledge,

    1. this happens only for songs with a specific file format?

    2. What is the full error message that you receive?

    3. have you made a recent software or hardware changes to the system?

    Method 1:

    You can try to start the Windows Media Player (WMP) Fixit from link and check if it helps:

    Solve the problems of Windows Media Player video and other media or library

    For more information, see the article:

    Error message when you type the name of a file to play with Windows Media Player: "Cannot open file."

    Method 2:

    If the problem persists, you can visit the article to rebuild the WMP library and check if it helps

    You cannot view, add, or delete items in the library of Windows Media Player 11

    Note: Windows Media Player automatically rebuilds the database.

  • "Cannot open this page" error when connecting to the Internet.

    Original title: I can connect to my server, but IE cannot get me on the internet

    My wifes laptop shows live wireless to our BT Homehub (my laptop, iPhone etc is it ok too) but tries to connect to the internet, it gets a "cannot open this page" dialog

    Hello

    1 are there any changes or updates made on the computer?

    2. when exactly you get the error message?

    3. the problem only occurs in Internet Explorer?

    Method 1:

    I suggest you to return the item and check if it helps.

    Windows wireless and wired network connection problems

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Network adapter problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-adapter-problems

    Method 2:

    If the problem only occurs with Internet Explorer, I suggest to optimize and to check if it helps.

    http://support.Microsoft.com/kb/936213/ro

    Note: "Please note that the reset Internet Explorer (IE) resets all of the settings defined by the user, including those established by the installed extensions, toolbars and other add-ons for IE by default. This includes all the security, privacy and settings area. Also this will erase browsing history, delete all temporary Internet, cookies, form data files and especially all the passwords. »

  • Delete questions of history. Unable to get at the bottom of the dialog box. Impossible to move or reduce the size of the dialog box. ? Caused by microsoft update? Use Vista

    I have Vista 64 bit. Experienceing a constellation of problems over the past two weeks. Cannot change the screen resolution. Desk top icons appear very large.  Cannot move icons.  Dialog box to delete history extends under the bottom of the screen and I can't move or reduce it. Impossible to tell if the deletion of history is applied. (This is disturbing).  Cursor publishes too... cannot highlight text correctly... or move text

    Think problem was caused by the recent Microsoft updates. Don't know what the difficulty! or how.

    I can not even rearrange the sentences in this area in order to make more sense!

    Hello

    ·         Which have been updated that you have installed on the system?

    I suggest you look at in the history of the update and check the updates have been installed and whether or not they have been installed successfully.

    Check the updates that have been installed in the history of the update.
     

    (a) open Windows Update by clicking the Start button. In the search box, type Update, and then in the list of results, click Windows Update.

    (b) in the left pane, click view update history.

    (c) to view more information about an update, double-click it.

    Please post back with details updates in the update history.

  • Alignment of text for the QNX dialogue

    Hello

    Any ideas how to align left text dialogue QNX? i.e.

    var alert:qnx.dialog.AlertDialog = new qnx.dialog.AlertDialog ();
    Alert.title = 'my astonishing title ';
    Alert.message = "1. Bonjour\n"+"2. How are you\n"+"3. and have a REALLY good morning today;

    I want it to appear as:

    1 Hello

    2. How are you

    3 and have a VERY good morning today

    But now, it appears that:

    1 Hello

    2. How are you

    3 and have a VERY good morning today

    I also tried the messageHtml no etc. nada no alignment.

    Thank you!!

    UDI

    Hey udik,.

    try running the following program and see its output:

    package
    {
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
    
        import qnx.dialog.AlertDialog;
        import qnx.dialog.DialogAlign;
        import qnx.dialog.DialogSize;
    
        public class DialogTest extends Sprite
        {
            private var myAlert:AlertDialog;
    
            public function DialogTest()
            {
                super();
    
                // support autoOrients
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
    
                myAlert = new AlertDialog();
                myAlert.title = "myAlertDialog";
                myAlert.align = DialogAlign.CENTER;
                myAlert.messageHtml =   "

    " + "1. Something goes here
    " + "2. Something else here too
    " + "3. And a last thing to go here." + "

    "; myAlert.addButton("OK"); myAlert.addButton("CANCEL"); myAlert.dialogSize = DialogSize.SIZE_MEDIUM; myAlert.show(); } } }

    So basically you had the right idea except when you try to align to the left use the

    tag and when to put in line breaks use
    instead of \n in case it is a question too. Let me know how it turns out. Good luck!

  • Warning Dialogues - cannot capture the button clicks

    Now that I can finally connect to the Simulator with the debugger, I can come back and work on my app!

    I'm trying to be on the QNX Dialogue class... specifially the AlertDialogue, that I will use for the warning of use of data like most of you...

    I looked at the example code, but for some reason, I can't click on the events of the Dialogue...

    Here is my code:

    package com.content.modal{  import flash.display.Sprite;  import flash.events.Event;    import flash.events.MouseEvent;
    
     import qnx.dialog.AlertDialog;    import qnx.dialog.DialogSize; import qnx.display.IowWindow; import qnx.events.DialogEvent;
    
      public class AirtimeUsageModal extends Sprite {
    
           private var alert:AlertDialog;
    
          public function AirtimeUsageModal()       {         init();       }
    
           private function init():void      {         alert=new AlertDialog();          alert.title="MY TITLE";           alert.message="MY BLURB HERE.";           alert.addButton("Quit");          alert.addButton("Acknowledge");           alert.dialogSize=DialogSize.SIZE_SMALL;           alert.addEventListener(DialogEvent.DIALOG_BUTTON_CLICKED, alertButtonClicked);            alert.show(IowWindow.getAirWindow().group);
    
          }
    
           private function alertButtonClicked(e:DialogEvent):void       {         trace("Button Clicked Index: " + e.target.selectedIndex);         trace("Button properties Object"+e.target.getItemAt(e.target.selectedIndex));         trace("e.responseBtn" + e.responseBtn);
    
             if (e.responseBtn == "Quit")          {             quitApp();            }         else if (e.responseBtn == "Acknowledge")          {             this.dispatchEvent(new Event("startApp"));            }     }
    
           private function quitApp():void       {         stage.nativeWindow.close();       }
    
       }}
    

    My problem is that I can't capture the click event... my tracks in alertButtonClicked never fire... When I click on a modal button disappears... And I get this in the output:

    Response of dialogue show null null
    Receipt of RESPONSE from the server: @control 1
    BaseDialogService.receiveResponse

    Any ideas what's happening here?

    This is a known bug. Please use EVENT. SELECT a workaround until this has been resolved.

  • Dialog box does not

    I try to get a dialog box appears, but nothing seems to happen in the simulator at all. I use the code for the development Guide (see below) so I guess it should work very well. I tried a trace() and his is certainly not in the event, its all simply not display anything. I'm under 0.9.4 If that makes a difference

    package
    {
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import qnx.dialog.*;
        import qnx.display.IowWindow;
        import qnx.ui.buttons.LabelButton;
        import qnx.ui.text.*;
        [SWF(width="1024", height="600", backgroundColor="#cccccc", frameRate="30")]
        public class Dialogs extends Sprite
        {
            private var lblWhichButton:Label = new Label();
            public function Dialogs()
            {
                var btnShowDialog:LabelButton = new LabelButton();
                btnShowDialog.label = "Click here";
                btnShowDialog.x = (stage.stageWidth - btnShowDialog.width)/2;
                btnShowDialog.y = (stage.stageHeight - btnShowDialog.height)/2;
                btnShowDialog.addEventListener(MouseEvent.CLICK, ButtonClicked);
                lblWhichButton.x = (stage.stageWidth - btnShowDialog.width)/2;
                lblWhichButton.y = btnShowDialog.y + btnShowDialog.height;
                lblWhichButton.width = 600;
                lblWhichButton.text = "Button index reported here.";
                addChild(btnShowDialog);
                addChild(lblWhichButton);
            }
            public function ButtonClicked(event:Object):void
            {
                var myDialog:AlertDialog = new AlertDialog();
                myDialog.dialogSize = DialogSize.SIZE_SMALL;
                myDialog.addEventListener(Event.SELECT, alertButtonClicked);
                myDialog.title = "Dialog";
                myDialog.message = "This is a small alert dialog";
                myDialog.addButton("OK");
                myDialog.addButton("Cancel");
                myDialog.show(IowWindow.getAirWindow().group);
            }
            public function alertButtonClicked(event:Object):void
            {
                lblWhichButton.text = "Button Clicked Index: " + event.target.selectedIndex;
            }
        }
    }
    

    Try resetting your Simulator. Sometimes there is a problem of memory and it stops all services up to the level of the OS. Go to the Virtual Machine > restart.

  • Cannot play RTSP streams, or another video with MediaPlayer

    Hi, I started working with the Mediaplayer and have problems. My first test was to load a rtsp stream, but it does not work. I'm trying to open a video of playbook and it does not work. I've added to my blackberry - tablet.xml following actions

    access_shared

    access_internet

    PLAY_AUDIO

    And try out it on my (real device, no Simulator) playbook. It does not work. I always get the errornumber '10' which means that media can not open (RIM thank you for this useful error ). I have attached my code in this post. You can see what the problem with it?

    concerning

    
    http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark"
            xmlns:qm="qnx.media.*"
            creationComplete="init()">
    
        
            
            
        
    
        
            
        
    
        
            
            
        
    
        
    
    
    

    Response of RIM today.

    RTSP is not supported. The documentation does not in this aspect.

  • Return of the ref cursor of procedure where the cursor is defined in the specification

    Hello

    Here's pseudo-code

    create or replace package test
    as
    cursor c_emp (number cv_emp_id)
    is
    Select emp_name emp where emp_id = cv_emp_id;

    type ref_c is ref cursor;

    function get_emp_name (number p_emp_id) return ref_c;
    end test;
    /


    create or replace the test physics package
    as
    ref_c function get_emp_name (number p_emp_id)
    is
    ret_val ref_c;
    Start
    Open c_emp (p_emp_id);
    ret_val: = c_emp;
    return ret_val;

    end get_emp_name;
    end test;
    /

    Returns me "PLS-00382: expression is of the wrong type. I tried to use a strongly typed Ref cursor based on the cursor, but nothing helped.

    Clearly, I understand something... and if I can't assign as ' ret_val: = c_emp "and if there is another key way it so please let me know.

    Thank you

    Ralph

    Published by: user13024707 on May 5, 2010 04:43

    user13024707 wrote:
    Clearly the point of my question is being missed.

    Or maybe the question is not been clearly asked. ;)

    I want to set the cursor in the PACKAGE SPECIFICATION, and not in the package body. The issue of the bind variable and the string is neither here nor there because I pass parameters to the cursor.

    What you ask is to use a PL/SQL cursor (defined in the specifications of the package or elsewhere) and that convert a Ref Cursor. N ° cannot be done.
    PL/SQL cursors should be used in the PL/SQL code. REF CURSOR is primary used to pass back a reference to a cursor (and all queries are cursors) to a layer of application outside of PL/SQL for example .net, java, etc.. Once you start using the ref Cursor only really, you have the choice of opening it based on a (dynamic) or a fixed query string as in the examples given. You cannot open a cursor of a PL/SQL cursor definition Ref.

    The difference is that when you do:

      CURSOR cur_mycursor IS
        SELECT ...
    

    you declare a cursor in pl/sql definition, not actually a slider itself. The cursor itself is created when you issue an OPENING or a statement FOR etc. So a Ref Cursor (reference to a slider) cannot refer to the definition of the cursor because it is only a definition, not a cursor (i.e. it has not been sent engine sql and instantiated at that time here). Instead the Ref Cursor must reference a cursor (query), itself, and that may be presented as a string or as the query itself that is issued against the sql engine and then the ref cursor points

    Thus, slider ref and PL/SQL cursors are different concepts, both designed to manage cursors in a slightly different way of programming. You cannot mix them.

  • Error: Type was not found or was not a compilation constant: PromptDialog.

    My PlayBook application compiles to the BB10 SDK of AIR due to the error in the subject. See also: https://developer.blackberry.com/air/beta/apis/qnx/dialog/PromptDialog.html#includeExamplesSummary

    package
    {
        import flash.display.Sprite;
        import qnx.fuse.ui.dialog.AlertDialog;
        import qnx.dialog.PromptDialog;
    
        [SWF(width="768", height="1280", backgroundColor="#FFFFFF", frameRate="60")]
        public class Example extends Sprite
        {
            public function Example()
            {
                try
                {
                    showPromptDialog();
                }
                catch(error:Error)
                {
                    dialog("Error on Initialization", error.message);
                }
            }
    
            private function showPromptDialog():void
            {
                var prompt:PromptDialog = new PromptDialog();
                // ...
            }
    
            private function debug(msg:String):void
            {
                dialog("Debug", msg);
            }
    
            private function dialog(title:String, msg:String):void
            {
                var alert:AlertDialog = new AlertDialog();
                alert.title = title;
                alert.message = msg;
                alert.addButton("Ok");
                alert.show();
            }
        }
    }
    

    Please do not take into account. Somehow I failed to change the import statement to refer to the new location of this class in BB10:

    Import qnx.fuse.ui.dialog.PromptDialog;

  • How to code enforcement for Playbook

    Hello

    I am new to action script Adobe AIR.

    I wanted to create an application in the following flow

    --> login screen (if correct)--> screen--> details for the item selected in the option list

    |

    ---> (so bad) user alerts the reconnection

    I am able to get the login screen by using the Connect dialog box, but cannot go further than I can not retrieve any data or detect an event. I don't know how to go further.

    Any help is very appreciated.

    Thank you

    Afonso

    Here's the code so far

    package
    {
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.events.MouseEvent;
    
        import qnx.dialog.*;
        import qnx.display.IowWindow;
        import qnx.ui.buttons.LabelButton;
        import qnx.ui.text.*;
    
        public class Details extends Sprite
        {
    
            public function Details()
            {
                super();
    
                // support autoOrients
                //stage.align = StageAlign.TOP_LEFT;
                //stage.scaleMode = StageScaleMode.NO_SCALE;
                var login:LoginDialog = new LoginDialog();
                login.title = "Device is locked";
                login.message = "Please enter your username and password:";
                login.addButton("Login");
                login.addButton("Cancel");
                login.passwordPrompt = "password";
                login.rememberMeLabel = 'Remember me';
                login.rememberMe = true;
                login.dialogSize= DialogSize.SIZE_LARGE;
                login.addEventListener(Event.SELECT, loginButtonClicked);
                login.show(IowWindow.getAirWindow().group);
    
            }
            public function loginButtonClicked(event:Object):void
            {
                /*NO IDEA WHAT TO DO HERE*/
    
            }
    
        }
    }
    

    With the following change, your code works very well here.  (Where did you get the idea that you should receive an object instead of the event?)

    public function loginButtonClicked(event:Event):void
    {
        trace("login", event.target.username);
        trace("password", event.target.password);
        trace("remember?", event.target.rememberMe);
    }
    

    Output trace looks like this:

    login peter
    password foobar
    remember? true
    

Maybe you are looking for

  • I can't type in one of the firefox windows. How can I fix it?

    I can not type in all areas when I open the firefox browser. It is not my keyboard (as you can see - I send you this Internet Explore). I reset, uninstalled and reinstalled but it still does not. How to solve?

  • Need driver for "PCI Device" (Pavilion g7, Win7 - x 64)

    Hello I have a brand new HP Pavilion g7-1077si laptop, Windows 7 x 64. I did a clean install. I found all the appropriate drivers on the HP site or latest Intel, Realtek, etc.. I have a question without pilots: "PCI Device". Device Manager displays t

  • Method of Peirce

    Hello I want to implement the rejection of outliers Peirce method and run it with Mathscript. Everything works perfectly well in MatLab but in Labview I get error message "line 29, column 6: unexpected char: '.'" » This seems to be a simple error, bu

  • My lbp6000 has stopped working when I upgraded to osx 9 mavericks. How can I get it back?

    My lbp6000 has stopped working when I upgraded to osx 9 mavericks.  How can I get it back?

  • Array of bytes to bitmap

    I'm trying to convert an array of bytes into a bitmap image.  The byte array returned from a url, if you enter the url in Internet Explorer, it is automatically returned.  What would be the best way to get the data returned by the url, and how would