Help for writing a loop

Hello

Can someone show me please how to change this code in a loop. At this point, it is only 10 but could be later if I wanted to learn the right way.

_level0. Copy1.unloadMovie ();

_level0.copy2.unloadMovie ();

_level0.copy3.unloadMovie ();

_level0.copy4.unloadMovie ();

_level0.copy5.unloadMovie ();

_level0.copy6.unloadMovie ();

_level0.copy7.unloadMovie ();

_level0.copy8.unloadMovie ();

_level0.copy9.unloadMovie ();

_level0.copy10.unloadMovie ();

I tried this, but it did not work:

xvar = 0;
While (xvar < 11)
{
Yvar = "_level0.copy" + xvar

yvar.unloadMovie ();

xvar = xvar + 1;
}

Thank you

Try...

for (i = 1; i<11;>

_level0 ["Copy" + i] .unloadMovie ();

}

Tags: Adobe Animate

Similar Questions

  • Help for writing an analytical application

    Hi all

    This is my first question, please be patient with my English, I'm Italian and do not write in a foreign language. ^_^

    I have a 'simple' with a large table problem.

    My table is really simple

    CREATE TABLE HH24

    (

    ACR VARCHAR2 (50 BYTE) NOT NULL,

    IDENTIFICATION NUMBER NOT NULL,

    DATAORA DATE NOT NULL,

    E0 NUMBER DEFAULT 0 NOT NULL,

    C0 NUMBER 0 NOT NULL DEFAULT,

    BY DEFAULT 0 NOT NULL NUMBER B0

    )

    It is large (> 50 GB) and partitioned on column DATAORA

    Now I need to extract a set of well defined data

    In a range of Data1 to data2 where data1 and data2 are ' dd/mm/yyyy hh24.

    sum of the E0 and B0 and C0 value for each day of the time range

    So, if I

    Data1 = to_date (January 7, 2015 07:00 ',' dd/mm/yyyy hh24 ')

    data2 = to_date (July 31, 2015 11:00 ',' dd/mm/yyyy hh24 ')

    I need an aggregation where a thake every day in the range from 07-11

    rank 1-> 07/01/2015 beetween 07:00 and 11:00

    Row 2-> 07/02/2015 beetween 07:00 and 11:00

    rank 3-> 07/03/2015 beetween 07:00 and 11:00

    ...

    line n-> 31/07/2015 beetween 07:00 and 11:00

    of course, I write a first step request to extract the sum, like this

    SELECT cab, id,

    SUM (c0) c0,

    SUM (e0) e0,

    SUM (b0) b0

    FROM (SELECT hh24.acr, hh24.id,

    HH24. C0 c0,

    HH24. E0 e0,

    HH24. B0 b0

    OF hh24

    WHERE hh24.acr =: nameacr

    AND hh24.dataora > = data1

    AND hh24.dataora < = data2)

    GROUP BY cab, id

    It works to gather data in an extraction of the day (00:00 to 23:59)

    Can someone help me to retrieve data only in the necessary time slot?

    P.S. obiouvsly problem is'n in the size of the table (or in my bad English, it's another problem)

    ^__^

    Thank you

    It won't be quick, but try something like this (note that it is not necessary for online viewing):

    SELECT cab, id,

    SUM (c0) c0,

    SUM (e0) e0,

    SUM (b0) b0

    OF hh24

    WHERE hh24.acr =: nameacr

    AND hh24.dataora > = data1

    AND hh24.dataora<=>

    AND TO_CHAR(hh24.dataora,'HH24:MI:SS') BETWEEN TO_CHAR(data1,'HH24:MI:SS') AND TO_CHAR(data2,'HH24:MI:SS')

    GROUP BY cab, id

  • Seek help for writing a script

    Hello

    I made a form (with Adobe Acrobat Reader 9 Pro), I want to improve the way to display the data entered

    I did a screen capture which summarize the changes wanted.

    (1) I would like to be able to select the short date and display it like this: (jj/mm/aaaa)

    ( 2), I tried a script, but the field in the result column is always equal to 1 when nothing were entered in C1

    var a = this.getField ("result");

    h.Value = 0;

    var b = this.getField ("ValeurB");

    var c = this.getField ("make");

    a.Value = (b.value - c.value) + 1;

    (3) I have always (with my fingers lol) the elapsed time between the date started and finished, it is possible to write a script?

    (I've never used JavaScript before, this is my first experience)

    Thanks in advance for your help.

    english picture.jpg

    For the calculation of the #2, you can use the custom calculation script next to the field "result":

    // Custom Calculate script
    (function () {
    
        var b = getField("ValeurB").valueAsString;
        var c = getField("ValeurA").valueAsString;
    
        // Only perform the calculation if both fields have an entry
        if (b && c) {
    
            // Convert the string values to numbers
            b = +b;
            c = +c;
    
            // Set this field value
            event.value = b - c + 1;
    
        } else {
            event.value = 0;
        }
    
    })();
    
  • Help for writing a mathematical function

    Hello again,

    I work on a tile game and need to understand an equation... I have a 12 x 11 grid... When I place a tile, I need to check for the existence of other tiles on the same row and column and sum their values...

    I need to create an equation with the following variables: -.

    Gets a number between 1 and 132: -.

    divides or multiplies the number in all the possible divisions of 12 between 1 and 132

    Adds or subtracts the correct amount of tiles that are either dependent on its position

    (I stretched the grid and, for example, tile 66 has five tiles on each side, tile 121 a 11 to it is because it is in the lower left corner)

    Hope this makes some sense to someone... I am now starting work on it, but any help would be appreciated!

    Thank you

    Martin

    F1 will return a 2d array.  the first element of array contains all members of rank and 2nd of all the members of the column.

    Function f1(n:int):Array {}
    var m:int = n - 1;
    var row:int = Math.floor (m/12);
    var col: int = %(row*12) m;
    var rowA:Array = [];
    var colA: Array = [];
    for (var i: int = 0; i<12; i+)="">
    rowA.push (row * 12 + i + 1);
    If (i<11)>
    colA.push(col+i*12+1);
    }
    }
    return [rowA, colA];
    }

  • Need your help for writing query complex!

    Kindly give me your suggestion to write a query for some situation...

    suupose he is 10 in a circle Distributor. and also in each Distributor, there are 10 FOS under each Distributor... and to each FSO, there are also numbers retailers...

    Please suggest how to write the query, there look like... (possible may through XML...

    Distributor1, FOS1, rt_count, FOS2, rt_count, FOS3, rt_count
    Distributor2, FOS1, rt_count, FOS2, rt_count, FOS3, rt_count
    ...
    ...
    ...
    8751090151, 8751090147:10, 8751090148:25, 8751090149:11... .etc


    Here it is the data...

    date_crt dist_msisdn f os_msisdn rt_count
    26 MARCH 13 7399998263 7399998263 1
    26 MARCH 13 8751090151 8751090147 10
    26 MARCH 13 8751090151 8751090148 25
    26 MARCH 13 8751090151 8751090149 11
    26 MARCH 13 8751090151 8751090151 1
    26 MARCH 13 8751090151 8751090152 40
    26 MARCH 13 8751090151 8751090326 11
    26 MARCH 13 8751090151 8751090327 70
    26 MARCH 13 8751090151 8751090328 29
    26 MARCH 13 8751090151 8751090335 1
    26 MARCH 13 8751090151 9577162731 8
    26 MARCH 13 8751090151 9613381589 38
    26 MARCH 13 8751090151 9613381790 14
    26 MARCH 13 8751090151 9613381969 13
    26 MARCH 13 8751090151 9613385207 42
    26 MARCH 13 8751090151 9613385284 12
    26 MARCH 13 8751090151 9613386523 52
    26 MARCH 13 8751090151 9613389220 91
    26 MARCH 13 8751090151 9613530655 1

    Published by: user3558544 on 1 April 2013 05:36

    Published by: user3558544 on 1 April 2013 07:09

    You can validate the query in the exactly the way you are runnin it and the text of the error?

    The query with the name of the table that you post could look like this:

    Select dist_msisdn, rtrim (xmlagg (xmlelement (e, os_msisdn |': ' | rt_count |))) ",") stopped by os_msisdn |': ' | (rt_count) .extract ('/ / text()'), ',') combinatoria_b
    of LBA_ALERT
    Dist_msisdn group

  • Help for writing an extension for SQL Developer

    Hi all
    I want to write an extension for SQL using JDeveloper and Oracle Extension SDK developer and I have a few questions.
    (1) is there some imports I need to sign up for the use of certain classes for SQL Developer?
    (2) how can I do a new item from the context menu in the area of connections in the left?
    (3) is there an example for this, because I have read a few posts of Sue and Kris Rice, but I figured out how to make the extensions only for JDeveloper.

    Thanks in advance!

    SQL Developer Connection browser uses a different site from the JDeveloper Application browser id. The site id OK to use for a listener from context menu is "db_nav". If your listener statement would look like this:


         
              My.listener.Class
         

    Note that a listener can be registered on several sites (if, for example, you wanted as your listener to trigger for publishers, you can use "db_nav; Editor"for the site id.

    You can post questions on the development of SQL Developer extensions on the developer forum SQL: SQL Developer this forum is monitored by the staff of SQL Developer.

    -John McGinnis
    SQL development team

    Published by: John Mcginnis, August 22, 2011 11:34

    Published by: John Mcginnis, August 22, 2011 11:36

  • Help for writing xml

    Hi all
    I want to write an application of cfm to manage mp3 files by editing the ASX file, which is an xml-formatted file, as below:
    < version ASX = "3.0" >
    < Entry >
    Enya < TITLE > < /title >
    "< ref href =" http://www.xxx.com/mp3/enya.mp3 "/ > "
    < / Entry >
    < Entry >
    love < TITLE > < /title >
    "< ref href =" http://www.xxx.com/mp3/love.mp3 "/ > "
    < / Entry >
    < / ASX >
    but when I edit the ASX file and write to the server, coldfusion adds a line <? XML version = "1.0" encoding = "utf-8"? > to the header of the ASX file and Microsoft Media Player can analyze it, how can I write an ASX file or XML file without the line <? XML version = "1.0" encoding = "gb2312"? > to the header of the file?

    David
    Thank you very much.

    OK, I did it. Thank you all.

  • I downloaded the latest version of the DNG Converter Camera Raw version 9.1.1 for windows. However, I get error install the update saying "error opening file for writing. Also on my help menu updates is not active?

    I downloaded the latest version of the DNG Converter Camera Raw version 9.1.1 for windows. However, I get error install the update saying "error opening file for writing. Also on my help menu updates is not active?

    If the installation program itself fails to open and run. Download it again maybe your current download is corrupted. Also, what OS you are using and you are an administrator with permission to install.

  • While why broken arrow will not appear for a timed loop

    Hi all

    I need a little clarification relative to normal while loop and timed looping in labview.

    In labview, if I keep a while loop on a block diagram, broken arrow will appear in the upper left corner of the window indicating the error. It displays error because I have not wired conditional terminal of the while loop.

    But same is not the case for a timed loop. Can someone tell me what is the reason behind this...

    If I release the conditional terminal of the timed while loop, it runs in infinfite time like a normal while loop. Then y labview behaves differently for these two types of loops in the scenario above.

    FYI... I'm using labview 2009.

    Waiting for response.

    Thank you

    Herald

    Ruben,

    the reason is quite simple: call loops are mostly real-time and FPGA targets. Since most of the applications on these targets work continuously (at least this is more often the task), it is possible to create a loop that does not end. So the timed loop by default assumes that there is no need of a stop button.

    The 'normal' while loop needs code for termination (conditional terminal) because normal applications on Windows/Linux/Mac are used to be fair...

    hope this helps,

    Norbert

  • When I try to defrag, a window opens and closes and a file download-security warning. A loop repeats. Other programs to do the same thing. Please help me fix this loop? SOS?

    When I run defrag, an IE window opens and closes and a file download-security warning comes up and asks me to run or save the file name: c:\windows\system32 dfrgui.exe, if I hit then another warning of IE - sec stands up and says 'the Publisher could not be verified. Are you sure that you want to run. I struck and the loop repeats. I run a diag of the F10 boot menu with dell. They say that its software and non-material, pay! Microsoft says that Dell is responsible. Other programs to do the same thing. I've updated and rerun my AVG security without error. We are automatically updated, and no other programs were added. Please help me fix this loop? SOS?

    Vista - open file - security warning
    http://www.Vistax64.com/Vista-security/125044-open-file-security-warning.html

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista
    http://support.Microsoft.com/kb/936212/#appliesTo

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

    Your programs launch properly from Safe Mode?  Or Normal Mode if you create another user to test with?

    Vista advanced boot options
    http://Techblissonline.com/Vista-advanced-boot-options/

    Try running ChkDsk to check your drive for errors. Right click on your drive icon / properties / tools / error checking.  Try first by checking do not each box (that it will run in read-only mode) to see if it reports any problems file or hard drive.  If so, restart it by checking both boxes and restart to allow him to attempt to fix any problems found.

    I see a lot of recommendations here for programs such as -

    Malwarebytes' Anti-Malware
    http://www.Malwarebytes.org/MBAM.php

    SuperAntispyware
    http://SUPERAntiSpyware.com/

  • "Setup is preparing your computer for first use" loop problem

    Hello, I was hoping you guys could help out me with a big problem, I ran across when trying to install Windows 7 on a desktop computer new, custom - build. I managed to successfully install my Windows 7 64-bit, it appeared, but when I try to run it, that I will meet a black screen that says "Setup is preparing your computer for first use" and it will stay there forever, I would say. I let it run all night and didn't go anywhere.

    I tried to start in safe mode, and Windows was loading files sys32, he got to "Classpnp.sys" and it froze. After a few minutes, the screen is blacked out, and I got fired the familiar screen "Setup is preparing your computer for first use.

    I bought the copy of Windows 7 nine FRY, there will be no problem with that. My HD is a (new) 240 GB PNY Optima SSD, my mobo is a (new) Z97X-SLI Gigabyte, and I have 16 GB of RAM. All these things have been recognized by my BIOS, it seems that everything is properly connected.

    I tried to install Windows 7 on a second time and exactly the same thing happened. I also tried to repair the installation to start upward, but he finds no problems. Also a check of the memory and the disk has verified without any problem. The only things I plugged are my monitor, keyboard, and mouse.

    Does anyone know of a workaround for this screen loop "first use"? Any help would be greatly appreciated.

    Set of utilities to test for computer HARDWARE manufacturers:

    Note: If you are Overclocking or use an automatic overclocking or BIOS power saving features, start by disabling: Intel EIST, Turbo Mode, Cool and pretty and fall back to the speed of stock as a starting point.

    Disconnect any other (additional) internal hard drives and external USB devices.

    Look for any loose hard drive power or cables SATA, graphics card or other power cables.

    First run Memtest86 +:

    It runs from a floppy disk or CD and should eliminate or confirm if one or more of your memory

    sticks are bad or the values of the SPD in the BIOS are correct.

    Let it run for as long as you can: 2,4,6,8 or several hours (at least 3 full passes), if no errors at that time then your ram is OK.

    http://www.memtest.org/

    Memtest86 + Guide/How To (use the.) ISO to create a bootable CD)

    http://www.overclockers.com/forums/showthread.php?t=409152

    Test your hard drive

    Intel® drive SSD Toolbox

    https://Downloadcenter.Intel.com/Detail_Desc.aspx?AGR=Y&DwnldID=18455

    Corsair SSD Toolbox:

    http://www.Corsair.com/en-us/blog/2013/may/the-Corsair-SSD-Toolbox

    Toolbox of Kingston:

    http://www.Kingston.com/us/support/technical/sandforce_ssd_toolbox.aspx

    OCZ Toolbox: http://ocz.com/consumer/download/firmware

    Support PNY: http://www.PNY.com/support/contact-us

    Samsung: http://www.samsung.com/global/business/semiconductor/minisite/SSD/global/html/about/whitepaper07.html

    Samsung Magican review:

    http://www.TweakTown.com/articles/5638/Samsung-magician-4-2-first-look-new-SSD-Toolkit-adds-rapid-mode/index.html

    SanDisk SSD Toolkit: http://kb.sandisk.com/app/answers/detail/a_id/9328/

    Seagate: http://www.seagate.com/support/internal-hard-drives/laptop-hard-drives/laptop-600-ssd/

    Life of the SSD: http://ssd-life.com/

    = Is installed after Windows =.

    Device drivers: have you installed latest drivers from device of the manufacture of the motherboard?

    Check their support site for the latest drivers as the CD that came with the computer

    or motherboard may be older and less stable drivers.

    Visit the download of the manufacture of the graphics card:

    Download and install the most recent Windows 7 or 8 drivers for your card.

    ATI: http://support.amd.com/us/gpudownload/Pages/index.aspx

    NVIDIA: http://www.nvidia.com/Download/index.aspx?lang=en-us

    See also the test of 'Smoke box' Nvidia or other demos: http://www.nvidia.com/object/cool_stuff.html#/demos

    or equivalent ATI.

    Prime 95:

    http://www.Mersenne.org/freesoft/

    It's a stand alone .exe file contained in an archive .zip.

    Simply choose to run the 'stress test' option for 8 hours or more.

    If your PC can pass this test, your memory and CPU

    are very good (close the housing cover in order to maintain adequate ventilation)

    Core Temp:

    The temperature of each core of the processor.

    Note: For the overclockers using stock radiator and cooling fan Intel/AMD you can expect

    a range of 35 to 40 at idle and 60 to 65 C max temperature when running Prime95.

    http://www.alcpu.com/CoreTemp/

    CPU ID (CPUZ): http://www.cpuid.com/cpuz.php

    Watch the clock speed of the CPU under various conditions of loading

    (when using speed step technology Intel EIST).

    #1 Note:

    CPU - ID has two tabs - tab 'Memory' that shows the actual speed of the memory

    and the "SPD" tab shows the nominal speeds for each memory location that is filled.

    #2 Note:

    Compare the two values, the actual speed of the memory must not exceed the rated speed of your memory.

    CPUID HWMonitor: Hardware program that reads the sensors of health main PC monitoring systems.

    voltages, temperatures, fans speed.

    http://www.CPUID.com/HWMonitor.php

    Speccy:

    Advanced for your PC system information tool.

    Need to know what's inside your computer?

    No problem! Speccy will give you all the information you need.

    Note: May or may not show the motherboard manufacturing.

    Overview: https://www.piriform.com/speccy

    Free version: https://www.piriform.com/speccy/download

    Test of Stress of FurMark GPU (graphics card):

    http://www.oZone3D.NET/benchmarks/fur/

    Pass marks burn in test: http://www.passmark.com/

    Burnin test, and their test bench at the same time give a good workout from all the major parts of Windows.

    HD Tune:

    Provides information of the car and has an option (tab scan error) to test your drive.

    http://www.hdtune.com/

    CrystalDiskInfo:

    http://CrystalMark.info/software/index-e.html

    User Manual: http://crystalmark.info/software/CrystalDiskInfo/manual-en/

    Monitors the State of health and the temperature. Solid State Drives brackets (value of the software).

    SpeedFan:

    Monitors internal temperatures and has a function of analysis health online (SMART tab) for hard disks drive.

    It displays your drives model number and compares your drive with other discs of the same brand and model.

    Note: Unfortunately now includes a lot of bloatware, be very careful when installing remove bloatware.

    http://www.almico.com/SpeedFan.php

    GPU - Z:

    A utility light, designed for you give information about your video card and GPU.

    http://www.techpowerup.com/GPUZ/

    PC WIZARD:

    A powerful utility designed especially for detection of hardware, also analyses more.

    He is able to identify a large scale of system components and supports the latest technologies

    and standards.

    http://www.CPUID.com/pcwizard.php

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

  • response of psr tmadmin: failed to get a temporary file for writing

    Hello

    I have a problem with my local Tuxedo instalation. My servers and services works fine but when I try to list them using psr (printserver) or printclient tmadmin response: pg: failed to get a temporary file for writing. Can you tell me where can I find the possible cause?

    Thank you,.

    main problem was no space in /var. thank you for your help.

  • Need help to use while LOOP to run immediately

    Hello

    I use the Oracle 11 g R2 database.

    I need to use 'while' below statement so that I'm going to immediate execution with the following ranges in a LOOP.

    USING 100, 200
    USING 201, 300
    WITH THE HELP OF 301, 400
    USING 401, 500
    declare
    v_maxseq_id number:=100;
    v_minseq_id number:= 500;
    
    begin
    --WHILE LOOP
    
    EXECUTE IMMEDIATE 'insert /*+APPEND*/all into stage_parsed_while
    select * from STAGE_PARSED_h2 WHERE src_file = ''a'' AND load_date = ''03-apr-2013''
    and seq_id between :1 and :2'
    USING v_minseq_id , v_maxseq_id ;
    
    
    end;
    Kindly help... Thank you

    Your syntax for the While loop:

    set serveroutput on;
    declare
      i pls_integer := 101;
    begin
      while i < 500 loop
        dbms_output.put_line('Min :: ' ||i || '; Max :: ' || to_char(i + 99));
        i := i + 100;
      end loop;
    end;
    
    anonymous block completed
    Min :: 101; Max :: 200
    Min :: 201; Max :: 300
    Min :: 301; Max :: 400
    Min :: 401; Max :: 500
    

    And Yes, I'm agree with suggestion of knapen to accomplish the task with a single static SQL, rather than go for dynamic SQL (which is the first wrong approach) and then using loops to slow further (which would be another mistake).

  • A recipe for writing equals method: use getClass() or instanceof?

    Hello

    At page 195 of the Core Java: volume 1, basic principles, 8th edition, there is a recipe for writing
    the method equals perfect. Section 4 says:

    Compare classes of this and otherObject. If the semantics of equals flexible in
    subclasses, use getClass test:

    if (getClass() != otherObject.getClass()) return false;
    If it has the same semantics for all subclasses, you can use an instanceof test:

    if (!(otherObject instanceof ClassName)) return false;
    My question is what it means by "If equals flexible semantics in.
    subclasses?

    Thank you in advance for your help!

    Eric

    Glad to be of assistance.

  • Where can I find help for tools &gt; Web Developer?

    I'm helping a friend change his web site. Where can I find help for the Tools menu > Web Developer?

    Specifically, I need to find where I can edit the HTML code, preferably in a WYSIWYG environment (that is, not laced with HTML tags), then how can I save the new file (s).

    Firefox does not have a built-in html WYSIWYG editor. You can download an html editor, based on the Mozilla code as Firefox, free like KompoZer or BlueGriffon.

    http://KompoZer.NET/

    http://BlueGriffon.org/

Maybe you are looking for

  • Time Warner has ordered me to use an IP address directly in the address bar, now I can't stop Firefox try to contact this address whenever I start Firefox.

    I was sent a new modem/wireless router by Time Warner in their package of socalled EASYCONNECT connection. They instruct me to search for my current network settings by putting a numeric IP address in the browser's address bar. This IP address could

  • Importing photos made duplicate photos

    Hello I am having trouble with the Photos app each time that I plug in my phone, it asks me to import new photos (as usual), but this import include SOME photos (24) I already imported. So, every time I import I get a copy of the same 24 photos. Yes,

  • Internet explore for mac port to work on OSX?

    Community of appple Hello. I would like to know if there is a direct way for internet explore for mac works. Safari isn't really what if all I need to work and want to switch to IE now that I bought a new macbook air. I found this resource online, bu

  • Mathematical operation on tables

    Hello Hope someone can help me with this. How can I (add, subtract... each piece between 2 bays or several etc.) Of lets say I have a table with element (5,10,15,20) array1 and array2 with (2,4,6,8). I need to multiply 5 by 2, then 4, then 6, then 8

  • New BIOS - should I or shouldn't I?

    Preface: This laptop had its motherboard replaced twice because of BIOS rev F.22 frying the Nvidia card. Since it to return, it run BIOS rev F.0B and Nvidia still works, but this computer has been sent adjustments. I'm about to do a clean install AGA