Possible to name movieclip that's at a set of coordinates?

Gidday
Given a set of coordinates, and the name of a parent movieclip within another movieclip of the same same, is it possible to
a) test to see which (if any) parent's child clips is on those coordinates?
and
b) if so, get the name of that child clip?
Or is it a matter of iterating through ALL the display elements of the parent and doing hitTestPoint checks?
I ask as I'm trying to figure out a way to allow buttons within a movieclip within a Greensock blitmask to be clicked, based on how far the finger drag was ie less than 20px, count this as a click, not drag, so get name of child of parent in Blitmask that is on those mouse coordinates.
Cheers guys

Thanks Keith - turns out you can set the bitmap mode to false to access buttons in the blitmask, which is working, so I'll run with that. Cheers mate.

Similar Messages

  • Is it possible to name the results table.

    Hi, I'm new to java and have hit a brick wall devloping a GUI which access a SAPDB database.
    They layout of the GUI is:
    have a awt lists in card layout, which is populated with the results of a SQL query to table REGION.
    However the number of results returned can be greater then 1Mill. To minimise the mem useage, i'm using the ResultSet absolute(), first() etc methods to collect and display small chunks of the data, for the different card in the gui. This works fine :)
    However, the user is able to select an item from the list to perform a new query, which the results a presented in a dialog box, not dependent on the parent frame. Works :)
    But, when the user (I) try to move anothe card in the parent frame I get this error:
    SAP DBTech JDBC: Object is closed
    com.sap.dbtech.jdbc.exceptions.ObjectIsClosedException: SAP DBTech JDBC: Object is closed
    at com.sap.dbtech.jdbc.ConnectionItem.assertOpen(ConnectionItem.java:54)
    at com.sap.dbtech.jdbc.ResultSetSapDB.beforeFirst(ResultSetSapDB.java:177)
    at blastDb.Table.getResultSetSize(Table.java:205)
    at blastDb.Table.setCursor(Table.java:227)
    at ViewDatabase$RegionPanel.setRegionList(ViewDatabase.java:354)
    at ViewDatabase$TabPanel.showRegionList(ViewDatabase.java:180)
    at ViewDatabase$TabButtonListener.actionPerformed(ViewDatabase.java:289)
    at java.awt.Button.processActionEvent(Button.java:381)
    at java.awt.Button.processEvent(Button.java:350)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    After some reading I have come up with this hypothesis:
    In the parent frame there is the object (class) RegionTable, which contains the ResultSet (rsR) of the sql query generated by it.
    In the dialog box there is the object (class) ProteinTable which also contains the ResultsSet (rsP) of the sql query generated by it.
    So when RegionTable querys the database the rsR points to the results table in the SAPDB. All good.
    However when ProteinTable querys the database, rsR closes and rsP is valid ie. points to the results table in the SAPDB.
    Thus after the second query RegionTable.rsR is unable to collect the results of its query. BAD :(
    From what i have read, if the results table is named for the first query, the second call which results table is named something diff then rsR will not close, as the results table is not destroyed, thus rsR can read it's results after the second qury.
    This problems occours when the objects share the same connection or diff connections.
    As far as I'm aware i'm using JDBC 1.2 drivers and SAPDB latest build.
    I know i could hold the results in a view, but that requies more coding, being able to name the results table in the SAPDB make it alot easier.
    So my question is:
    1. Are my assumptions correct??
    2. is there a SQL statement to name the results table for a given query?
    From SAPDB:
    A result table name identifies a result table (see table).
    Syntax
    <result_table_name> ::= <identifier>
    And I've got no idea what is beging impiled beyond that it is possible to name a results table. Obtained from :
    http://www.sapdb.org/htmhelp/da/ed9036dfe4b903e10000009b38f889/frameset.htm
    If anyone can help, that would be fantastic!!!
    Cheers
    fauxn

    I've check the code, when the dialog box is opened a new connection is made, and i still get the same error:
    SAP DBTech JDBC: Object is closed
    com.sap.dbtech.jdbc.exceptions.ObjectIsClosedException: SAP DBTech
    JDBC: Object is closed
    at com.sap.dbtech.jdbc.ConnectionItem.assertOpen(Connection
    Item.java:54)
    at com.sap.dbtech.jdbc.ResultSetSapDB.beforeFirst(ResultSet
    SapDB.java:177)
    at blastDb.Table.getResultSetSize(Table.java:205)
    at blastDb.Table.setCursor(Table.java:227)
    at ViewDatabase$RegionPanel.setRegionList(ViewDatabase.java
    :354)
    at ViewDatabase$TabPanel.showRegionList(ViewDatabase.java:1
    80)
    at ViewDatabase$TabButtonListener.actionPerformed(ViewDatab
    ase.java:289)
    at java.awt.Button.processActionEvent(Button.java:381)
    at java.awt.Button.processEvent(Button.java:350)
    at java.awt.Component.dispatchEventImpl(Component.java:3526
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Ev
    entDispatchThread.java:191)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Even
    tDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThr
    ead.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThr
    ead.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.jav
    a:98)
    when i ask rsR to collect the results from it's query.
    Dosen't make sence, unless its they way I'm implementint the GUI???
    I'll look into the JDBC driver bug.
    Cheers

  • Is it Possible in Purchase Order that putting the BOM, all the components ?

    Is it Possible in Purchase Order that putting the BOM, all the components of that particular ges populated in the Rowt ? This is necessary to select single - single items is PO..
    We are also using MRP and Forecast. We want to use this method in case of placing URGENT Purchase Order without considering WH stock + PO ordered + ....................
    What kind of Query we would write , that  putting the BOM in the UDF, the componenets get populated in Purchase Order...
    Please give complete query.................

    The query I have provided earlier needs to be set in the ItemCode field at the row level and not on your User field at the header.
    The query below (same as earlier with the addition of the user field name - please verify) will show the Child Items of the BOM item who code you have entered at the Header level in your UDF.
    SELECT T0.Code FROM [dbo\].[ITT1\] T0 WHERE T0.Father = $\[OPOR.U_BOMNAME]
    This will not automatically fire but the user has to first enter the Vendor Code and then enter the U_BOMName and then in the Item code field press Shift+F2 which will fire the above query FMS displaying the child Items for this BOM.
    Suda

  • Control MovieClip that's inside ScrollPane

    Does anyone know if it's possible to access and modify a
    MovieClip that's been placed in a ScrollPane? I want to be able to
    manipulate a MovieClip at runtime with ActionScript, but allow the
    viewer to scroll the MovieClip...
    Do I need to find a different approach that doesn't use the
    ScrollPane component?

    Is the movieclip part of the content of the scrollpane?
    I use the following line of code to affect one of the MCs
    that are in the
    scrollpane as part of the content.
    _root.csp_scrollingBullets.spContentHolder["bullet_1"].gotoAndPlay(1)
    HTH,
    If you have questions, my email is [email protected]
    -Marc Lee
    "stratosnatcher" <[email protected]> wrote
    in message
    news:edpqqh$1up$[email protected]..
    > Does anyone know if it's possible to access and modify a
    MovieClip that's
    been
    > placed in a ScrollPane? I want to be able to manipulate
    a MovieClip at
    runtime
    > with ActionScript, but allow the viewer to scroll the
    MovieClip...
    >
    > Do I need to find a different approach that doesn't use
    the ScrollPane
    > component?
    >

  • In my Mail program (4.6), OS10.6.8, can I send bulk email bcc? If so is there a limit to the number of names/addresses that I can send?

    In my Mail program (4.6), OS10.6.8, can I send bulk email bcc? If so is there a limit to the number of names/addresses that I can send?

    To add the BCC field to the message window, create a new message, click the 'three lines' button near the to and from fields & select the 'BCC Address field' or choose the 'customise' option. This button may be a 'gear' on the older OS (I don't recall for 10.6.8 Mail).
    The BCC field is more likely to be limited by the email server than Mail app. If you add hundreds of addresses (or use large groups with many addresses) the email server may assume you are sending spam. Sometimes it causes the server to drop the message or bounce them, different providers also have different rules, so you need to use bcc & ccc with care.
    If you plan on doing mass mailing you would be better with a service that handles it correctly for you (i.e. sends multiple messages without using ccc or bcc).

  • My friend bought an ipad mini and gave me his old iPad. how can i re-register the iPad in my name so that i can sync it with my macbook air?

    My friend bought an ipad mini and gave me his old iPad. how can i re-register the iPad in my name so that i can sync it with my macbook air?

    Setup as new
    Settings>General>Reset>Erase all content and settings

  • Creating a Mat View having the same name with that of the table name

    Hi everyone,
    After dropping the mat view name "QQ.TRDLN_DIM_MV", I'm trying to re-create it by having the same name as that of the table but I got an error stating that "name is already used by an existing object". How can create a mat view to look like the object owned by schema "GQ", having a name that is the same as that of the table name, without dropping the table?
    OWNER_O OBJECT_TYPE CREATED LAST_DDL_ TIMESTAMP STATUS OBJECT_NAME
    ===
    GQ MATERIALIZED VIEW 05-NOV-08 13-DEC-08 2008-11-05:06:31:46 VALID TRDLN_DIM_MV
    GQ TABLE 05-NOV-08 15-DEC-08 2008-11-05:06:31:00 VALID TRDLN_DIM_MV
    QQ TABLE 17-AUG-07 16-MAR-09 2007-08-17:17:05:21 VALID TRDLN_DIM_MV
    SQL&gt;CREATE MATERIALIZED VIEW QQ.TRDLN_DIM_MV
    2 TABLESPACE FPLC01S
    3 NOCACHE
    4 NOLOGGING
    5 COMPRESS
    6 PARALLEL ( DEGREE 2 INSTANCES 1 )
    7 BUILD IMMEDIATE
    8 REFRESH FORCE ON DEMAND
    9 WITH PRIMARY KEY
    10 AS
    11 select /*+ NO_REWRITE */ trdln_id,
    12 trdln_skid,
    13 trdln_end_date,
    14 first_value(trdln_end_date) over (partition by trdln_id order by trdln_end_date DESC) as MaxDate
    15 from QQ.trdln_dim;
    from QQ.trdln_dim
    ERROR at line 15:
    ORA-00955: name is already used by an existing object
    I appreciate your help. Many thanks in advance!
    Regards,
    Radic

    You'd have to rename the table (using ALTER TABLE tablename RENAME TO othername; ) before you create the MV.
    You can't have both existing with the same name in the same schema.
    What you see in the GQ schema is that the "table" is the underlying table for the Materialized View.
    When you do a CREATE MATERIALIZED VIEW MY_MV AS ...
    Oracle creates two objects with the same name, one being the Materialized View MY_MV and the other being the table MY_MV which is the physical storage. {Remember that a Materialized View is a means of getting a physical representation of a View}.
    In the QQ schema what you have is either
    a. a real Table
    or
    b. an improperly dropped MV, resulting in the underlying Table still present.

  • I have changed my Apple ID name and I want to change it on iCloud, however I am not able to delete the previous account because I need to turn off the Find my iPhone - and for that I need to log in with the old name and that is not working. Help anyone?

    I have changed my Apple ID name and I want to change it on iCloud, however I am not able to delete the previous account because I need to turn off the Find my iPhone - and for that I need to log in with the old name and that is not working. Help anyone?

    Hey tulgan,
    This link will provide information on what to do after you change your Apple ID:
    Apple ID: What to do after you change your Apple ID
    http://support.apple.com/kb/HT5796
    Welcome to Apple Support Communities!
    Take care,
    Delgadoh

  • How do I rename one wrongly identified photo in Faces? I seem to only be able to merge two stacks of photos to the correct name, but that is not accurate. I only have one photo in a batch under a certain name, that is wrongly identified.

    How do I rename one wrongly identified photo in Faces? I seem to only be able to merge two stacks of photos to the correct name, but that is not accurate. I only have one photo in a batch under a certain name, that is wrongly identified.

    In iPhoto '11: Select the photo in the "Faces" stack, open the "Info" panel, click on the face name in the "faces" brick and then on the name below the face to edit the name.
    Regards
    Léonie

  • In a jsp page one name button that corresponding 5 TextField how to insert

    hi,
    In a jsp page one name button that corresponding 5 TextField how to insert values inthe database that 5 textfield values

    Hi use
    String s=request.getParameter("Text Filed Name");
    do this for all the Text Field..... Then use preparedSatatment for inserting that data inside the database.

  • I am not able to use the ftp export in Muse. When I enter my host, name and password, I get a long interlude of rainbow wheel and finally the message that my ftp host cannot be found. I have verified the name and that it is port 21. I can export to html a

    I am not able to use the ftp export in Muse. When I enter my host, name and password, I get a long interlude of rainbow wheel and finally the message that my ftp host cannot be found. I have verified the name and that it is port 21. I can export to html and use another ftp client to upload (to the same server) but this is tedious and making minor changes is painful. Have you encountered this and found a solution?

    Hi Susan,
    In that case I will recommend that you consult a local technician/IT team and see if there is some network connectivity issue with your machine.
    - Abhishek Maurya

  • I delete my google contact by fixing the duplicate names, after that I could not add back my contact ? but calendar and e mail works

    I delete my google contact by fixing the duplicate names, after that I could not add back my contact ? but calendar and e mail works

    On my old I phone 3 at the setting it show "mail,contacts, calendars, reminders" but why I phone 4 only show "mail calendar, notes" is this why I can not get my contact back to my phone?

  • Is it possible to list information , that i have shared(i.e documents, sites etc) with external user.

    Hi,
    Is it possible to list information , that i have shared(i.e documents, sites etc) with external user. 

    Hi
    We have two version of SharePoint, one the online version and the other on-premise installation
    In online version, we can invite external users(liveID and google users) to have access to site and documents. This feature is provided by ADFS server already configured OOB in online version
    Onpremise version does not have by default the feature to share with external users or customers. we have to extend the site and provide different identity providers.The identity provider can be Active directory,SQL server,Claims,ADFS server which
    will support liveID
    http://technet.microsoft.com/en-us/library/cc261698(v=office.14).aspx  
    Thanks
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • What if I accidentally deleted 1 contact Integrated messages is there a possible way of getting that conversation back?

    Help, What if I accidentally deleted 1 contact Integrated messages is there a possible way of getting that conversation back?

    I'm sorry to learn that an important conversation was deleted in error CDRINGL! As indicated by Snn5 (thanks!), it is not possible to retrieve deleted conversations.
    AntonioC_VZW
    Follow us on Twitter at www.twitter.com/VZWSupport

  • Clicking a file during "save as" changes name to that filename

    This is an old peeve about OS X.
    Do a save as... on this page. In the save dialog box, make sure you're in a subfolder (navigate into one if necessary). Also make sure you're in icon view or list view. Now assume you don't want to save the page into this folder, but in its parent. So you navigate up a level using command-up arrow or by clicking in the drop-down menu at the top of the dialog box.
    Now you are up a level but the selection is the subfolder you were in a moment ago.
    If you click "save" you'll be back in the subfolder, which you don't want.
    If you click on a different folder, you still can't click "save", or you'll be in that folder.
    If you try to "click off" by clicking on a filename, the name of the file you're saving will be replaced by the name of that file.
    If you have enough screen space, you can expand the dialog box until there's empty space in the file list, then click there. But this isn't always an option.
    You may be able to go up another level, and then down again into the folder you want, which will eliminate the selection, but this is crazy.
    What I'd really like to know is, does anyone find the italicized behavior above to be functional? If not, why does Mac OS still do this? (Note, it didn't do this prior to Mac OS X.) And is there a better approach than the ones I've given, to move up a level in the folder hierarchy when doing a save?

    Kurt, Steve, thanks for your answers. I think I see the reason for the discrepancy. The behavior doesn't happen when you use the popup menu. It does happen if you use command-up arrow to navigate to the parent folder.
    Again, if there aren't too many files in the parent folder, one workaround is to expand the save dialog box...but that requires you to take your hands off the keyboard. A lot of the time, I'm using command-s and would rather not pick up the mouse. And it may not even be an option, if the are a lot of files/folders in the parent folder.
    The "foolproof" approach, which can be done entirely at the keyboard, is to do command-up arrow twice, then navigate back down. But this is pretty clumsy and unintuitive.
    What bugs me about this isn't the danger of overwriting a file (somehow I've never fallen for that pitfall) but the annoyance of not being able save the file under the name provided, e.g. when saving a web page (or a PDF displayed in Safari) or doing right-click > save as (again, typically on a link to a PDF).
    I've never had a need to pick up a name from the Save (As) dialog box. So for me this feature is completely anti-functional, and I really wish there was an option or hack to disable it and let "click off" just remove the folder selection. Even better, if I could remove the folder selection using a (non-kludgy) keyboard approach.

Maybe you are looking for