Need help fading out a sound object.

On the first frame of my movie, I have the following text:

mySound = new Sound();
mySound.attachSound ("music");
mySound.start ("", 999); starts the background music

myVoice = new Sound();
myVoice.attachSound ("voice");


Later in the film, I have

myVoice.start ("", 1); play the voices above




Little followed in another setting of:

this.onEnterFrame = function() {/ / assign melted on the onEnterFrame event code}
Configure
So = mySound; the sound object you want to target path value
rate = 5; Choose the number between 1 and 100

newVolume = so.getVolume () - rate; subtract the price of current volume
If (newVolume > 0) {/ / or melted yet}
so.setVolume (newVolume); the newVolume value for the volume

} else {/ / full fade}
so.setVolume (0) / / reset to 0 to prevent the negative values
this.onEnterFrame = null; stop the loop
}
}


When the fade the code runs, it performs as well fade background music and voice over. What I want is background music to falter while the voice more parts at full volume.


Any help would be greatly appreciated.

You must set your two sound objects on two different timelines in order to control them independently.

the timeline that you designate in your new Sound() return. When you omit designation explicit timeline, flash uses the current timeline or:

Tags: Adobe Animate

Similar Questions

  • Need help with outer join

    Hello

    I have a requirement in which I need to get data from a third table where a date of the third table is higher than a date in the second array.

    Ex:

    SELECT t1.column1, t3.column2
    FROM t1, t2, t3
    WHERE t1.id = t2.foreign_id
    AND t1.id ( + ) = t3.foreign_id
    AND t3.some_date_column > t2.another_date_column
    
    

    However, using the query above returns no results if the date condition is not met. I still need to show t1.column1 and a null t3.column2.

    How should I do this?

    Thank you

    Allen

    Edit: Added information about the requirement.

    Hi Allen

    1. SELECT t1.column1, t3.column2
    2. T1, t2, t3
    3. WHERE t1.id = t2.foreign_id
    4. AND t1.id = t3.foreign_id (+)
    5. AND t3.some_date_column (+) > t2.another_date_column

    I guess that this t1.column1 must not be null. Or am I wrong? The + sign must be placed on the side where draws are accepted. You must repeat it for each condition on the table.

    Alternativlely you can use the LEFT OUT JOIN syntax. If the two columns are allowed null you need a FULL OUTER JOIN.

    BTW: The join to t2 is not required if a refefernce constraint forced.

  • need help with outer join filter.

    Need a little help to filter a result set and I can't seem to find a good way to do this.
    /*table*/
    
    create table invoice( farinvc_invh_code varchar2(100),
                                  farinvc_item varchar2(100),
                                  farinvc_po varchar2(100)
                                  )
       create table po( 
            supplier_number varchar2(60),
            supplier_invoice_no varchar2(60),
            po_number varchar2(60),
            run_date varchar2(60),
            PO_LINE_NUMBER varchar2(60) );
    /*data*/
    
    INSERT INTO "INVOICE" (FARINVC_INVH_CODE, FARINVC_ITEM, FARINVC_PO_ITEM) VALUES ('I0554164', '1', 'P0142245');
    INSERT INTO "INVOICE" (FARINVC_INVH_CODE, FARINVC_ITEM, FARINVC_PO_ITEM) VALUES ('I0554164', '3', 'P0142245');
    INSERT INTO "INVOICE" (FARINVC_INVH_CODE, FARINVC_ITEM, FARINVC_PO) VALUES ('I0554165', '1', 'P0142246');
    INSERT INTO "INVOICE" (FARINVC_INVH_CODE, FARINVC_ITEM, FARINVC_PO) VALUES ('I0554165', '2', 'P0142246');
    
    
    
    
    
    INSERT INTO "PO" (SUPPLIER_NUMBER, SUPPLIER_INVOICE_NO, PO_NUMBER, RUN_DATE, PO_LINE_NUMBER) VALUES ('914100121', '529132260', 'P0142245', '21-NOV-12', '1');
    INSERT INTO "PO" (SUPPLIER_NUMBER, SUPPLIER_INVOICE_NO, PO_NUMBER, RUN_DATE, PO_LINE_NUMBER) VALUES ('914100121', '529137831', 'P0142245', '21-NOV-12', '3');
    INSERT INTO "PO" (SUPPLIER_NUMBER, SUPPLIER_INVOICE_NO, PO_NUMBER, RUN_DATE, PO_LINE_NUMBER) VALUES ('914100121', '529137831', 'P0142245', '21-NOV-12', '2');
    INSERT INTO "PO" (SUPPLIER_NUMBER, SUPPLIER_INVOICE_NO, PO_NUMBER, RUN_DATE, PO_LINE_NUMBER) VALUES ('914100122', '145678', 'P0142246', '22-NOV-12', '1');
    INSERT INTO "PO" (SUPPLIER_NUMBER, SUPPLIER_INVOICE_NO, PO_NUMBER, RUN_DATE, PO_LINE_NUMBER) VALUES ('914100122', '145679', 'P0142246', '22-NOV-12', '2');
    query execution of im.

    SELECT  farinvc_invh_code,
                    supplier_number,
                    supplier_invoice_no,
                    farinvc_item, 
                    farinvc_po ,
                    po_number,
                    run_date,
                    PO_LINE_NUMBER
            FROM INVOICE, PO
            WHERE PO_NUMBER = FARINVC_PO(+)
            AND FARINVC_ITEM(+) = PO_LINE_NUMBER
            
    result
    "FARINVC_INVH_CODE"           "SUPPLIER_NUMBER"             "SUPPLIER_INVOICE_NO"         "FARINVC_ITEM"                "FARINVC_PO"                  "PO_NUMBER"                   "RUN_DATE"                    "PO_LINE_NUMBER"              
    "I0554165"                    "914100122"                   "145678"                      "1"                           "P0142246"                    "P0142246"                    "22-NOV-12"                   "1"                           
    "I0554165"                    "914100122"                   "145679"                      "2"                           "P0142246"                    "P0142246"                    "22-NOV-12"                   "2"                           
    "I0554164"                    "914100121"                   "529132260"                   "1"                           "P0142245"                    "P0142245"                    "21-NOV-12"                   "1"                           
    "I0554164"                    "914100121"                   "529137831"                   "3"                           "P0142245"                    "P0142245"                    "21-NOV-12"                   "3"                           
    ""                            "914100121"                   "529137831"                   ""                            ""                            "P0142245"                    "21-NOV-12"                   "2"                           
    It is a much larger table, and I took an excerpt in order to keep things clear and understanding. I would like to filter the result set to only show lines that have po numbers are the same and line are the same but there is an additional element. in other words as such.
    "FARINVC_INVH_CODE"           "SUPPLIER_NUMBER"             "SUPPLIER_INVOICE_NO"         "FARINVC_ITEM"                "FARINVC_PO"                  "PO_NUMBER"                   "RUN_DATE"                    "PO_LINE_NUMBER"              
    "I0554164"                    "914100121"                   "529132260"                   "1"                           "P0142245"                    "P0142245"                    "21-NOV-12"                   "1"                           
    "I0554164"                    "914100121"                   "529137831"                   "3"                           "P0142245"                    "P0142245"                    "21-NOV-12"                   "3"                           
    ""                            "914100121"                   "529137831"                   ""                            ""                            "P0142245"                    "21-NOV-12"                   "2"                           

    Hello

    Let me assure you that I understand.
    Last time, we were looking for the PO_NUMBERs who have been partially put into correspondence , i.e. groups of rows in the order table with the same po_number, which some had corresponding lines in the table Bill, and some of whom have not. It was essential that there is at least 1 line and 1 row without connections with the same purchase order.
    Now that you are interested SUPPLIER_INVOICE_NOs who are partially paired, i.e. groups of rows in the table of po with the same po_number and supplier_invoice_no, some of which have corresponding lines in the invoice table, and some are not. ("Supplier_Invoice_No" is quite a mouthful. "We'll abbreviate as sin in the future.) However, the final selection is based on po_numbers: If a po_number has partially matched sins, then we are interested all po_number. For example, the result set must include = 529132260 SIN, even if that sin is completely, because there is a partially matching sin (529137831) with the same po_number (P0142245).

    As this problem revolves around partially matching sins, let's call them Cardinal sins . We can calculate match_cnt and total_cnt based NAS as well as po_number. Then, we can use another analytic function so see if the po_number has all cardinal_sins, like this:

    WITH    joined_data     AS
    (
         SELECT     i.farinvc_invh_code
         ,     p.supplier_number
         ,     p.supplier_invoice_no
         ,     i.farinvc_item
         ,     i.farinvc_po
         ,     p.po_number
         ,     p.run_date
         ,     p.po_line_number
         ,     COUNT (i.farinvc_po) OVER ( PARTITION BY  p.po_number
                                            ,                  p.supplier_invoice_no
                               )     AS match_cnt
         ,     COUNT (*)           OVER ( PARTITION BY  p.po_number
                                            ,                  p.supplier_invoice_no
                                          )     AS total_cnt
         FROM           po       p
         LEFT OUTER JOIN  invoice  i  ON   i.farinvc_po    = p.po_number
                                      AND  i.farinvc_item  = p.po_line_number
    )
    ,     got_cardinal_sin_cnt     AS
    (
         SELECT  joined_data.*
         ,     SUM ( CASE
                        WHEN  match_cnt  >= 1
                     AND     match_cnt  <  total_cnt
                     THEN  1
                    END
                  ) OVER (PARTITION BY  po_number)     AS cardinal_sin_cnt
         FROM    joined_data
    )
    SELECT    farinvc_invh_code
    ,       supplier_number
    ,       supplier_invoice_no
    ,       farinvc_item
    ,       farinvc_po
    ,       po_number
    ,       run_date
    ,       po_line_number
    FROM       got_cardinal_sin_cnt
    WHERE       cardinal_sin_cnt     > 0
    ORDER BY  po_number
    ,            farinvc_item
    ;
    
  • Need help on the types of objects

    Hello Mr President

    I have one overlay out attributes and the value of the attributes

    DECLARE
    p_user_name_o VARCHAR2 (200);
    p_user_attributes_so manoj_tab_type;

    BEGIN
    p_user_name_o: = Maury
    xxcss_user.getuserattributes (p_user_name_o,
    p_user_attributes_so
    );

    IF (p_user_attributes_so. THERE ARE (1))
    THEN
    BECAUSE me IN p_user_attributes_so. FIRST... p_user_attributes_so. LAST
    LOOP
    Dbms_output.put_line ('attribute ='
    || p_user_attributes_so (i). ATTRIBUTE
    || '; Attribute value ='
    || p_user_attributes_so (i) .attribute_value
    );

    END LOOP;
    END IF;


    END IF;
    END;

    This wrapper will take the username as input and will give you all the attributes of username as the id, USERNAME, ADDRESS, LOCATION of the customer name

    I wanted to shoot only address and location of the envelope above.

    manoj_tab_type is an array of a type of object type

    Can you suggest me how to extract the address and location of theabove packaging. I wanted to print values

    Appreciate your help on the above

    Thanks and greetings
    Manoj Thakur R

    Just add an if STATEMENT stmt in the loop...

    FOR i IN p_user_attributes_so.FIRST .. p_user_attributes_so.LAST
    LOOP
     if p_user_attributes_so.ATTRIBUTE = 'ADDRESS' or p_user_attributes_so.ATTRIBUTE = 'LOCATION' then
       DBMS_OUTPUT.put_line ( 'Attribute='|| p_user_attributes_so.ATTRIBUTE|| '; Attribute Value='|| p_user_attributes_so.attribute_value);
     end if;
    END LOOP;
    

    HTH.

  • Need help with outer joins

    I have the following table structure,

    _ Table - 1
    ---------------------------------
    ID | Information
    ---------------------------------
    1. abcadskasasa
    2. asdasdasdasd
    3. saeqdfdvsfcsc
    ---------------------------------


    _ Table - 2
    ---------------------------------
    ID | NEST
    ---------------------------------
    1. 12
    1. 13
    2. 14
    1. 15
    1. 16
    2. 12
    ---------------------------------



    _ Table - 3
    ---------------------------------
    ID | THIERRY
    ---------------------------------
    1. 12
    2. 14
    1. 15
    ---------------------------------

    Now, I want to choose for each ID in table 1 and the number of MIP in the table 2-number of THIERRY of table 3.

    Desired output:_

    ---------------------------------------------------------------------------------------------------
    ID | COUNT_PID | COUNT_PARID
    ---------------------------------------------------------------------------------------------------
    1. 4. 2
    2. 2. 1
    3. 0 | 0
    ---------------------------------------------------------------------------------------------------

    Could someone please help me with this. I'm doing using outer joins, but as I work mainly at the edge of the end, not able to reach an appropriate solution to that above.

    Thanks in advance,
    Tejas

    You should not outer join... That should do it...

    select ID , (select count(PID) from table2  t2 where t2.id = t1.id) , (select count(PARID) from table3  t3 where t3.id = t1.id)
    from table1
    
  • I need help to fix the sound on my macbook air

    Well well... my macbook air will start of the carillon, but when I try to listen to something on my macbook air... it won't play it... and when I go to system preferences... There only headphones! ... idk what else to do!

    1. connect and remove the headphones.

    If you see the red light in the headphone port, plug the headphones

    in and out of time port 5 or 6 to swing the microphone inside.

    Audio output can be blocked using digital technology.

    2 reset the PRAM.   http://support.Apple.com/kb/PH18761

    3 reset the SMC.

    Choose the method for "on Mac Laptops with non-removable battery.

    https://support.Apple.com/en-us/HT201295

  • I need help wipe out my computer and reinstall everything as if I bought it just...

    How would all destroy my computer everything and reinstall everything on it. I custom built my computer and I have all my CD that came with everything about I don't know how to do it... Ive got the version of windows vista Home premium edition 32-bit windows. If someone could help me to do this, it would be greatly appreciated... Thank you david...

    When I put my disk in vista it will read her, and when I click to go to my bios it wont be silent... What can I do?

    If under warranty, contact your computer manufacturer.

    If this is not the case, contact a local and trusted computer repairman.

    It would seem that you have hardware problems.

    See you soon.

    Mick Murphy - Microsoft partner

  • Need help to understand the DOM objects on host VSAN MDs

    I read the info that I could find on the disk objects (including best practices guide & blog of Cormac), but fail to wrap my head around why I see what I see.

    I have a motorized on VM (cvf1-wshark), who lives on a VSAN 3 nodes cluster. Each node has 1 SSD and 4 MD I uses all of the default policies (FTT, bandwidth, etc.).

    That said, I wonder why it is clear from the exit of the vsan.disk_object_info of order RVC who live on 3 of my knots VSAN VM objects. vSphere client shows the correct RAID0 between 2 hosts (13.21 & 13.23) mirroring a witness (13.22), but the DOM objects on 13.22 aren't cookies (which I don't expect to see objects anyway). So, what do these objects on 13.22? I see the same distribution for each of my virtual machines on this cluster.

    Thank you

    Steve

    Screen Shot 2014-04-15 at 11.07.48 AM.png

    Screen Shot 2014-04-15 at 11.08.03 AM.png

    ################

    13.21

    ################

    / localhost/VSAN-DC/Computers/VSAN cluster > vsan.disk_object_info. NAA.600605b006f7fb701ab6548453137d63

    2014-04-15 14:44:07 + 0000: VSAN recovery disk info from 192.168.13.21 (may take a moment)...

    2014-04-15 14:44:07 + 0000: VSAN recovery disk info from 192.168.13.23 (may take a moment)...

    2014-04-15 14:44:07 + 0000: VSAN recovery disk info from 192.168.13.22 (may take a moment)...

    2014-04-15 14:44:08 + 0000: does get disc info VSAN

    NAA.600605b006f7fb701ab6548453137d63 (52098356-69da-4ab9-b03f-11eea6025370) physical disk:

    The DOM object: 26533353-5452-fa2f-b0f6-0025b5c2622c (owner: 192.168.13.23, policy: hostFailuresToTolerate = 1).

    Context: Part of VM cvf1-wshark: directory of Namespace

    Witness: 27533353-c48b-63b3-90bb-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.22, md: naa.600605b006f7dae01ab65f7317f942d1, ssd: naa.600605b006f7dae01abde7e20e633fb2)

    RAID_1

    Component: 27533353-ba62-62b3-d5c4-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.21, md: * naa.600605b006f7fb701ab6548453137d63* *, ssd: naa.600605b006f7fb701abde07e0de6c455)

    Component: 27533353-eeb5-60b3-7ddc-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.23, md: naa.600605b006f7f9701ab604452752b6b4, ssd: naa.600605b006f7f9701abe00d3102940d7)

    The DOM object: 29533353-76d4-69d0-5601-0025b5c2622c (owner: 192.168.13.23, policy: hostFailuresToTolerate = 1).

    Context: Part of VM cvf1-wshark: disc: [vsanDatastore] 26533353-5452-fa2f-b0f6-0025b5c2622c/cvf1-wshark.vmdk

    Witness: 29533353-0247-fce9-c547-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.22, md: naa.600605b006f7dae01ab65f7317f942d1, ssd: naa.600605b006f7dae01abde7e20e633fb2)

    RAID_1

    Component: 29533353-829d-fbe9-22fc-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.21, md: * naa.600605b006f7fb701ab6548453137d63* *, ssd: naa.600605b006f7fb701abde07e0de6c455)

    Component: 29533353-eebd-fae9-7ec5-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.23, md: naa.600605b006f7f9701ab604452752b6b4, ssd: naa.600605b006f7f9701abe00d3102940d7)

    ################

    13.22

    ################

    / localhost/VSAN-DC/Computers/VSAN cluster > vsan.disk_object_info. NAA.600605b006f7dae01ab65f7317f942d1

    NAA.600605b006f7dae01ab65f7317f942d1 (5226984a-510a-dab6-86c0-1950f37a4ee2) physical disk:

    The DOM object: 26533353-5452-fa2f-b0f6-0025b5c2622c (owner: 192.168.13.23, policy: hostFailuresToTolerate = 1).

    Context: Part of VM cvf1-wshark: directory of Namespace

    Witness: 27533353-c48b-63b3-90bb-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.22, md: * naa.600605b006f7dae01ab65f7317f942d1* *, ssd: naa.600605b006f7dae01abde7e20e633fb2)

    RAID_1

    Component: 27533353-ba62-62b3-d5c4-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.21, md: naa.600605b006f7fb701ab6548453137d63, ssd: naa.600605b006f7fb701abde07e0de6c455)

    Component: 27533353-eeb5-60b3-7ddc-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.23, md: naa.600605b006f7f9701ab604452752b6b4, ssd: naa.600605b006f7f9701abe00d3102940d7)

    The DOM object: 29533353-76d4-69d0-5601-0025b5c2622c (owner: 192.168.13.23, policy: hostFailuresToTolerate = 1).

    Context: Part of VM cvf1-wshark: disc: [vsanDatastore] 26533353-5452-fa2f-b0f6-0025b5c2622c/cvf1-wshark.vmdk

    Witness: 29533353-0247-fce9-c547-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.22, md: * naa.600605b006f7dae01ab65f7317f942d1* *, ssd: naa.600605b006f7dae01abde7e20e633fb2)

    RAID_1

    Component: 29533353-829d-fbe9-22fc-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.21, md: naa.600605b006f7fb701ab6548453137d63, ssd: naa.600605b006f7fb701abde07e0de6c455)

    Component: 29533353-eebd-fae9-7ec5-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.23, md: naa.600605b006f7f9701ab604452752b6b4, ssd: naa.600605b006f7f9701abe00d3102940d7)

    ################

    13.23

    ################

    / localhost/VSAN-DC/Computers/VSAN cluster > vsan.disk_object_info. NAA.600605b006f7f9701ab604452752b6b4

    NAA.600605b006f7f9701ab604452752b6b4 (52cd5b55-c160-3fd8-2285-cfadc7b5d11e) physical disk:

    The DOM object: 26533353-5452-fa2f-b0f6-0025b5c2622c (owner: 192.168.13.23, policy: hostFailuresToTolerate = 1).

    Context: Part of VM cvf1-wshark: directory of Namespace

    Witness: 27533353-c48b-63b3-90bb-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.22, md: naa.600605b006f7dae01ab65f7317f942d1, ssd: naa.600605b006f7dae01abde7e20e633fb2)

    RAID_1

    Component: 27533353-ba62-62b3-d5c4-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.21, md: naa.600605b006f7fb701ab6548453137d63, ssd: naa.600605b006f7fb701abde07e0de6c455)

    Component: 27533353-eeb5-60b3-7ddc-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.23, md: * naa.600605b006f7f9701ab604452752b6b4* *, ssd: naa.600605b006f7f9701abe00d3102940d7)

    The DOM object: 29533353-76d4-69d0-5601-0025b5c2622c (owner: 192.168.13.23, policy: hostFailuresToTolerate = 1).

    Context: Part of VM cvf1-wshark: disc: [vsanDatastore] 26533353-5452-fa2f-b0f6-0025b5c2622c/cvf1-wshark.vmdk

    Witness: 29533353-0247-fce9-c547-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.22, md: naa.600605b006f7dae01ab65f7317f942d1, ssd: naa.600605b006f7dae01abde7e20e633fb2)

    RAID_1

    Component: 29533353-829d-fbe9-22fc-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.21, md: naa.600605b006f7fb701ab6548453137d63, ssd: naa.600605b006f7fb701abde07e0de6c455)

    Component: 29533353-eebd-fae9-7ec5-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.23, md: * naa.600605b006f7f9701ab604452752b6b4* *, ssd: naa.600605b006f7f9701abe00d3102940d7)

    Yep - it is a quite normal output.

    As Duncan suggests above, your poster only the same information each time your run of the command.

    And each object is composed of 3 elements (2 x replicas of RAID-1 + the witness).

    The other thing to watch is that this command is more information that you have requested, i.e. all components. However, components that are active for the disc that you put as an argument to the command are going to be wrapped in * double Asterix *.

    For example:

    The DOM object: 26533353-5452-fa2f-b0f6-0025b5c2622c (owner: 192.168.13.23, policy: hostFailuresToTolerate = 1).

    Context: Part of VM cvf1-wshark: directory of Namespace

    Witness: 27533353-c48b-63b3-90bb-0025b5c2622c (State: ACTIVE (5), the host: 192.168.13.22, md: * naa.600605b006f7dae01ab65f7317f942d1* *, ssd: naa.600605b006f7dae01abde7e20e633fb2)

    HTH

    Cormac

  • Need help 'Thinning-Out' text

    Novice user HERE.  Hoping someone can guide me in the way to tackle this problem...

    I have a logo made up hand-drawn letters that exist in the form of vectors described in my .ai file.  I want to know if there is an easy way to make each letter a bit "thinner". I was send digital purposes by adding a line to each letter that corresponds to the color of the background, on what it will be used.  This work around has been effective to get the look that I want, but becomes problematic when preparing files for print applications (t-shirts, stickers, etc.).

    Is there an easy way to somehow "thin" letters equivalent to the amount of girth that race seems to take off each letter?

    You can always just apply the effect to the text object.

    But of course it won't work than if you enter a value that can be shifted. If the value is too large, nothing will happen.

  • Need help to identify the type of object in the loop of pl/sql

    Hello

    I need help to identify the Type of object declared beneath a procedure as shown below:

    I need to pass the parameter to the procedure as a TYPE of OBJECT and also refer to variables of Type Object in a loop

    create or replace type TEST_VALIDATION_REC is RECORD (order_num varchar2 (30),)

    number of inventory_item_id

    reserved_YN varchar2 (1).

    error_flag varchar2 (1).

    Error_message varchar2 (2000)

    );

    CREATE OR REPLACE TYPE VALD_TBL AS VARRAY (10000) OF TEST_VALIDATION_REC;

    PROCEDURE ADD_TO_ORD)

    p_lot_number_list IN VALD_TBL,

    p_ord_number IN Varchar2,

    p_user_id in NUMBER: = fnd_profile.value ('USER_ID'),-change 1.10

    p_responsibility_id in NUMBERS: = fnd_profile.value ('RESP_ID'),-change 1.10

    p_application_id IN VARCHAR2: = 'PO',-change 1.10

    x_error_flag OUT Varchar2,

    x_error_msg OUT Varchar2

    )

    In the above procedure, I had the VALD_TBL. Is it OK?

    And how in the loop if the records if I use:

    FOR indx1 IN 1.p_lot_number_list. COUNTY

    LOOP

    BEGIN

    SELECT

    inventory_item_id

    IN

    ln_item_id

    Of

    dummy_lot_tab

    WHERE

    lot_number = p_lot_number_list (indx1); - > how direct the item here?

    EXCEPTION

    WHILE OTHERS THEN

    ln_item_id: = NULL;

    END;

    Records are PL/SQL objects.  They are not the SQL objects.  You can create a SQL TYPE (schema level) as a collection (variable-tables only, tables nested).

    So therefore your first statement is syntactically incorrect

    CREATE OR REPLACE TYPE TEST_VALIDATION_REC IS RECORD
    (order_num VARCHAR2(30),
    inventory_item_id NUMBER,
    reserved_YN VARCHAR2(1),
    error_flag VARCHAR2(1),
    Error_message VARCHAR2(2000)
    );
    

    You must put in an anonymous PL/SQL block or the stored procedure

    DECLARE
    
       TYPE test_validation_rec IS RECORD
       (
        order_num VARCHAR2(30),
        inventory_item_id NUMBER,
        reserved_YN VARCHAR2(1),
        error_flag VARCHAR2(1),
        error_message VARCHAR2(2000)
       );
    
       TYPE vald_tbl iS VARRAY(10000) OF test_validation_rec;
    
       lv_tbl vald_tbl;
    
    BEGIN
    
       lv_tbl := vald_tbl();
      -- insert your code here 
    
    END;
    
  • Need help to diagnose the regular system analysis on iMac - processors maxed out

    I need help to identify the cause of a problem that occurs at least 2 - 3 times per day using my iMac (27-inch, mid 2010) running 10.11.5.

    I will use my iMac and then all at once things will start to really trolling. To the point of being completely unusable. Even if I'm able to move my cursor, then click to drag the windows around the screen nothing does really.

    I have iStat menus running so that can see graphics in my menu bar that all 4 cores are completely overfished. Occasionally, I was fast enough to launch the activity monitor to try to see what applications / services are responsible for, the use of % CPU column is completely empty of values, so I can't identify the culprits in a reliable way. I try to keep that column sorted by % CPU use in the hope that he could reveal something and normally it's the kernel_task who is up there.

    I use a Wacom Bamboo dated Tablet (MTE - 450 has) instead of a mouse, and at one point, I was convinced the pilot of PenTabletDrive it is based on was to blame. I contacted Wacom on this subject, and although there is no known issues they pointed out that although the latest drivers will allow me to use the tablet that they no longer support older devices. I was wondering if there was a problem of communication between the device and a driver that is no longer supported. I installed the latest driver supported for my tablet, but the problems persist.

    It may be interesting to note that, when my computer is in this semi-frozen state, I am able to launch the window enough force and quit all open applications leaving me with only the Finder. I guess that means that there are none of my apps running and it is probably one of the services. If I restart the Finder system grinds to a completely enclosed holt.

    I hope someone can let me know what I can find in the Console or elsewhere to help me finally zero in on what is to blame. I can share a log if that helps.

    Thank you in advance!

    Information that might be useful:

    Kept by I tend to be running: Adobe InDesign, Photoshop, Acrobat (all CC 2015), Mail, Safari with several tabs & Dropbox sync constantly.

    Download and run EtreCheck, created by one of his own assistants here in CSA. It is a diagnostic tool that is very useful for us to find problems. It will also give us additional specifications on your Mac. After his execution after the logfile here. It will never contain any personal information.

  • I can not play sounds on my computer because it says that the "mixer device" is not installed. I need help!

    I had to reinstall win XP hm because I had alueron H virus and he killed my OS and now I can't remember the name of my soundcard, thought it was soundmax or something like that... I need help!

    I reinstalled XP home worm and the virus disappeared... but I can't reinstall the card driver sound/because I don't have the software, it says.

    Go to your computer manufacturer's website and download the latest drivers for your audio device XP sqpecific.
    Or:
    Re post giving details about your PC - name of the manufacturer, model number and REF.
    See you soon,.
    Jerry

  • everytime I open a window or application, a message goes out _Windows stopped fonctioner_ please I need help

    Hi... "my system is windows vista professional" the problem is that everytime I open a window or one application other thing... a message goes out _Windows has ceased to operate _ Please I need help

    Hello

    I suggest you perform a boot clean and check whether a third-party program is causing the problem.

    Refer to this article for help:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135


    Note:
    please check that you put your computer to normal startup mode after completing the troubleshooting steps. Steps are available in the article above.

    Kind regards
    Afzal Taher
    Microsoft technical support engineer

  • Need help to find bosses and leaders out there

    Hi all

    I need help to find patterns, but also the number of occurrences of these models in the data in the column of the table.

    Consider the examples of data - column of a row in a table:

    'S-S-S-P-S-B-S-S-C-S-P '.

    My requirement is:

    I should get all the models that are followed is "."

    For example, the foregoing, given given bosses and Auditors are
    SS - count is 3
    SP - count is 2
    SB - 1 is
    SS - count is 1

    There is a condition most the above requirement:

    If' is followed by 'A', then 'SA' is not as a model. The model must stretch until a character no 'A' is found.

    Consider the sample data for the above case:

    'S-S-A-S-S-A-A-C-S-P-S-A '.

    previously given given bosses and Auditors are
    SS - count is 2
    SP - count is 1
    SAS - count is 1
    SAAC - count is 1

    The column data is stored as type VARCHAR2.

    I have Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production

    Thanks in advance,
    Girish G

    Hi, Girish,

    Girish G wrote:
    Hi all

    I need help to find patterns, but also the number of occurrences of these models in the data in the column of the table.

    Consider the examples of data - column of a row in a table:

    'S-S-S-P-S-B-S-S-C-S-P '.

    My requirement is:

    I should get all the models that are followed is "."

    Do you mean "I should get all the models who * begin by * of '?

    For example, the foregoing, given given bosses and Auditors are
    SS - count is 3
    SP - count is 2
    SB - 1 is
    SS - count is 1

    Why are there two production lines for "SS"? The other, with count = 1, mean doing just that?

    There is a condition most the above requirement:

    If' is followed by 'A', then 'SA' is not as a model. The model must stretch until a character no 'A' is found.

    Consider the sample data for the above case:

    'S-S-A-S-S-A-A-C-S-P-S-A '.

    previously given given bosses and Auditors are
    SS - count is 2
    SP - count is 1
    SAS - count is 1
    SAAC - count is 1

    The column data is stored as type VARCHAR2.

    I have Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production

    Thank you; version information are very useful.

    Thanks in advance,
    Girish G

    Whenever you have a question, please post a small example of data (CREATE TABLE and INSERT statements) and the results desired from these data.
    For example, the sample data may be:

    CREATE TABLE     table_x
    (       x_id     NUMBER     PRIMARY KEY
    ,     txt     VARCHAR2 (30)
    );
    
    INSERT INTO table_x (x_id, txt) VALUES (1, 'S-S-S-P-S-B-S-S-C-S-P');
    INSERT INTO table_x (x_id, txt) VALUES (2, 'S-S-A-S-S-A-A-C-S-P-S-A');
    

    and the results desired from these data can be:

    X_ID TXT                       PATTERN                          CNT
    ---- ------------------------- ------------------------- ----------
       1 S-S-S-P-S-B-S-S-C-S-P     SB                                 1
       1 S-S-S-P-S-B-S-S-C-S-P     SC                                 1
       1 S-S-S-P-S-B-S-S-C-S-P     SP                                 2
       1 S-S-S-P-S-B-S-S-C-S-P     SS                                 3
    
       2 S-S-A-S-S-A-A-C-S-P-S-A   SAAC                               1
       2 S-S-A-S-S-A-A-C-S-P-S-A   SAS                                1
       2 S-S-A-S-S-A-A-C-S-P-S-A   SP                                 1
       2 S-S-A-S-S-A-A-C-S-P-S-A   SS                                 2
    

    (Which is what you have posted, except that there is only one line of output for "SS" when x_id = 1.)

    One way to achieve these results in Oracle 11 is:

    WITH   got_s_cnt    AS
    (
         SELECT     x_id, txt
         ,     REGEXP_COUNT (txt, 'S')     AS s_cnt
         FROM     table_x
    )
    ,     cntr          AS
    (
         SELECT     LEVEL     AS n
         FROM     dual
         CONNECT BY     LEVEL <= (
                                   SELECT  MAX (s_cnt)
                             FROM    got_s_cnt
                               )
    )
    ,     got_pattern     AS
    (
         SELECT     s.x_id
         ,     s.txt
         ,     c.n
         ,     REGEXP_SUBSTR ( REPLACE ( SUBSTR ( txt
                                                 , INSTR (s.txt, 'S', 1, c.n)
                                    )
                             , '-'
                             )
                         , 'SA*[^A]'
                            )       AS pattern
         FROM    got_s_cnt  s
         JOIN     cntr        c  ON  c.n  <= s.s_cnt
    )
    SELECT       x_id
    ,       txt
    ,       pattern
    ,       COUNT (*)     AS cnt
    FROM       got_pattern
    WHERE       pattern     IS NOT NULL
    GROUP BY  x_id
    ,            txt
    ,       pattern
    ORDER BY  x_id
    ,            pattern
    ;
    

    At the heart of this query is the call to REGEXP_SUBSTR:

    REGEXP_SUBSTR ( x
               , 'SA*[^A]'
               )
    

    who is looking:
    S = the letter S
    A * = the letter A, 0 or more times
    [^ A] = nothing, except the letter A

  • Need help with an Audio loop with ACE

    I built a graphic in which audio fades out on a button click. I need also the audio loop, but I can't understand how do. I fiddled it of some old code that I had, probably found on the net, and I don't know where to put the parameters in a loop. Everything that it works just like I need to, I just need the looping sound. Can anyone help? Here is the code:


    Create sound objects *.


    this.createEmptyMovieClip ("holder1", this.getNextHighestDepth ());
    var mySound1:Sound = new Sound (holder1);
    mySound1.loadSound ("yourmusicgoeshere.mp3", true);


    action button *.

    necessary variables:
    var onFaded:Function;
    var currentSound:Number = 1;
    var occupied: Boolean = false;
    var counter: Number;
    //

    B2.onRelease = function() {}
    fadeOut (mySound1);
    };

    B3.onRelease = function() {}
    fadeOut (mySound1);
    };

    bStop.onRelease = function() {}
    mySound1.stop ();
    currentSound = 0;
    };


    fade out function *.


    function fadeOut(theSound:Sound) {}
    counter = 100;
    busy = true;
    clearInterval (nInterval);
    nInterval = setInterval (adjustSoundDown, 10, theSound);
    }
    function adjustSoundDown(theSound:Sound) {}
    If (counter < = 1) {}
    clearInterval (nInterval);
    theSound.stop ();
    busy = false;
    onFaded();
    } else {}
    -counter;
    theSound.setVolume (counter);
    }
    }

    the best you can do if you are streaming your sound is to use a listener onsoundcomplete to restart your sound when it is finished.

Maybe you are looking for

  • I can't find where to go to get the FF toolbar. I went to the options but still can not find it.

    I downloaded 4 FF a few days ago and I can't find where to go to get the FF toolbar installed more I don't see orange FF logo on the left side of my screen.

  • HP m7640n pc: hp m7640n pc

    26/02/2016 Hello My computer is a pc m7640n. The motherboard is A8M2N-[NodusM] HP with 2 internal usb ports. The system includes a 500 GB multimedia personal drive that I used for the backup with XP. I've recently upgraded the OS from XP to Vista Hom

  • Cannot connect iPad pro pencil

    I was wondering if it is possible to reconnect a pencil for iPad pro, I clicked accidentally forget this device. Now, while trying to re pair the pencil, I get a warning saying this device can not connect or work properly with the iPad. Advice please

  • cRIO-9022 puerto RS232

    Hola, deseo saber if examples are para the closing of datos desde el puerto RS232 as el sistema Compact-RIO offers. MI purpose are control UN recirculado por medio este puerto (I have configurado el sistema CompactRIO y works well with the closing of

  • How can I get the correct product key for my sleekbook want PC4

    How can I get the correct product key for my sleekbook desire 4 PC