How do I know the user has clicked the exclusion one item (datagrid) to deselect the item (datagrid) in as3?

I am new to as3 and want to make some invisible items when the user clicks on the stage outside the data grid. I know it is simple but is not able to understand the exact EVENTlistener to use. Stadium. AddEventListener (MouseEvent:CLICK...) or datagrid. AddEventListener(Event:EXIT_FRAME) aren't helping... pointers?

if(e.Target == stage) {}

Insert your code here

}

Tags: Adobe Animate

Similar Questions

  • validate if the user has entered at least one element of the page

    The apex Version: Application Express 4.1.0.00.32
    Web browser: Internet Explorer 8
    Oracle DB: 11g Enterprise Edition Release 11.2.0.1.0

    Is there a way to validate whether a user has entered at least one item on a form?

    I have a function:
    function hasPageValues return a Boolean value
    is
    Boolean v_item_found: = false;
    Start

    for rITM in
    (select nom_element
    of apex_application_page_items
    where application_id = Apex_Application.g_flow_id
    and page_id = Apex_Application.g_flow_step_id
    )
    loop
    -the element's value
    If v (rITM.item_name) is not null then
    v_item_found: = true;
    end if;
    end loop;

    Return v_item_found;
    end hasPageValues;

    I call this function returning a Boolean in my posting of the page. It doesn't seem to work. It always returns false. What am I missing and is there a better way to do this type of validation. Sorry I'm new to APEX. Thank you very much!

    SmV says:
    Also, I added the part output in the above code and it still does not work. Always returns false.

    When you have a problem in the APEX you can use debug mode to trace what actually demand. It is advisable to include the code of instrumentation in your program units that will generate useful debugging information. To do this, use apex_debug_message API:

    create or replace function hasPageValues (
        p_app_id  in pls_integer
      , p_page_id in pls_integer)
      return boolean
    is
      v_item_found boolean := false;
    begin
    
      for rITM in (
        select
                  item_name
                , display_as
        from
                  apex_application_page_items
        where
                  application_id = p_app_id
        and       page_id = p_page_id)
      loop
        apex_debug_message.log_message(rITM.item_name || ' (' || rITM.display_as || '): ' || v(rITM.item_name));
        -- does the item have a value
        if v(rITM.item_name) is not null
        then
          apex_debug_message.log_message(rITM.item_name || ' is not null: exit.');
          v_item_found := true;
          exit;
        end if;
      end loop;
    
      apex_debug_message.log_message('hasPageValues = ' || case when v_item_found then 'TRUE' when not(v_item_found) then 'FALSE' else null end);
    
      return v_item_found;
    
    end hasPageValues;
    

    Without data in the page, this gives the following debug trace:

    ...
    0.19096     0.00084     Perform custom validations:
    0.19180     0.00081     ...Validation "hasPageValues" - Type: FUNC_BODY_RETURNING_BOOLEAN
    0.19261     0.09948     ...Execute Statement: declare function x return boolean is begin return hasPageValues(:app_id, :app_page_id); return null; end; begin wwv_flow.g_boolean := x; end;
    0.29213     0.00144     P6_PRODUCT_IMAGE (File Browse...):
    0.29352     0.00082     P6_IMAGE (Display Only):
    0.29434     0.00075     P6_PRODUCT_ID (Hidden):
    0.29509     0.00105     P6_PRODUCT_NAME (Text Field):
    0.29614     0.00083     P6_PRODUCT_DESCRIPTION (Textarea):
    0.29697     0.00104     P6_CATEGORY (Radio Group):
    0.29801     0.00151     P6_PRODUCT_AVAIL (Radio Group):
    0.29952     0.00079     P6_LIST_PRICE (Number Field):
    0.30030     0.00071     hasPageValues = FALSE
    0.30102     0.00066     ......Did NOT pass
    0.30168     0.00080     Add error onto error stack
    0.30249     0.00079     ...Error data:
    0.30327     0.00299     ......message: Page has no values
    

    While with a set of element values, we get:

    0.07573     0.00107     Perform custom validations:
    0.07680     0.00094     ...Validation "hasPageValues" - Type: FUNC_BODY_RETURNING_BOOLEAN
    0.07774     0.00231     ...Execute Statement: declare function x return boolean is begin return hasPageValues(:app_id, :app_page_id); return null; end; begin wwv_flow.g_boolean := x; end;
    0.08005     0.00105     P6_PRODUCT_IMAGE (File Browse...):
    0.08109     0.00077     P6_IMAGE (Display Only):
    0.08187     0.00094     P6_PRODUCT_ID (Hidden):
    0.08281     0.00074     P6_PRODUCT_NAME (Text Field):
    0.08354     0.00087     P6_PRODUCT_DESCRIPTION (Textarea):
    0.08442     0.00072     P6_CATEGORY (Radio Group):
    0.08514     0.00067     P6_PRODUCT_AVAIL (Radio Group): Y
    0.08581     0.00112     P6_PRODUCT_AVAIL is not null: exit.
    0.08693     0.00076     hasPageValues = TRUE
    

    The two that appear to be the expected behaviours. What happens when you do this?

  • Question about variables and actions put forward in CP7 - display button once the user has clicked on many areas of click

    Hi all

    Can't seem to understand this one. I had assumed it should be fairly easy, but not... I'm quite inexperienced with variables so, maybe someone could help?

    Basically, the case is quite simple: I want a next button to be invisible until a user has clicked on several areas of click on a slide. Each box click click should disclose additional information on a topic. When all topics have been read, I want the nest button to appear.

    Any suggestions on how I could do it with as little effort as possible? Maybe I don't even have to use variables?

    Help much appreciated!

    Rgds,

    Casper

    Here's a forum thread where I introduced myself as a combination of two decisions:

    Re: Can I use conditional and advanced actions on the same button?

    An old article in which I have explained how to combine a standard action with a conditional: combining conditional in a fast action and standard

    Slightly different, because there is a sequence (which is not the case for you) and so that a variable is required: Blog after Posterous? - ClickClick - Captivate blog

    Learn more about the possible events to trigger actions: http://blog.lilybiri.com/events-and-advanced-actions

    Lilybiri

  • How can you force a user to click all the buttons on a slide?

    I have a slide with a scenario and four option buttons, of which three are good options. I would like that the learner to click on the correct three buttons, which each give comments, before the continue"" button. I have scripted an advanced action to show that the key to continue only after all three keys user has clicked. For some reason any, when I saw the project continuous slide without interruption after I click on the first button. All the buttons are set to show a hidden legend and break after 2 seconds. How can I set up my calendar to (a) allow for the learner to decide which buttons to click and (b) a break long enough to allow him to make that decision? I am using Captivate 5.5, incidentally.

    I am sure that I am doing the equivalent of Captivate to forget to wear one, but I'm unfortunately stuck. Thanks for any help you can give me!

    Krista

    Hi Krista,

    I think your buttons have the same point of suspension, and given that the sequence is not imposed which is logical. But when you click on a button, the normal behavior is that the playhead continues. Can you please post a screenshot of the timeline and your advanced action? Maybe you need to go back the playback head. I call this micro-navigation and blog about it:

    Micro-navigation in Captivate

    When the continue button appears, make sure that its suspension point is later than the other buttons

    Lilybiri

  • How can I know the size of the screen of the moniter of users using the Acrobat SDK?

    How can I know the size of the screen of the moniter of users using the Acrobat SDK? I need to know how much real estate sreen which is available on the moniter to users. Is there some call I can do the SDK to find out the maximum X and is coordinated?

    Thank you

    Gregory

    Just responded to your other thread:

    AVWindowGetDesktopBounds()

    Even takes into account the task bar on Windows, the menu bar on Mac, etc.

  • How can I know the date of my current windows installation?

    How can I know the date of my current windows installation?

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
     
    SystemInfo | more
     
    It is up.
  • How do I know the tab selected in spaces web center?

    Hello

    I have different tabs on the main page as Abc, Def, home, etc... On each page there are SQL queries based on a variable binding. This binding variable value is given by a selectonechoice component which is present above all the tabs. Now when I change the value in the tab component selectonechoice inside components fires and display the updated data. I'm releasing components integrated into the tabs using contextual events. Everything works fine, but when I changed the value of the component of selectonechoice all events fire and all the tabs of SQL queries are run and it takes so long for data update (a big performance issue). I thought that if I know the tab selected, I trigger the contextual events in this tab. Can someone help me how do I know the tab selected in webcenter spaces. I know in adf we have disclosureListener for help that we know of the selected tab. But in Webcenter spaces the sideBarItem (who resembles showDetailItem ADF) is not disclosureListener. How to overcome this problem? Can someone help me.

    Thank you

    Ashok.

    Hello.

    You can try one of the many possible solutions:

    --------------------------------------------

    (1) activation of the workflow

    My suggestion is that you must configure property activation of your task flows in the pageDefinition.

    When you click a tab, you need to reach in a selected tab variable and use it in an EL Expression in the activation property.
    With this strategy and then the workflow will only be 'living' when the tab is opened.

    Don't forget that you can change the WebCenter Pages using it is an editor in the Admin or export / import in the MDS.

    --------------------------------------------

    (2) avoiding the execution of the application during the initial rendering

    You can configure your iterators used in your TF with RefreshCondition #{! adfFacesContext.initialRender} he can stop running a query for the first rendering of the page

    (3) try childCreation panelTabbed property lazyUncached


    (I'm not 100% 2) or 3) may be your solution. Try them in any case and let us know the feedback.

    If you get STUCK in one of the solutions, I'll try to help you.

    In the meantime, I'll thing if there is nothing simpler.

    Kind regards.

  • How can I find the name of the photographer? How can I know the location of a photo when it's just a general title...

    How can I find the name of the photographer? How can I know the location of a photo when it's just a general title...

    Hello

    If you expand the keywords, this could give you a little more in detail.  You can click on the username of the photographer to see their portfolio and you can search within their portfolio.

    Thank you

    Bev

  • How do I know the date purchased in the macbook pro?

    How do I know the date purchased in the macbook pro?

    The date of the purchase of a MBP will on reception, not in the MBP.

    Ciao.

  • Tecra A8 - How can I know the temperature of the processor?

    How can I know the temperature of the processor?
    It seems very high. And I'm worried about this.

    Hello

    I m using the Everest Home Edition
    This tool is free and it reports the temperature values NECK and HARD drive.
    In addition, you can find some information about the software installed and inserted material parts.

    See you soon

  • How do I know the address of the Instrument connected to my pc?

    How do I know the address of the Instrument connected to my pc?

    Thank you

    Véronique.


  • How do I know the cd was windows xp edition or OEM or retail

    How do I know the cd was windows xp edition or OEM or retail?

    In my computer microsoft windows xp sp2 installs the 2002 version. can I activate with the win xp3 activation key.

    OEM disk will be marked with the letters OEM or the name of the manufacturing of PC (DEll, HP, etc.).

    J W Stuart: http://www.pagestart.com

  • How can I know the exact date of the csrss.exe download?

    HelloW please someone tell me how can I know the exact date of the download or installation of csrss on my pc. in the properties of the box, I can only find an old date (date of creation 2009) but think I didn t have this pc so... Please help me

    Hello

    Thanks for posting your query in Microsoft Community.

    I understand that you have questions about the date of download csrss.exe.

    But I would like to know more information, to help you better.

    (1) get any error message related to this csrss.exe process?

    (2) what is the problem in the computer?

    In the meantime, please refer to the below suggestion.

    In fact, the csrss.exe is not a program that can be downloaded, it is rather a process in the Windows System. Thus, it would display the date of creation as the process is being created. Csrss.exe is a system process that is needed for your PC to function properly. It should not be deleted.

    The Microsoft Client Server Runtime Server subsystem uses the csrss.exe. This process of management of the majority of the graphical instruction sets under the Microsoft Windows operating system. As such Csrss.exe offers the important functions of the operating system, and the Blue Screen of Death displayed may lead to his termination.

    Csrss.exe threading and features of Win32 console window controls. Threading is where the application itself is divided into several simultaneous running tasks. Threads supported by csrss.exe are different
    process in this son are usually included in the process, with different threads, sharing of resources within the same process. The Win32 console is plain text window in the Windows API system (programs can use the console without the need for display of the image).

    Additional information:

    Csrss.exe

    http://answers.Microsoft.com/en-us/protect/Forum/MSE-protect_scanning/csrssexe/26bba20c-2691-4D42-bec4-637436c53c4f

    I hope this helps. Otherwise, feel free to write back and we woll will be happy to help.

    Thank you

  • How can I know the pop up notice update is legitimate and check the installation?

    How can I know the pop up notice update is legitimate and check the installation? I understand that you have to make sure that all previous updates have been removed before adding a new update.

    no adobe update must be removed or undone to install future updates.

    and what app triggers the popup?

  • How will I know "the size of a table special VS size of RAM"

    Hi all

    How will I know "the size of a table special VS size of RAM"?

    I should know because I want to understand what join method to use.

    Please correct me if my attempt to catch the truth is crazy.

    Thanks in advance.

    You can get the size of a table of DBA_SEGMENTS.  I'm sure you can get the amount of RAM of other tables of data dictionary as well if you can define precisely what memory segment you are interested in (e.g. CMS?)  PGA?  The amount of physical RAM on the box?  The size of the buffer cache?  The amount of virtual memory available?)

    That being said, comparing the two is not as significant.  You, as a developer, are generally not in the business of choosing a join method.  It's the job of the optimizer.  And the optimizer takes into account a range of data that you have not begun to ask about yet.  The size of the table is not even particularly relevant for calculations - the optimizer the amount of data operations are back, the relative size of the data on each side of the join, the availability of indexes, etc. are all much more important than the raw size of the table (but the raw size of the array is a factor in the assessment of the amount of data that is returned).

    Justin

  • How do I know the total size of the site

    How do I know the total size of all the files in my site?

    Window "Files" Dreamweaver gives the sizes of individual files in the site, but it would be useful to know the size of all the files combined.

    I appreciate that you can use Windows Explorer or similar, but it would be more practical to do so directly in Dreamweaver.

    Thank you.

    The easiest way would be to get information or check the properties on the folder root of your operating system.

    As far as I know, there is no way to do it within DW itself.

Maybe you are looking for

  • Activation of the iPad questions

    While I was with my iPad it closed and restarted, when the computer reboots, it said I had to activate it, but I have problems with the Apple ID. The Apple, it says that it is connected with a ID was set up by a company, I worked for years when I had

  • How can I fix my failure of verification of ipad

    How can I fix my ipad verification failure. verification failure noticed after changing passwords yahoomail and apple. iPad retina. iOS version 9.2

  • ProBook 6540 b: webcam HP Probook 6540 b WinX software/driver

    I have a laptop HP Probook 6540 b. When I bought it, it had installed Windows 7. Last fall, I decided to upgrade verification and the hp site I used told me that my laptop was ready to be updated for Windows 10. So I did. Before that process, I backe

  • CP3505n: Old printer driver need new Mac

    My old iMac crashed and I am having to start over with a new onw now running El Capitan. I need the driver for my printer CP3505. I can find the link to download an upgrade of the driver, but my problem is that the original driver is no longer on my

  • Uninstalling the software on a T420

    Hey! I have a new T420, my first Lenovo. Whenever I have try rubbing some of the less useful software/crapware of the uninstall or change/control panel I get this alert: "'Please wait until the current programis finished unistalling or being changed"