Accessing children by index

if I create a symbol, go to the linkage window, set the
symbol's class name to myClass (which extends sprite), set it's
base class to Sprite, then create an instance of myClass in AS3, my
instance already has a child, of type shape, which presumably is
just an instance of my symbol.
this seems very problematic. if I want to then add and remove
children using indices, everything will be off by one (or more?
or, what if I at some point addChildAt(0)? then things get
worse
am I doing something wrong? should my symbol-extended objects
begin life w/ zero children?
if not, does that mean I should just stores my children in a
backing array and manipulate that? or do it strictly by obj
reference, as in removeChild(ref)?
thanks

that may cause some unexpected issue because it's not really
a sprite and it's not a movieclip.
anyway, each object created in the authoring environment has
a graphic child object of some sort. that shouldn't cause any
problems and doesn't interfere with accessing other child object
types once you recognize the shape is a child object.

Similar Messages

  • How to identify frequently accessed tables and indexes

    Hi,
    Could some one give me the exact queries to identify the frequently accessed Tabels and Indexes
    Regards
    Naveen

    Hi,
    depends from your definition of "frequently accessed" but i this you can use a query like this:
    select owner,object_name, sum( value)
    from V$SEGMENT_STATISTICS
    where OBJECT_TYPE='TABLE'
    and owner='NAVEEN_4_EX'
    and STATISTIC_NAME in ('logical writes','logical reads')
    group by owner,object_name
    h.h.
    Sam

  • CF8.0.1 Standard (32bit) on Leopard 10.5.7 - Don't have permission to access /CFIDE/administrator/index.cfm

    Attempting to install CF8.0.1 (32bit) on Leopard 10.5.7 server, keep getting error message "You don't have permission to access /CFIDE/administrator/index.cfm".  Followed instructions from CF release notes "CF 8 update 1" part 2.  Switched Apache from 64-bit to 32-bit mode (sudo lipo httpd -thin i386 -output httpd); using conf file (httpd.conf) in /etc/apache2.  *Am confused by these instructions: (a) instructions for installing 64-bit CF8.0.1 on Mac OS X Leopard say to use "etc/httpd" for 32-bit installations.  but (b) instructions found at end of document under Mac OS X Leopard say that you can configure 32-bit CF on Leopard, but you must use 64-bit Apache in 32-bit mode.... and the location for conf file (httpd.conf) is in "etc/apache2".
    I'm attempting to install/run CF8.0.1 Standard (32-bit) via Apache2 (32-bit mode), but am unable to get access to /CFIDE/administrator/index.cfm to finish installation.  File permissions for the CFIDE folder are System=RWX, Wheel=RX, Everyone=RX.  What am I missing here?

    I am having the same issue... Any help appreciated..

  • High cost of TABLE ACCESS BY LOCAL INDEX ROWID

    Hi,
    We are having a query which is running very slow, while checking the execution plan we found high cost on "TABLE ACCESS BY LOCAL INDEX ROWID"
    Db version : 11.2.0.1
    EBS version: 12.1.2
    Os version : Aix 6.1
    SID        : 567
    ADDRESS    : 07000004EB12A7A8
    HASH_VALUE : 556917643
    MODULE     : ora_rw20_run@erpprodapp (TNS V1-V3)
    PROGRAM    : ora_rw20_run@erpprodapp (TNS V1-V3)
    MACHINE    : erpprodapp
    CHILD CNT  : 2
    [  Current SQL  ]
    SELECT API.INVOICE_TYPE_LOOKUP_CODE
    ,   DECODE(API.INVOICE_TYPE_LOOKUP_CODE, 'CREDIT', 0, Z.AMT_VAL ) CREDIT_VAL, 0 ACCT_CR
    ,   API.EXCHANGE_RATE EXCHANGE_RATE
    ,   API.EXCHANGE_RATE_TYPE EXCHANGE_RATE_TYPE, API.INVOICE_CURRENCY_CODE INVOICE_CURRENCY_CODE
    ,   API.EXCHANGE_DATE EXCHANGE_DATE
    FROM AP_INVOICES_ALL API, AP_INVOICE_DISTRIBUTIONS_ALL APD, (SELECT NVL(SUM(APD.AMOUNT),0) AMT_VAL
    ,   API.INVOICE_ID
    FROM AP_INVOICES_ALL API, AP_INVOICE_DISTRIBUTIONS_ALL APD
    WHERE API.INVOICE_ID = APD.INVOICE_ID
    AND API.INVOICE_TYPE_LOOKUP_CODE <> :B6
    AND APD.MATCH_STATUS_FLAG = 'A'
    AND API.VENDOR_ID = :B5
    AND API.VENDOR_SITE_ID = :B4
    AND APD.ACCOUNTING_DATE < :B3
    AND (API.ORG_ID = :B2
    OR API.ORG_ID IS NULL)
    AND APD.LINE_TYPE_LOOKUP_CODE <> :B1
    GROUP BY API.INVOICE_ID) Z
    WHERE Z.INVOICE_ID = API.INVOICE_ID
    AND API.INVOICE_ID = APD.INVOICE_ID
    AND APD.ROWID = (SELECT ROWID
    FROM AP_INVOICE_DISTRIBUTIONS_ALL WHERE ROWNUM=1
    AND INVOICE_ID=APD.INVOICE_ID
    AND MATCH_STATUS_FLAG = 'A'
    AND ACCOUNTING_DATE < :B3 )
    AND API.INVOICE_TYPE_LOOKUP_CODE <> :B6
    AND APD.MATCH_STATUS_FLAG = 'A'
    AND API.VENDOR_ID = :B5 AND API.VENDOR_SITE_ID = :B4
    AND APD.ACCOUNTING_DATE < :B3
    AND (API.ORG_ID = :B2
    OR API.ORG_ID IS NULL)
    AND ((API.INVOICE_TYPE_LOOKUP_CODE <> :B9 )
    OR ( (API.INVOICE_TYPE_LOOKUP_CODE = :B9 ) AND ( NOT EXISTS (SELECT '1'
    FROM AP_INVOICE_PAYMENTS_ALL APP, AP_CHECKS_ALL APC
    WHERE APP.CHECK_ID = APC.CHECK_ID
    AND APP.INVOICE_ID = API.INVOICE_ID
    AND APC.PAYMENT_TYPE_FLAG = 'R' ) ) ) ) AND API.INVOICE_CURRENCY_CODE =NVL( :B8
    ,  API.INVOICE_CURRENCY_CODE)
    AND API.ACCTS_PAY_CODE_COMBINATION_ID = NVL(:B7 ,API.ACCTS_PAY_CODE_COMBINATION_ID) UNION ALL
    SELECT API.INVOICE_TYPE_LOOKUP_CODE, DECODE(API.INVOICE_TYPE_LOOKUP_CODE,'CREDIT'
    ,   DECODE(STATUS_LOOKUP_CODE,'VOIDED', APP.AMOUNT+ NVL(DISCOUNT_AMOUNT_TAKEN
    ,   0) , ABS(APP.AMOUNT)+ ABS(NVL(DISCOUNT_AMOUNT_TAKEN, 0)) )
    ,   0) CREDIT_VAL, 0 ACCT_CR, APC.EXCHANGE_RATE EXCHANGE_RATE
    ,   APC.EXCHANGE_RATE_TYPE EXCHANGE_RATE_TYPE
    ,   API.PAYMENT_CURRENCY_CODE INVOICE_CURRENCY_CODE, APC.EXCHANGE_DATE EXCHANGE_DATE
    FROM AP_INVOICES_ALL API, AP_INVOICE_PAYMENTS_ALL APP, AP_CHECKS_ALL APC
    WHERE APP.INVOICE_ID = API.INVOICE_ID
    AND APP.CHECK_ID = APC.CHECK_ID AND APC.STATUS_LOOKUP_CODE IN (:B15 ,:B14 ,:B13 ,:B12 ,:B11
    ,  :B10 )
    AND API.VENDOR_ID = :B5
    AND API.VENDOR_SITE_ID = :B4
    AND APP.ACCOUNTING_DATE < TRUNC(:B3 )
    AND ( API.ORG_ID = :B2
    OR API.ORG_ID IS NULL )
    AND EXISTS (
    SELECT '1'
    FROM AP_INVOICE_DISTRIBUTIONS_ALL APD , AP_INVOICE_LINES_ALL APIL
    WHERE APD.INVOICE_ID = API.INVOICE_ID
    AND APIL.INVOICE_ID = APD.INVOICE_ID
    AND APD.MATCH_STATUS_FLAG ='A'
    AND APIL.LINE_NUMBER = APD.INVOICE_LINE_NUMBER)
    AND API.INVOICE_CURRENCY_CODE =NVL( :B8 ,API.INVOICE_CURRENCY_CODE)
    AND API.ACCTS_PAY_CODE_COMBINATION_ID = NVL(:B7 ,API.ACCTS_PAY_CODE_COMBINATION_ID) UNION ALL
    SELECT 'LOSS' INVOICE_TYPE_LOOKUP_CODE, 0 CREDIT_VAL, DECODE(XAL.ACCOUNTING_CLASS_CODE
    ,  'LOSS', ACCOUNTED_DR,0) ACCT_CR
    ,   XAL.CURRENCY_CONVERSION_RATE EXCHANGE_RATE , XAL.CURRENCY_CONVERSION_TYPE EXCHANGE_RATE_TYPE
    ,   XAL.CURRENCY_CODE INVOICE_CURRENCY_CODE
    ,   XAL.CURRENCY_CONVERSION_DATE EXCHANGE_DATE
    FROM XLA_AE_LINES XAL, XLA_AE_HEADERS XAH, XLA_TRANSACTION_ENTITIES XTE, AP_INVOICES_ALL API
    WHERE XAL.APPLICATION_ID = 200
    AND XAL.AE_HEADER_ID = XAH.AE_HEADER_ID
    AND XAL.ACCOUNTING_CLASS_CODE IN ( :B18 ,:B17 )
    AND XAH.APPLICATION_ID = 200 AND XAH.ENTITY_ID = XTE.ENTITY_ID
    AND XTE.APPLICATION_ID = 200 AND XTE.ENTITY_CODE =:B16
    AND XTE.SOURCE_ID_INT_1 = API.INVOICE_ID
    AND API.VENDOR_ID = :B5
    AND API.VENDOR_SITE_ID = :B4
    AND XAH.ACCOUNTING_DATE < :B3
    AND (API.ORG_ID = :B2
    OR API.ORG_ID IS NULL )
    AND API.INVOICE_CURRENCY_CODE =NVL( :B8 ,API.INVOICE_CURRENCY_CODE)
    AND API.ACCTS_PAY_CODE_COMBINATION_ID = NVL(:B7 ,API.ACCTS_PAY_CODE_COMBINATION_ID) UNION ALL
    SELECT 'LOSS' INVOICE_TYPE_LOOKUP_CODE, 0 CREDIT_VAL, DECODE(XAL.ACCOUNTING_CLASS_CODE
    ,  'LOSS', ACCOUNTED_DR,0) ACCT_CR
    ,   XAL.CURRENCY_CONVERSION_RATE EXCHANGE_RATE , XAL.CURRENCY_CONVERSION_TYPE EXCHANGE_RATE_TYPE
    ,   XAL.CURRENCY_CODE INVOICE_CURRENCY_CODE
    ,   XAL.CURRENCY_CONVERSION_DATE EXCHANGE_DATE
    FROM XLA_AE_LINES XAL, XLA_AE_HEADERS XAH, XLA_TRANSACTION_ENTITIES XTE, AP_INVOICES_ALL API, AP_CHECKS_ALL AC
    ,   AP_INVOICE_PAYMENTS_ALL APP
    WHERE XAL.APPLICATION_ID = 200
    AND XAL.AE_HEADER_ID = XAH.AE_HEADER_ID
    AND XAL.ACCOUNTING_CLASS_CODE IN ( :B18 ,:B17 )
    AND XAH.APPLICATION_ID = 200
    AND XAH.ENTITY_ID = XTE.ENTITY_ID
    AND XTE.APPLICATION_ID = 200
    AND XTE.ENTITY_CODE = :B19
    AND XTE.SOURCE_ID_INT_1 = AC.CHECK_ID
    AND XAH.EVENT_ID = APP.ACCOUNTING_EVENT_ID
    AND API.INVOICE_ID = APP.INVOICE_ID AND APP.CHECK_ID = AC.CHECK_ID
    AND AC.STATUS_LOOKUP_CODE IN (:B15 ,:B14 ,:B13 , :B12 ,:B11 ,:B10 )
    AND API.VENDOR_ID = :B5
    AND API.VENDOR_SITE_ID = :B4
    AND XAH.ACCOUNTING_DATE < :B3
    AND (API.ORG_ID = :B2
    OR API.ORG_ID IS NULL )
    AND API.INVOICE_CURRENCY_CODE =NVL( :B8 ,API.INVOICE_CURRENCY_CODE)
    AND API.ACCTS_PAY_CODE_COMBINATION_ID = NVL(:B7
    ,  API.ACCTS_PAY_CODE_COMBINATION_ID)
    Plan hash value: 1352234085
    | Id  | Operation                                | Name                         | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Ps
    |   0 | SELECT STATEMENT                         |                              |       |       |  1904 (100)|          |       |
    |   1 |  UNION-ALL                               |                              |       |       |            |          |       |
    |   2 |   FILTER                                 |                              |       |       |            |          |       |
    |   3 |    NESTED LOOPS                          |                              |       |       |            |          |       |
    |   4 |     NESTED LOOPS                         |                              |     1 |    87 |    20   (5)| 00:06:09 |       |
    |   5 |      NESTED LOOPS                        |                              |     1 |    60 |    17   (6)| 00:05:14 |       |
    |   6 |       VIEW                               |                              |     1 |    18 |    15   (7)| 00:04:37 |       |
    |   7 |        HASH GROUP BY                     |                              |     1 |    54 |    15   (7)| 00:04:37 |       |
    |   8 |         NESTED LOOPS                     |                              |       |       |            |          |       |
    |   9 |          NESTED LOOPS                    |                              |     1 |    54 |    14   (0)| 00:04:19 |       |
    |  10 |           TABLE ACCESS BY INDEX ROWID    | AP_INVOICES_ALL              |     1 |    27 |    11   (0)| 00:03:23 |       |
    |  11 |            INDEX RANGE SCAN              | AP_INVOICES_N2               |    11 |       |     3   (0)| 00:00:56 |       |
    |  12 |           INDEX RANGE SCAN               | AP_INVOICE_DISTRIBUTIONS_N33 |     2 |       |     2   (0)| 00:00:37 |       |
    |  13 |          TABLE ACCESS BY INDEX ROWID     | AP_INVOICE_DISTRIBUTIONS_ALL |     1 |    27 |     3   (0)| 00:00:56 |       |
    |  14 |       TABLE ACCESS BY INDEX ROWID        | AP_INVOICES_ALL              |     1 |    42 |     2   (0)| 00:00:37 |       |
    |  15 |        INDEX UNIQUE SCAN                 | AP_INVOICES_U1               |     1 |       |     1   (0)| 00:00:19 |       |
    |  16 |      INDEX RANGE SCAN                    | AP_INVOICE_DISTRIBUTIONS_N33 |     1 |       |     2   (0)| 00:00:37 |       |
    |  17 |       COUNT STOPKEY                      |                              |       |       |            |          |       |
    |  18 |        TABLE ACCESS BY INDEX ROWID       | AP_INVOICE_DISTRIBUTIONS_ALL |     1 |    27 |     4   (0)| 00:01:14 |       |
    |  19 |         INDEX RANGE SCAN                 | AP_INVOICE_DISTRIBUTIONS_N33 |     2 |       |     3   (0)| 00:00:56 |       |
    |  20 |     TABLE ACCESS BY INDEX ROWID          | AP_INVOICE_DISTRIBUTIONS_ALL |     1 |    27 |     3   (0)| 00:00:56 |       |
    |  21 |    NESTED LOOPS                          |                              |       |       |            |          |       |
    |  22 |     NESTED LOOPS                         |                              |     1 |    17 |     6   (0)| 00:01:51 |       |
    |  23 |      TABLE ACCESS BY INDEX ROWID         | AP_INVOICE_PAYMENTS_ALL      |     1 |    10 |     4   (0)| 00:01:14 |       |
    |  24 |       INDEX RANGE SCAN                   | AP_INVOICE_PAYMENTS_N1       |     1 |       |     3   (0)| 00:00:56 |       |
    |  25 |      INDEX UNIQUE SCAN                   | AP_CHECKS_U1                 |     1 |       |     1   (0)| 00:00:19 |       |
    |  26 |     TABLE ACCESS BY INDEX ROWID          | AP_CHECKS_ALL                |     1 |     7 |     2   (0)| 00:00:37 |       |
    |  27 |   NESTED LOOPS SEMI                      |                              |     1 |   102 |    25   (0)| 00:07:41 |       |
    |  28 |    NESTED LOOPS                          |                              |     1 |   100 |    20   (0)| 00:06:09 |       |
    |  29 |     NESTED LOOPS                         |                              |     1 |    67 |    18   (0)| 00:05:32 |       |
    |  30 |      TABLE ACCESS BY INDEX ROWID         | AP_INVOICES_ALL              |     1 |    42 |    15   (0)| 00:04:37 |       |
    |  31 |       INDEX RANGE SCAN                   | AP_INVOICES_N7               |    15 |       |     3   (0)| 00:00:56 |       |
    |  32 |      TABLE ACCESS BY INDEX ROWID         | AP_INVOICE_PAYMENTS_ALL      |     1 |    25 |     3   (0)| 00:00:56 |       |
    |  33 |       INDEX RANGE SCAN                   | AP_INVOICE_PAYMENTS_N1       |     1 |       |     2   (0)| 00:00:37 |       |
    |  34 |     TABLE ACCESS BY INDEX ROWID          | AP_CHECKS_ALL                |     1 |    33 |     2   (0)| 00:00:37 |       |
    |  35 |      INDEX UNIQUE SCAN                   | AP_CHECKS_U1                 |     1 |       |     1   (0)| 00:00:19 |       |
    |  36 |    VIEW PUSHED PREDICATE                 | VW_SQ_1                      |     1 |     2 |     5   (0)| 00:01:33 |       |
    |  37 |     NESTED LOOPS                         |                              |     1 |    20 |     5   (0)| 00:01:33 |       |
    |  38 |      TABLE ACCESS BY INDEX ROWID         | AP_INVOICE_DISTRIBUTIONS_ALL |     1 |    11 |     4   (0)| 00:01:14 |       |
    |  39 |       INDEX RANGE SCAN                   | AP_INVOICE_DISTRIBUTIONS_N33 |     2 |       |     3   (0)| 00:00:56 |       |
    |  40 |      INDEX UNIQUE SCAN                   | AP_INVOICE_LINES_U1          |     1 |     9 |     1   (0)| 00:00:19 |       |
    |  41 |   NESTED LOOPS                           |                              |       |       |            |          |       |
    |  42 |    NESTED LOOPS                          |                              |     1 |   113 |  1825   (0)| 09:20:33 |       |
    |  43 |     NESTED LOOPS                         |                              |     1 |    79 |  1822   (0)| 09:19:38 |       |
    |  44 |      MERGE JOIN CARTESIAN                |                              |     1 |    50 |  1820   (0)| 09:19:01 |       |
    |  45 |       TABLE ACCESS BY INDEX ROWID        | AP_INVOICES_ALL              |     1 |    27 |    15   (0)| 00:04:37 |       |
    |  46 |        INDEX RANGE SCAN                  | AP_INVOICES_N7               |    15 |       |     3   (0)| 00:00:56 |       |
    |  47 |       BUFFER SORT                        |                              | 17282 |   388K|  1805   (0)| 09:14:24 |       |
    |  48 |        PARTITION LIST SINGLE             |                              | 17282 |   388K|  1805   (0)| 09:14:24 |   KEY |
    |  49 |         TABLE ACCESS BY LOCAL INDEX ROWID| XLA_AE_HEADERS               | 17282 |   388K|  1805   (0)| 09:14:24 |     1 |
    |  50 |          INDEX RANGE SCAN                | XLA_AE_HEADERS_N5            |  5445 |       |   100   (0)| 00:30:43 |     1 |
    |  51 |      PARTITION LIST SINGLE               |                              |     1 |    29 |     2   (0)| 00:00:37 |   KEY |
    |  52 |       TABLE ACCESS BY LOCAL INDEX ROWID  | XLA_TRANSACTION_ENTITIES     |     1 |    29 |     2   (0)| 00:00:37 |     1 |
    |  53 |        INDEX UNIQUE SCAN                 | XLA_TRANSACTION_ENTITIES_U1  |     1 |       |     1   (0)| 00:00:19 |     1 |
    |  54 |     PARTITION LIST SINGLE                |                              |     1 |       |     2   (0)| 00:00:37 |   KEY |
    |  55 |      INDEX RANGE SCAN                    | XLA_AE_LINES_U1              |     1 |       |     2   (0)| 00:00:37 |     1 |
    |  56 |    TABLE ACCESS BY LOCAL INDEX ROWID     | XLA_AE_LINES                 |     1 |    34 |     3   (0)| 00:00:56 |     1 |
    |  57 |   NESTED LOOPS                           |                              |       |       |            |          |       |
    |  58 |    NESTED LOOPS                          |                              |     1 |   151 |    30   (0)| 00:09:13 |       |
    |  59 |     NESTED LOOPS                         |                              |     1 |   135 |    28   (0)| 00:08:37 |       |
    |  60 |      NESTED LOOPS                        |                              |     1 |   101 |    25   (0)| 00:07:41 |       |
    |  61 |       NESTED LOOPS                       |                              |     1 |    72 |    23   (0)| 00:07:04 |       |
    |  62 |        NESTED LOOPS                      |                              |     1 |    43 |    18   (0)| 00:05:32 |       |
    |  63 |         TABLE ACCESS BY INDEX ROWID      | AP_INVOICES_ALL              |     1 |    27 |    15   (0)| 00:04:37 |       |
    |  64 |          INDEX RANGE SCAN                | AP_INVOICES_N7               |    15 |       |     3   (0)| 00:00:56 |       |
    |  65 |         TABLE ACCESS BY INDEX ROWID      | AP_INVOICE_PAYMENTS_ALL      |     1 |    16 |     3   (0)| 00:00:56 |       |
    |  66 |          INDEX RANGE SCAN                | AP_INVOICE_PAYMENTS_N1       |     1 |       |     2   (0)| 00:00:37 |       |
    |  67 |        PARTITION LIST SINGLE             |                              |     1 |    29 |     5   (0)| 00:01:33 |   KEY |
    |  68 |         TABLE ACCESS BY LOCAL INDEX ROWID| XLA_AE_HEADERS               |     1 |    29 |     5   (0)| 00:01:33 |     1 |
    |  69 |          INDEX RANGE SCAN                | XLA_AE_HEADERS_N2            |     1 |       |     2   (0)| 00:00:37 |     1 |
    |  70 |       PARTITION LIST SINGLE              |                              |     1 |    29 |     2   (0)| 00:00:37 |   KEY |
    |  71 |        TABLE ACCESS BY LOCAL INDEX ROWID | XLA_TRANSACTION_ENTITIES     |     1 |    29 |     2   (0)| 00:00:37 |     1 |
    |  72 |         INDEX UNIQUE SCAN                | XLA_TRANSACTION_ENTITIES_U1  |     1 |       |     1   (0)| 00:00:19 |     1 |
    |  73 |      PARTITION LIST SINGLE               |                              |     1 |    34 |     3   (0)| 00:00:56 |   KEY |
    |  74 |       TABLE ACCESS BY LOCAL INDEX ROWID  | XLA_AE_LINES                 |     1 |    34 |     3   (0)| 00:00:56 |     1 |
    |  75 |        INDEX RANGE SCAN                  | XLA_AE_LINES_U1              |     1 |       |     2   (0)| 00:00:37 |     1 |
    |  76 |     INDEX UNIQUE SCAN                    | AP_CHECKS_U1                 |     1 |       |     1   (0)| 00:00:19 |       |
    |  77 |    TABLE ACCESS BY INDEX ROWID           | AP_CHECKS_ALL                |     1 |    16 |     2   (0)| 00:00:37 |       |
    XLA_AE_HEADERS is a table partition
    Regards,
    Gaurav

    Thanks for the prompt reply.
    XLA_AE_HEADERS is a table partition and showing high cost on TABLE ACCESS BY LOCAL INDEX ROWID similarly XLA_TRANSACTION_ENTITIES is also a table partion
    OWNER    SEGMENT_NAME                   SEGMENT_T BYTES/1024/1024
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR        2014.375
    XLA      XLA_AE_HEADERS                 TABLE PAR          4424.5
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125
    XLA      XLA_AE_HEADERS                 TABLE PAR          10.125
    XLA      XLA_AE_HEADERS                 TABLE PAR            .125

  • How do you get a topic to open in a custom window when accessed from the index?

    I right click on an index key word and open Properties. There is only one topic associated with this key word. I click on the Advanced tab, select the custom window that I created. Click OK, compile, etc.
    When I try to access this topic from the index, it still opens in the default pane. When I access it from the TOC, it opens in the custom window. How can I get the topic to open in the custom window from the index?
    Thanks!
    Sue

    Hello,
    The link might not work in Preview (When the option to open link in new tab is checked) however it will work if you do a File>Preview page/site in Browser.
    Muse Preview has only one tab and cannot open another tab/window which is why this functionality does not work in Muse Preview. but works in preview in Browser and in published site.
    Regards,
    Sachin

  • How to access cataloged pdf index on the Web

    I have indexed a pdf catalog, then copied the results to a Web server.  I can access the individual pdf files okay, but neither Acrobat Pro nor Reader can read the index.  How do I do it?  Thanks!

    You need to EMBED the index file in the PDF.  Here is a helpful blog posting that explains it:  Speed up PDF Search with an Embedded Index

  • Explicit access of the index in bulk bind forall

    Hi
    I wonder if it is possible to access the index itself in a bulk bind. For instance:
    SQL> desc draft_responces;
    Name Type Nullable Default Comments
    S_NUMBER VARCHAR2(10)
    CLUSTER_ID NUMBER
    STATEMENT_ID NUMBER
    RESPONCE NUMBER Y
    RESP_NUM NUMBER Y
    and I wished to insert the responce number i into the resp_num:
    forall i in indices of p_statement_ids
    insert into draft_responces
    s_number
    ,cluster_id
    ,statement_id
    ,responce
    ,resp_num)
    values (
    p_snumber
    ,p_cluster_id
    ,p_statement_ids(i)
    ,p_responces(i)
    , i );
    which fails ... is it possible to access the index i in a bulk bind explicitly?
    thanks

    finophile wrote:
    Hi
    I wonder if it is possible to access the index itself in a bulk bind. For instance:
    SQL> desc draft_responces;
    Name Type Nullable Default Comments
    S_NUMBER VARCHAR2(10)
    CLUSTER_ID NUMBER
    STATEMENT_ID NUMBER
    RESPONCE NUMBER Y
    RESP_NUM NUMBER Y
    and I wished to insert the responce number i into the resp_num:
    forall i in indices of p_statement_ids
    insert into draft_responces
    s_number
    ,cluster_id
    ,statement_id
    ,responce
    ,resp_num)
    values (
    p_snumber
    ,p_cluster_id
    ,p_statement_ids(i)
    ,p_responces(i)
    , i );
    which fails ... is it possible to access the index i in a bulk bind explicitly?
    thanksHi,
    according to the documentation index is the "Name for the implicitly declared integer variable that is local to the FORALL statement. Statements outside the FORALL statement cannot reference index. Statements inside the FORALL statement can reference index as an index variable, *but cannot use it in expressions* or change its value. After the FORALL statement runs, index is undefined."
    So it appears the answer is no. You can get around this by using an ordinary for loop, though you don't get the benefit of bulk operations.
    Andre

  • Error in accessing ResultSet - Descriptor index not valid SQL Exception

    Hi
    I am trying to execute a procedure in java and try to access the result set, but it is giving out Descriptor index not valid SQL Exception.
    While printing the first record the error is thrown the code is as follows. Any help would be appreciated. Thanks in Advance.
    1 . The Procedure
    CREATE PROCEDURE library.fetchssncursor()
    RESULT SETS 1
    LANGUAGE SQL
    BEGIN
    DECLARE c1 CURSOR WITH RETURN FOR
    SELECT * FROM VBPLTC.LTCP_DUMMY;
    open c1;
    END;2. Java Class
    public class TestFunction2
    public void getPassThruReport()
         Connection objConnection=null;
         ResultSet rs=null;
         CallableStatement callableStatement=null;
         try
              List returnList=new ArrayList();
              DriverManager.registerDriver(new com.ibm.as400.access.AS400JDBCDriver());
              objConnection = DriverManager.getConnection("URL","USERID","PWD");
              callableStatement  = objConnection.prepareCall("{call fetchssncursor() }");
               System.out.println("Got Connection "+ objConnection.toString()); 
                 callableStatement.execute();
                 rs = callableStatement.getResultSet();
                 // callableStatement.executeQuery (); i also tried this
                if(rs!=null)
                  while(rs.next())
                       System.out.println(rs.getString(1)+","+rs.getString(2)+","+rs.getInt(3)+","+rs.getInt(4));
         catch(SQLException e)
              System.out.println("SQLException "+e);
         catch(Exception e)
              System.out.println("Exception "+e);
         finally
              try
                   if(rs!=null)     
                   rs.close();
                   if(objConnection!=null)
                   objConnection.close();
               catch (SQLException e) {
    public static void main(String args[])
           TestFunction2 obj = new TestFunction2();
           obj.getPassThruReport();
    }3. Output
    Got Connection S101C3DE
    shar,Sharath,123456,1 <------------- records
    SQLException java.sql.SQLException: Descriptor index not valid.(1574
    ****************************************

    http://www-03.ibm.com/servers/eserver/iseries/toolbox/troubleshooting.htm

  • Accessing children of children

    Hey!
    for some reason STORAGE[0].getChildAt(0) works whereas liner.getChildAt(0).getChildAt(0) does not. STORAGE is a movieclip and a child of liner. the error is something about not being able to use getChildAt on a display object.
    what's wrong? is there any other approach i could use?
    PS: liner.getChildAt(0) works and does indeed seem to refer to STORAGE[0]
    thanks!!

    What do you mean when you say "liner.getChildAt(0) works and does indeed seem to refer to STORAGE[0]"... in what ways does it work and seem?  You might find out that what you believe is STORAGE[0] is not.
    Try using...
    trace(DisplayObjectContainer(liner.getChildAt(0)).getChildAt(0));
    and see what comes up.
    If you have direct access to the objects via the STORAGE array there is no need to be trying to reach them via whatever you might have added them as children.  The reference in the array is a direct line to them.
    You should show the code that creates this system so that it is clearer what each element is and from where each arises.  If you are getting an error message, include the complete message.

  • Accessing children on frames after gotoAndStop

    Hi
    I have an SWF file where I want to access symbol instances on
    frame 2.
    I have noticed that after I call gotoAndStop(2); it takes a
    little while before the symbol instances are instantiated.
    I get null ref exceptions if I immediately access the
    children on a frame after calling gotoAndStop, but if I wait a bit
    it works, because it seems as if the children have had time to be
    instantiated, see examples below.
    I prefer not to rely on delaying my code, but would rather
    prefer to listen for an event that could notify me when a frame is
    properly "initialised", that is, when all symbol instances have
    been instantiated. Is there such an event and if not, is there
    another solution ?
    Examples:
    mc2 is a movieclip.
    1) This gives null exceptions because the child of frame 2 is
    null when accessed.
    mc2.gotoAndStop(2);
    for(var i:int = 0; i < mc2.numChildren; ++i)
    var child:DisplayObject = mc2.getChildAt(i)
    trace(child.name);
    trace("done");
    But it works if I wait a bit, because apparently I have
    waited enough to allow the child to become instantiated:
    mc2.gotoAndStop(2);
    var intervalId:int = setInterval(callback,100);
    function callback():void
    clearInterval(intervalId);
    for(var i:int = 0; i < mc2.numChildren; ++i)
    var child:DisplayObject = mc2.getChildAt(i)
    trace(child.name);
    trace("callback done");
    trace("done");
    Is there an event that can be used instead of relying on some
    delay ?
    Best regards Stig Nielsson

    My guess is that you are waiting for the timeline to advance
    to frame 2, which doesn't happen instantly, it follows the frames
    per second rate you establish for the file. If the frame 2 clips
    don't exist in frame 1 but that's where your code (which does act
    instantly) starts looking for them, then it was probably looking at
    frame 1 when it ran the code.

  • Accessing a list index in a field value

    Howdy all,
    I am setting up a field loop on a form I am modifying. It is the Question Login form. Instead of looping through all the questions, I am calling a rule to return a list of indexes. The indexes are actual int values. For the field names and values of the questions, I am using references that look like "questions[#$(index)].question". When I view the form using Tools -> Test, it is showing the right number of rows. When I view the form by pushing the "Forgot Your Password?" button on the IdM login, I don't see any of the questions. Does anyone have any ideas why this might be? It seems like it should work!
    Thanks,
    Jim

    Well, like most things in IdM, I was able to get it to work, sort of....
    I stopped trying to reference the rule, and instead unrolled the rule logic in the <expresion> for the field loop. This works pretty good. For the question display, my custom policy is now being played out. Basically we are requiring question #0. With the first question we prompt for an student ID value. Then two random questions chosen from the next 5 questions. Finally, the question at index #6, the first user supplied question is asked.
    So far so good.
    Now, the problem comes when I try to authentication using the questions! I was testing with the policy of all questions being required. This seemed not to work, every time I submited the new form, it would give me the error "One or more Questions not answered." Sooo... then I went back to the random question policy with the same number of questions I answered (4). This became problematic because now my questions[*] array only contained 4 random questions. There was no guarentee the ones I require were there, and my rules that generate random indexes were generating indexes greater then 3, so there was no guarentee that all 4 questions would even show. So now I've settled on the 'any' option for required questions. Here's where it gets weird. If I specify 4 required answers to any questions, then I ALWAYS get "You must correctly answer at least 4 questions". Which I am. 3 policy supplied ones and 1 user supplied question. I've double and tripple checked my answers, to make sure they are correct. If I set it to 3 questions then it sometimes works and sometimes doesn't. It is very inconsistant. Sometimes I'll answer all 4 questions and it will still say "You need to answer atleast 3 questions". I can't make it act consistantly at all. I'm pretty much out of ideas at this point....

  • Accessing children of element created with PopUpManager

    My application has 2 files. First one is main application, second one is custom component (Popup) used to create popup windows. I would like to know how can i access ViewStack element (has id assigned to "vs") in popup from main application.
    NB! Lot of code has been removed for readability!
    application.mxml
    <s:Application creationComplete="init()">
         <fx:Script>
              <![CDATA[
                        public function init():void{
                             var popup:TitleWindow = PopUpManager.createPopUp(this , Popup , false) as TitleWindow;
                             trace(popup.vs , "It's not working!!");
              ]]>
         </fx:Script>
    </s:Application>
    Popup.mxml
    <s:TitleWindow>
         <mx:ViewStack id="vs">
         </mx:ViewStack>
    </s:TitleWindow>

    <s:Application creationComplete="init()">
         <fx:Script>
              <![CDATA[
                        public function init():void{
                             var popup:Popup= PopUpManager.createPopUp(this , Popup , false) as Popup;
                             popup.vs // should get access
              ]]>
         </fx:Script>
    </s:Application>
    Can you please try the above.

  • Accessing Children of VBox

    Hello All,
    I have dynmaically created some CheckBox's and added them to a VBOX.
    What i want to do is create a function that will iterate through them all and deselect. I have got this far:
    private function clearSelection():void
                for (var i:int = 0; i < campaignRadioButtons.numChildren; i++) {
                    var tmpCheckBox:CheckBox = new CheckBox
                    tmpCheckBox = CheckBox(campaignRadioButtons.getChildAt(i));
                    trace (tmpCheckBox.label);
    Ok so this at the moment returns all of the labels. What I want to do is get access to the 'selection' attrubute and set it to false. How do I do this?.. without having to re add them all over again.
    Thanks

    private function clearSelection():void
        var n:int = campaignRadioButtons.numChildren;
        for (var i:int = 0; i < n; i++)
            var tempCheckBox:CheckBox = CheckBox(campaignRadioButtons.getChildAt(i));
            tempCheckBox.selected = false;
    Note: DON'T do
    private function clearSelection():void
        var n:int = campaignRadioButtons.numChildren;
        for (var i:int = 0; i < n; i++)
            var tempCheckBox:CheckBox = new CheckBox();
            tempCheckBox = CheckBox(campaignRadioButtons.getChildAt(i));
            tempCheckBox.selected = false;
    This needlessly creates n new CheckBox instances and frees them when the reference to the ith new CheckBox in tempCheckBox is overwritten with the reference to the ith existing CheckBox.
    Gordon Smith
    Adobe Flex SDK Team

  • Customclass accessing children

    Hi there,
    I made a search looking for custom class problems but didn`t find anything about what I`m having trouble with. Witch I thought to be pretty weird. I think I may be doing something stupid.
    I have a customScrollBar_mc in my library which consists of 2 movieclips instanced as mcBar and mcBackGround.
    I exported customScrollBar_mc for actionscript with a custom class attached to it called CustomScrollBar and I UNchecked the export in frame 1 option (I left only the preloader things with that checked).
    Well, I made my CustomScrollBar class but the problem is. If I try something like this in its constructor
    mcBar.height = 10; or
    mcBackGround.width = 10;
    Flash tells me that those instances doesn`t exist.
    How can I make flash recognize them ?
    Here is some structure information:
    Project organization
    /Project
       /bin
       /src
         Main.as
         /sessions
           CustomScrollBar.as
           Session.as this class instances CustomScrollBar
    Export SWC is checked.
    Sourcepaths added are /src and /src/sessions
    Automatically declare stage instances is UNchecked.
    All my files have no PACKAGE especification (if I add "sessions" to the package name it tells me that it doesn`t especify the real location of the files. Don`t know why this happends.)
    Could anyone please help me with this ?
    Thanks in advance,
    Oscar

    Hi there, the topic was on the 4th page so I decided to make some screenshots and explain better this so it would be easier to help me out.
    I don`t have a clue about it and I just crossed a point where I can`t go any further without this.
    I took a photo of my publish settings, library, movieclip properties andproject folder so you can understand what is happening.
    First of all, the problem is related to the topico_mc movieclip (translation: topic_mc)
    topico_mc is composed by:
    movieclip topico_quadrado_mc (translation: square_topic_mc) that is just a small square: mcSquare
    dynamic text: dynText
    I export it to actionscript with class name TopicosFlash and unchecked export in frame 1 (I tested with this checked too). I also tried browsing my symbol in the Source field just as shown in the screenshot.
    I make the TopicosFlash.as file, make it extends movie clip and add a simple code to the constructor: mcSquare.alpha = 1
    In the document class I simply add it: addchild(new TopicosFlash());
    The issue: mcSquare is a undefined property
    Screenshot:
    Trying to solve this I found some things that for me were strange:
    1) If I don`t make the TopicosFlash.as file, the movieclip is added with no problems.
    2) If I make the TopicosFlash.as file but let it empty flash throw an error: Cannot create property dynText on TopicosFlash.
    3) If I make the file, it gives the mcSquare undefined error.
    Sorry for the bad words but wtf is going on?
    I really am not being able to understand this and I can`t find any answers anywhere.
    Thanks in advance,
    Oscar

  • Oracle 9.2 prefers Table Access Full over Local Index by rowid access

    There's this table that has phone call records (30 million per day) that is partitioned by month (using the date column) and stores the last 6 months.
    The primary key is date (varchar2 in yymmdd format) + call_id (a varchar2(18) with a format like this yyyymmdd+<3letters>+<sequentialnumber>)
    The partition is by range like this:
    PARTITION BY RANGE (FECHA)
    PARTITION P200804 VALUES LESS THAN ('080501')
    LOGGING
    NOCOMPRESS,
    If I run this query I get this plan
    SELECT FECHA, SENTIDOTRAFICO,GEOGRAFIAID,SWITCHID,TIPOTRAFICOID,COUNT(*)
    FROM GES_CDRS_RCNG_NEW
    WHERE FECHA BETWEEN '080801' AND '080825'
         AND TASACION IS NULL
         AND BORRADO IS NULL
    GROUP BY FECHA, SENTIDOTRAFICO,GEOGRAFIAID,SWITCHID,TIPOTRAFICOID
    Plan
    SELECT STATEMENT CHOOSECost: 78 K Bytes: 24 K Cardinality: 1 K           
         2 SORT GROUP BY Cost: 78 K Bytes: 24 K Cardinality: 1 K      
              1 TABLE ACCESS FULL GESTION.GES_CDRS_RCNG_NEW Cost: 43 K Bytes: 625 M Cardinality: 31 M Partition #: 2 Partitions accessed #5
    If I hint the primary key index using /*+INDEX(GES_CDRS_RCNG_NEW PK_CDRS_RCNG_NEW)*/
    I get a different plan
    Plan
    SELECT STATEMENT CHOOSECost: 954 K Bytes: 24 K Cardinality: 1 K                
         3 SORT GROUP BY Cost: 954 K Bytes: 24 K Cardinality: 1 K           
              2 TABLE ACCESS BY LOCAL INDEX ROWID GESTION.GES_CDRS_RCNG_NEW Cost: 918 K Bytes: 625 M Cardinality: 31 M Partition #: 2 Partitions accessed #5     
                   1 INDEX RANGE SCAN UNIQUE GESTION.PK_CDRS_RCNG_NEW Cost: 137 K Cardinality: 31 M Partition #: 3 Partitions accessed #5
    Looking at the cost, the full scan is way better, but this is obviously not the case. Why does this happen?
    This problem forces many querys on this table to use hints or force the index use by adding conditions to the where clause like this
    where fecha = '080801'
    and clave like '20080801%'
    when just by stating the date would be enough to choose the correct partition. It also messes up joins with other tables.
    The table is analized every month, it has statistics that claim: 237,981,000 rows, 3,222,677 blocks, GLOBAL STATS: YES, LAST ANALYZED: 15/10/2008 21:05:26, Average row length: 213.
    The partition envolved in this query has this stats: 32,520,520 rows, 442,715 blocks, analized on 27/08/2008 20:43:40
    The index has this stats: analized on 15/10/2008 21:35:32, Blevel: 3, leaf blocks: 1,056,410, distinct keys: 238,484,510.
    It is a local index and each partition has its own statistics.

    If I don't understand incorrectly the plan and the Predicater information, it seems the full scan version that costs less is actually doing a full scan from the biggining of the table (6 months) up to the 080825 date and the one using an index (hinted) does a better scan.
    without hint
    | Id  | Operation            |  Name              | Rows  | Bytes | Cost  | Pstart| Pstop |
    |   0 | SELECT STATEMENT     |                    |  1170 | 24570 | 78443 |       |       |
    |   1 |  SORT GROUP BY       |                    |  1170 | 24570 | 78443 |       |       |
    |*  2 |   TABLE ACCESS FULL  | GES_CDRS_RCNG_NEW  |    31M|   625M| 42579 |     5 |     5 |
    Predicate Information (identified by operation id):
       2 - filter("GES_CDRS_RCNG_NEW"."FECHA"<='080825')
    Note: cpu costing is offWith the hint:
    | Id  | Operation                          |  Name              | Rows  | Bytes | Cost  | Pstart| Pstop |
    |   0 | SELECT STATEMENT                   |                    |  1170 | 24570 |   953K|       |       |
    |   1 |  SORT GROUP BY                     |                    |  1170 | 24570 |   953K|       |       |
    |   2 |   TABLE ACCESS BY LOCAL INDEX ROWID| GES_CDRS_RCNG_NEW  |    31M|   625M|   918K|     5 |     5 |
    |*  3 |    INDEX RANGE SCAN                | PK_CDRS_RCNG_NEW   |    31M|       |   136K|     5 |     5 |
    Predicate Information (identified by operation id):
       3 - access("GES_CDRS_RCNG_NEW"."FECHA">='080801' AND "GES_CDRS_RCNG_NEW"."FECHA"<='080825')
    Note: cpu costing is off

Maybe you are looking for

  • Events - adding more than one person

    Hi there guys, I'm sure there's a simple answer to this: I've created an event. I've got a limit of 20 people. I have a web form associated with that event. On the form - how can I allow one person to book e.g. 2 or 3 people into that event? I don't

  • Ipad Disabled, I know my password, never sync'd it to itunes, wont connect to itunes...

    Title technically explains everything but here is the story.... Some idiot at work tried to guess my password on my iPad; he tried enough times that it disabled it. I have never sync'd my iPad to iTunes. I DO know my password. I installed iTunes on m

  • Why rmiregistry & Server must start in the same directory.

    I have 2 servers & one rmiregisty for both. I want to start this servers separetely from different directories. But if I try to start server from the directory other than where I've already started rmiregistry the server doesn't bind. Please, can any

  • Problem with camera imaging

    My camera is having some serious image issues. For some reason, the screen/photos look really grainy and like static you get with bad reception on a tv. I tried both the front and back lens and they both have the same problem. have any of you had exp

  • Fascinate won't start unless plugged in

    My Samsung Fascinate won't start unless plugged in. Even with a full battery. It shows a dead battery and won't start.