How to get the number of a xml file in flash?

Hello

It comes to my XML file

<? XML version = "1.0"? >

< ArrayHolder >

< level1 > '1', '1', '1' < / level1 >

< level2 > 2,2,1,2,2 < / level2 >

< level3 > 1,3,3,3,1 < / level3 >

< / ArrayHolder >

I want to store level1 not in 'levelArray '.

Thank you

JaxNa

you always have a quote but once it is fixed, divide each value of the node on the commas and then loop in the table pouring each element to a number.

Tags: Adobe Animate

Similar Questions

  • How to get the number of fonts online

    Hi all

    can you give me solution to the following:

    How to get the number of fonts on a line.

    Ex

    BlackBerry Support 'Community' is supported for my career

    in this line, I want to ITALIC for the word 'Community '.

    Font.GetDefault (). Derive from wil give for total line...

    RichTextField does not?

    See this KB article

    http://supportforums.BlackBerry.com/T5/Java-development/format-text-in-a-RichTextField/Ta-p/445038

  • How to get the number of entries in the navigation menu?

    boc.bmp

    How to get the number of entries in the navigation menu? Check the image. What it shows 8 number of customers and 10 products and 10 orders in the list. How to get it?

    --

    Thank you

    Hello

    Create items of the request saying, "CUSTOMERS", "PRODUCTS" and "ORDERS".

    Create the application process that defines these items when loading the page for example

    C1 in select count (*) NTC (of customer_table)

    loop

    : CUSTOMERS: = c1.cnt;

    end loop;

    C1 in select count (*) NTC (of products_table)

    loop

    PRODUCTS: = c1.cnt;

    end loop;

    C1 in select count (*) NTC (of orders_table)

    loop

    : ORDERS: = c1.cnt;

    end loop;

    Components shared Open-> Navigation bar and change:

    In the entry list Label-> customers & CLIENTS.]

  • How to get the number of bits of Windows?

    Hi all

    How can I get the number of bits of Windows, the application of the LV is running on?

    By using the disabled conditional structure, I can get the number of bits of the application (if it is built in BT 32 or 64), but not the number of bits of windows.

    Thank you

    system variable 'PROCESSOR_ARCHITECTURE '?

  • How to get the number of line of a multi-line string

    It seems that this Panel of string does not provide the tool to get the chain line number,

    Does anyone have the same experience?

    so...

    How to get the line number of a variable string?

    Number of lines

  • How to get the number and the name of the contacts selector

    Hi all

    I got the Contact Picker work but I have no idea how to get the selected telephone number and the name.

    There are attributes that I can put like contactId.value () to retrieve or there is another way?

    Thanks in advance.

    ImageButton{
                        defaultImageSource: "asset:///images/bluebutton.png"
                        onClicked: {
                            contactPicker.open();
                        }
                        attachedObjects: [
                            ContactPicker {
                                id: contactPicker
                                onContactSelected: {
                                    result.text = "You chose contact: " + contactId;
                                }
                            }
                        ]
    
                    }
    
                    Label {
                        id: result
                        text: "You chose contact: "
                    }
    

    Hello

    You can get the contact name and phone number as this,

    ImageButton{
                        defaultImageSource: "asset:///images/bluebutton.png"
                        onClicked: {
                            contactPicker.open();
                        }
                        attachedObjects: [
                            ContactPicker {
                                id: contactPicker
                                onContactSelected: {
                                    result.text = "You chose contact: " + contactId;
    // call a cpp method to get the details
    
    app.getDetails(contactId); } } ] } Label { id: result text: "You chose contact: " }
    

    the CPP code:

    void ContactDetails(ContactId id)
    {
    Contact contact_info = m_contactService->contactDetails(id);
    
        QString firstName = contact_info.firstName();
        QString lastname = contact_info.lastName();
            QList phoneno_list = contact_info.phoneNumbers();
    
        QStringList no_s;
    
        foreach(ContactAttribute attr, phoneno_list)
        {
            no_s << attr.value();
        }
    }
    

    You can get details like this.

    Kind regards

    Naresh Kodumuri.

  • VMware View | PowerCLI | How to get the number of virtual machine in a specific pool-ID

    Hello

    Generally, to get the number of VMS in a pool, I run this command:

    Get-pool | Select Pool_id, @{Name = "NumVM"; Expression = {($_ |)} (Get - DesktopVM). County}} | out-gridview

    But how can I list all the pools and then select the pool I want a county of?

    Maybe something like:

    Select 1 for accounts

    Select 2 for Marketing

    and then County VM just for this pool and immediate where at the output (Out-gridview or Export-CSV)

    Thanks, Julien

    Hi LucD

    I don't understand the line:

    1.. $pools. County | %{
    Write-Host "$_" $Pools [$_ - 1]. Name

    Why do we need the 1...

    Also is the same as get-get-resourcepool pool?

    Thanks, Julien

  • How to get the number in the format "999,999,999.000" in oracle

    Hi friends,
    How can I get the number entered in the format '999,999,999.000 '...
    for example, if my number has 1900, it should give 1,900.000
    If my number is 10000, then it should give me 10,000.000 like this in sql
    is there a function available for this?

    pls help

    Thank you

    Hello

    Check below hope it solves your problem.

    SQL> SELECT TRIM(TO_CHAR(1900, '999,999,999,999,999.99')) FROM DUAL;
    
    TRIM(TO_CHAR(1900,'999,999,999
    ------------------------------
    1,900.00
    SQL> SELECT TRIM(TO_CHAR(10000, '999,999,999,999,999.99')) FROM DUAL;
    
    TRIM(TO_CHAR(10000,'999,999,99
    ------------------------------
    10,000.00
    
    SQL> 
    

    Concerning
    Ameya

  • Requirement of Beeping - how to get the number of combination of several columns

    Hi gurus, Experts and all,.

    Help me please how this code to the BEEP.

    I need to get the number of each combination of 6 columns if the combination is repeated.

    Columns example: number team responsible for Group Type reason
    The example columns: placed Team1 M1 M1 T1 won 2
    GroupA Team1 H2 M2 T1 loss 1
    GroupB Team2 H2 M3 T2 won 1
    GroupB Team2 H3 M3 T2 loss 2

    Thank you very much

    Jean Paul
    BEEP newbie

    Published by: user10955574 on October 28, 2010 20:15

    Published by: user10955574 on October 29, 2010 03:06

    I sent you the file. Check your mailbox.

  • How to get the number of items in a tilelist

    I write for a flex using FlexSelenium application test scenarios and I need to get the number of items in the tilelist component.

    I know that the tilelist is powered by a table. but I can not access this table of my test scenario.

    Can someone tell me how I can get the number of items in a tilelist on the application? What property of the tilelist can provide this number?

    Try tileList.dataProvider.length;

  • How to get the number of lines in a region of report

    Hi all

    Is there a way to get the number of rows returned in a report region, without issuing an another 'select count (*) from une_table?
    I mean something like the substitution string #ROW_NUM # but for the total of the lines.

    Thank you

    Pedro.

    http://download.Oracle.com/docs/CD/E17556_01/doc/user.40/e15517/UI.htm#CHDDGGEG

    For parts of classic report, the footer region supports the following substitution strings:

    #ROWS_FETCHED # indicates the number of lines read by the reporting engine Oracle Application Express (the size of the page). You can use these substitution strings to display messages to the user. For example:

    Read #ROWS_FETCHED # #TIMING # seconds lines.

    * #TOTAL_ROWS # displays the total number of rows that satisfy an SQL query used for a report.

    #FIRST_ROW_FETCHED # and #LAST_ROW_FETCHED # show the range of displayed lines. For example:

    Until #FIRST_ROW_FETCHED # by #LAST_ROW_FETCHED # of #ROWS_FETCHED # displayed >

    Van
    Trent

  • How to get the number of records printed for the report in the dashboard

    Hello

    I would like to get the number of records printed at the bottom of each report as dashboard:
    < 1-25 of 6300 > instead of < 1-25 >

    Any help is appreciated
    Concerning
    B

    Hello

    Check out the blog of Miky Schreiber;

    http://www.miky-Schreiber.com/blog/permalink, guid, e964552b-eb6e-449b-b2c6-42adea2376cd.aspx

    Good luck

    Daan Bakboord
    http://obibb.WordPress.com

  • How to get the absolute path to a file in photoshop extended?

    Hello

    I try to send a file via an entry inside an extension of Photoshop. But how can I get the absolute path to this file inside the computer?

    Thanks in advance

    I don't know what you mean by sending a file. Do you want to open a file in PS or do I have to declare the path for support for the extension file? With javascript, you must define a variable. In Win it should look like:

    var file = new File('/c/images/myfile.psd');
    

    or

    var myScript = new File(app.path + '/Presets/Scripts/myJavascript.jsx');
    
  • Get the table to an XML file with several bays

    Hello

    So I was faced with this program I have for the past few months but I'm almost there. I have a program that creates several berries and place one after the other in an xml file, and each table has its unique name. Now, I would create a VI that takes this XML file and when the user enters the name of the table specific they are seeking it goes into the xml file concludes the table in its entirety under this name and displays in an indicator of output to be read on the VI. A sample of my xml file and the VI that creates this xml file is attached.

    Thank you

    dlovell

    Something like this should work for you.

  • How to get the path (using &lt; input type = "file" / &gt;)

    Hello world

    I create a HTML form that has an entry of type = "file".  This will give you a dialog box browse for your user to search for a file on the operating system.

    And my code:

    function handleFileSelectForMyShop (evt)
    {
    var blnFileReaderSupported = false;

    Try
    {

    Debug.log ("handleFileSelect", "start handleFileSelect");
    reader of var = new FileReader();
    blnFileReaderSupported = true;
    var files = evt.target.files;
    var size = files.length;

    Debug.log ("handleFileSelect", "handleFileSelect # selected files:" + size, debug.info);

    for (var i = 0; i)< size;="">
    {
    Debug.log ("handleFileSelect", "in the handleFileSelect analysis the index file" + i, debug.info ");
    var f = files [i];
    Reader.OnLoad = (function (theFile)
    {
    Debug.log ("handleFileSelect", "start reader.onload", debug.info);
    return Function
    {
    Debug.log ("handleFileSelect", "start Function", debug.info);

    Debug.log ("handleFileSelect", "reading file" + theFile.name + "(" + theFile.size + "") "" + theFile.type, debug.info);

    If (theFile.type.match ('image.*')) {}
    var path = e.target.result;
    alert (path);
    create the path

    } else {}
    jAlert ("Please select photo!', 'Error'");
    }
    };
    })(f);

    If ((f.type.match ('image.*')) |) (f.type.match ('audio.*')) | (f.type.match ('video.*')))
    {
    Debug.log ("handleFileSelect", "in handleFileSelect call reader.readAsDataURL for type" + f.type, debug.info);
    Read in the media file in the form of a data URL.
    reader.readAsDataURL (f);
    }
    }

    Debug.log ("handleFileSelect", "Complete", debug.info);
    }
    {} catch (e)
    Debug.log ("handleFileSelect", e, debug.exception);
    If (! blnFileReaderSupported)
    {
    Alert('Error.) The FileReader API is not supported. ") ;
    }
    }
    }

    function doPageLoad()
    {
    Try
    {
    ELE var = document.getElementById ('txtFile_staffInfo');
    If (ele)
    {
    ele.addEventListener ('change', handleFileSelectForMyShop, false);
    }
    imgSelectPictureClick = 0;
    }
    {} catch (e)
    Debug.log ("doPageLoad", e, debug.exception);
    }
    }

    window.addEventListener ("load", doPageLoad, false);

    Note: And alert (path) leads to a Base64 string! It is not a path of the image that I browse a Spain file on the operating system.

    I want to have a full path of the file. For example: file:///accounts/1000/appdata/WebWorksAppTemplate.testa3NBcHBUZW1wbGF0ZSAgICA/shared/camera/image01.jpg

    I hope to see your reply soon!

    Thank you and best regards,

    A Pham

    A Pham

    I think that you can not get the absolute path of a file due to browser security, when you use the

    It's something that you need probably a PlayBook extension for.

Maybe you are looking for