Need help to load MySQL results in a query

Hello, I need help to find out why my component of the tree is not being filled with the results of MySQL.

I have a table of categories:
ParentID - CategoryID - name

Each top-level category has a ParentID of 0 (zero). I use php and a recursive function to build an array of results nested, then returning these results to Flex, making these results, a new collection of ArrayCollection, then assign that to the dataProvider of the tree.

Result: my tree component is empty

Suspicion: there must be a way with how my table is formed in PHP. If I play with how forms can I get strange results in the tree, so I know that's not a problem with the data passed to Flex.

I enclose the PHP code used to form table and the output of the table being created

Hi, thanks for the response. I discovered what the problem was. Table indexes should start with 0 instead of 1. I don't know why that is, but that solved my problem.

Tags: Flex

Similar Questions

  • Need help to send the result of the query via utl_stmp

    11.2.0.3
    got the code of http://www.oracle-base.com/articles/misc/email-from-oracle-plsql.php#multiline send e-mail
    CREATE OR REPLACE PROCEDURE send_mail (p_to        IN VARCHAR2,
                                           p_from      IN VARCHAR2,
                                           p_subject   IN VARCHAR2,
                                           p_message   IN VARCHAR2,
                                           p_smtp_host IN VARCHAR2,
                                           p_smtp_port IN NUMBER DEFAULT 25)
    AS
      l_mail_conn   UTL_SMTP.connection;
    BEGIN
      l_mail_conn := UTL_SMTP.open_connection(p_smtp_host, p_smtp_port);
      UTL_SMTP.helo(l_mail_conn, p_smtp_host);
      UTL_SMTP.mail(l_mail_conn, p_from);
      UTL_SMTP.rcpt(l_mail_conn, p_to);
    
      UTL_SMTP.open_data(l_mail_conn);
      
      UTL_SMTP.write_data(l_mail_conn, 'Date: ' || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH24:MI:SS') || UTL_TCP.crlf);
      UTL_SMTP.write_data(l_mail_conn, 'To: ' || p_to || UTL_TCP.crlf);
      UTL_SMTP.write_data(l_mail_conn, 'From: ' || p_from || UTL_TCP.crlf);
      UTL_SMTP.write_data(l_mail_conn, 'Subject: ' || p_subject || UTL_TCP.crlf);
      UTL_SMTP.write_data(l_mail_conn, 'Reply-To: ' || p_from || UTL_TCP.crlf || UTL_TCP.crlf);
      
      UTL_SMTP.write_data(l_mail_conn, p_message || UTL_TCP.crlf || UTL_TCP.crlf);
      UTL_SMTP.close_data(l_mail_conn);
    
      UTL_SMTP.quit(l_mail_conn);
    END;
    /
    I want to call send_mail to pass a query result to "p_message":
    as an example:
    Select the sid, program, module, session machine $ v where program = 'XXX ';

    And have struggled with the lack of experience in PLSQL.
    Give advice.
    TIA

    The simplest possible thing would be something like

    DECLARE
      l_message VARCHAR2(32000);
    BEGIN
      FOR i IN (your_query)
      LOOP
        l_message := l_message || i.col1 || ' ' || i.col2 || ' ' || ... || i.col3 || utl_tcp.crlf;
      END LOOP;
    
      <>
    END
    

    This assumes that the total amount of data we're talking about is reasonably low (which is small enough that you can use a VARCHAR2). And you want a text with a data dump email basically unformatted. You may be better served with an HTML message that includes the appropriate in the body HTML formatting. And you might need your procedure send_mail to accept a CLOB rather than a VARCHAR2.

    Justin

  • need help with loading Flash on Apple Mac Mini

    Lost my username, password & I am unable to load flash version 8 or better, totally computer illiterate & need HELP!

    Hi Michael,

    Please see what userid & password I need to install Flash Player?.

    --

    Maria

  • Need help to load the UI components dynamically on JSPX

    Hi all

    I have a requirment/usecase mentioned as below

    (1) we have 10 different set of applications that have their own elements to the screen.

    (2) applications that need to be done one JSPX page.

    (3) we have the data contained in the comics with app_id for each application, screen_elements, screen_type.

    (3) load so now, function app_id (application id), while it is to load the application name and other details of this particular application at run time.

    (4) the elements of the screen, to dynamically load the items on the screen and screen_type, instead of hard coding all the values in the page, and instead of setting them conditional based on the name of the application.

    Can you please help me how can I achieve this usecase

    Please let me know if you need additional information. It will be very useful tome you can suggest alternatives more about it.



    Kind regards
    Ashok E

    Some examples of code that will create a box object text dynamically on the command button click, I think that this will help you go further.

    DynamicPage.jspx*



    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:h = "http://java.sun.com/jsf/html".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich" >






    Binding = "#{DynaPageBean.panelFormLayout1}" > "






    DynaPageBean.java_
    test of the package;
    Import oracle.adf.view.rich.component.rich.input.RichInputText;
    Import oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout;
    public class DynaPageBean {}
    Private RichPanelFormLayout panelFormLayout1;
    public DynaPageBean() {}
    }
    public String newForm() {}
    for (int i = 0; i)<10 ;i++)="">
    Txt RichInputText = new RichInputText();
    txt.setLabel ("Input Text" + (i + 1));
    txt.setColumns (40);
    txt.setRequired (true);
    panelFormLayout1.getChildren () .add (txt);
    }
    Returns a null value.
    }
    public void setPanelFormLayout1 (RichPanelFormLayout panelFormLayout1) {}
    this.panelFormLayout1 = panelFormLayout1;
    }
    public RichPanelFormLayout getPanelFormLayout1() {}
    Return panelFormLayout1;
    }
    }

  • need help with loading paper inkjet 4635

    I just bought a HP Office Jet 46635 and I can understand how to load the paper.   Can anyone help?

    Here's the Manual.  PG 24 illustrates how to load the paper. Happy new year!!

  • Need help: HoverTab loads slow

    Good day everyone,


    Spry Panel tabs, I added background image of the "HoverTab", the live mode view, is good, but on the browsers, hover takes a second before they appear? any advice how to load faster?
    Note: 'tab and SelectedTab' also have origins of the image


    Thank you

    Your auto is acclaimed problem: HoverTab loads slow.

    Because stationary tag loads normally without an image, it must be loading the image else causing the problem.

    Using the technique of Spryte, you load an image for every two or three States, normal, hover, or asset, allowing the projection of the image instantly.

    If the link I gave is not only good Google the subject and you will find a multitude of articles that will help you. One of these articles I just found here http://line25.com/tutorials/how-to-create-a-css-menu-using-image-sprites

    GRAMPS

  • Need help with loading in a different place every time the page reloaded the film.

    Hello

    I have a Flash movie that I need to go to one of the 6 chosen images when say a user presses the button back or home page of the site. I don't want just the same user, see the flash movie to play again in the same place each time that they return home.

    Help with this is appreciated.

    Thanks advance.

    -Ann

    Here's what I wrote:

    var numbers: Array = [2,114,415,687,960,1195,1485];

    _root.firstTime = true;

    {if (Firsttime)}

    firstTime = false;

    The frame number: var = Math.floor (Math.random () * numbers.) (Length);

    gotoAndPlay ([frame] numbers);

    }

    I also tried this:

    Array.prototype.shuffle = function() {}
    for (var = this.length - 1; ivar ivar > = 0; ivar-) {}
    var p = random (ivar + 1);
    var t = this [ivar];
    This [ivar] = this [p];
    This [p] = t;
    }
    };
    ASSetPropFlags (Array.prototype, ["shuffle"], 1, 1);
    var Array_ar:Array = new Array (2,114,415,687,960,1195,1485);
    Array_ar.shuffle ();
    index = 0;
    function load_random() {}
    gotoAndPlay(Array_ar[index++]);
    If (index == Array_ar.length) {}
    (index = 0);
    }
    }
    load_random();

    But this Dungeon jumping whenever I hit the back of the frame 1 or refresh.

    Thanks again.

    use:

    var numbers: Array = [2,114,415,687,960,1195,1485];

    The frame number: var = Math.floor (Math.random () * numbers.length);

    gotoAndPlay ([frame] numbers);

  • Need help to load an external SWF

    I'm not very proficient in Flash, so any help will be greatly appreciated. I am trying to load an external SWF with the following code:

    T1_Bttn_BloodCar.onRelease = function() {}

    (" t1_images_mc.loadMovie("images/T1_Gallery/BloodCar_SWF/T1_BloodCar.swf ");

    t1_images_mc._alpha = 0;

    It loads the SWF file, but it is not playing correctly when I test it. Here's how the loaded movie is supposed to look like:

    http://www.theroboteye.com/T1_BloodCar.html

    But instead, he plays without the transitions, like this:

    http://www.theroboteye.com/TRE2009b.html

    I tried to figure this out for a few days and have tried to add "this ._lockroot = true;" to the SWF I am trying to load, but I can't play properly. Can someone tell me what I am doing wrong? Thanks in advance.

    Try using MovieClipLoader (loadClip method) class rather than the loadMovie method.  In this way, you can have a listener who expects the movie to be loaded and then pull it in-game, by assigning actions and properties after the fact.

  • need help with loading the icon

    can I get help about icon loading in oracle forms?

    OK make a folder name it icons and copy all you are gif icons and paste into the same folder (icons), and then copy the icons folder and paste in
    D:\DevSuiteHome_1\forms\java\oracle\forms

    When you want to display the icon, then do not use .gif (Note: sometimes also works with .gif) and something more Stéphane on capital letter of gif - icons.it should be in letter.i hope that you understand.

    Sarah

  • Need help to load the data from the Excel data to oracle tables

    I need to load an Excel worksheet to the Oracle table.

    The worksheet contains 20 columns, the first 8 columns contains basic information, but the rest 12 columns contains info like
    1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
    1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
    1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10

    So what I have to do is:

    break only one record (with 20 fields) in Excel to 3 files for each fiscal year in the Oracle table for each record in the database table will look like

    8 base field + fiscal_year + 1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
    8 base field + fiscal_year + 1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
    8 base field + fiscal_year + 1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10

    There are about 10000 rows in the data file, so how can I use sqlldr to perform this task? beside sqlldr, other good suggestions?

    THX

    External tables is just an API Oracle sqlloader. If you are about to load this data over and over again, the external tables would be a good idea, but if it's a one time thing, sqlldir is more simple, unless you want to just learn to use external Tables.

    I used to run a data warehouse, so I did it, the less similar to what you do in the past.

  • Unrecognized USB device... need help with the SFC results!

    I followed several channels of the problems that were associated with the popup error in Vista that says "Unrecognized USB device"... that I'm having the same problem.

    I tried to uninstall and reinstall my USB drivers with nothing working.  It was recommended that SFC.exe in the message area of C:.  I did and it came up with error messages that could not be repaired in the CFS program.  What should I do to fix these problems?  I posted the report itself below, showing that areas that have problems.

    Any help would be appreciated!

    ] Beginning Verify and Repair transaction
    2010-02-15 16:28:48, info CSI 00000124 [SR] cannot repair the military record [l:20 {10}] "tcpmon.ini" Microsoft-Windows-printing-StandardPortMonitor-TCPMonINI, Version = 6.0.6001.18000, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "

    2010-02-15 16:28:50, info CSI 00000126 [SR] cannot repair the military record [l:20 {10}] "tcpmon.ini" Microsoft-Windows-printing-StandardPortMonitor-TCPMonINI, Version = 6.0.6001.18000, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "

    2010-02-15 16:28:50, info CSI 00000127 [SR] this element is referenced by [l:160 {80}] "' Package_30_for_KB936330 ~ 31bf3856ad364e35 ~ x 86 ~ ~ 6.0.1.18000.936330 - 187_neutral_GDR" "

    2010-02-15 16:28:50, CSI Info 0000012a [SR] could not reproject corrupted file [ml:520 {260}, l:46 {23}] '------? \C:\Windows\System32"\[l:20{10}]"TCPMon.ini '; source file in the store is also corrupted

    2010-02-15 16:28:51, CSI Info 0000012 c [SR] verification complete

    ] Beginning Verify and Repair transaction

    2010-02-15 16:32:13, Info CSI 00000199 [SR] cannot repair the military record [l:20 {10}] "tcpmon.ini" Microsoft-Windows-printing-StandardPortMonitor-TCPMonINI, Version = 6.0.6001.18000, pA = PROCESSOR_ARCHITECTURE_INTEL (0), the Culture neutral, VersionScope is 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "

    2010-02-15 16:32:13, CSI Info 0000019b [SR] cannot repair the military record [l:20 {10}] "tcpmon.ini" Microsoft-Windows-printing-StandardPortMonitor-TCPMonINI, Version = 6.0.6001.18000, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "

    2010-02-15 16:32:13, CSI Info 0000019 c [SR] this element is referenced by [l:160 {80}] "' Package_30_for_KB936330 ~ 31bf3856ad364e35 ~ x 86 ~ ~ 6.0.1.18000.936330 - 187_neutral_GDR" "

    2010-02-15 16:32:13, Info CSI 0000019f [SR] could not reproject corrupted file [ml:520 {260}, l:46 {23}] '------? \C:\Windows\System32"\[l:20{10}]"TCPMon.ini '; source file in the store is also corrupted

    2010-02-15 16:32:13, 000001 has 1 CSI Info [SR] full repair

    2010-02-15 16:32:13, 000001 has 2 CSI Info [SR] validation transaction

    2010-02-15 16:32:13, 000001 6 CSI Info [SR] a check and complete repair operation. All of the files and registry keys listed in this operation were repaired successfully

    2010-02-15 18:31:23, info CSI 00000006 [SR] components check 100 (0 x 00000064)

    ] Beginning Verify and Repair transaction

    2010-02-15 18:35:11, info CSI 00000124 [SR] cannot repair the military record [l:20 {10}] "tcpmon.ini" Microsoft-Windows-printing-StandardPortMonitor-TCPMonINI, Version = 6.0.6001.18000, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "

    2010-02-15 18:35:12, Info CSI 00000126 [SR] cannot repair the military record [l:20 {10}] "tcpmon.ini" Microsoft-Windows-printing-StandardPortMonitor-TCPMonINI, Version = 6.0.6001.18000, pA = PROCESSOR_ARCHITECTURE_INTEL (0), the Culture neutral, VersionScope is 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "

    2010-02-15 18:35:12, Info CSI 00000127 [SR] this element is referenced by [l:160 {80}] "' Package_30_for_KB936330 ~ 31bf3856ad364e35 ~ x 86 ~ ~ 6.0.1.18000.936330 - 187_neutral_GDR" "

    2010-02-15 18:35:12, CSI Info 0000012a [SR] could not reproject corrupted file [ml:520 {260}, l:46 {23}] '------? \C:\Windows\System32"\[l:20{10}]"TCPMon.ini '; source file in the store is also corrupted

    2010-02-15 18:35:13, CSI Info 0000012 c [SR] verification complete

    ] Beginning Verify and Repair transaction

    2010-02-15 18:37:58, info CSI 00000199 [SR] cannot repair the military record [l:20 {10}] "tcpmon.ini" Microsoft-Windows-printing-StandardPortMonitor-TCPMonINI, Version = 6.0.6001.18000, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "

    2010-02-15 18:37:58, CSI Info 0000019b [SR] cannot repair the military record [l:20 {10}] "tcpmon.ini" Microsoft-Windows-printing-StandardPortMonitor-TCPMonINI, Version = 6.0.6001.18000, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "

    2010-02-15 18:37:58, CSI Info 0000019 c [SR] this element is referenced by [l:160 {80}] "' Package_30_for_KB936330 ~ 31bf3856ad364e35 ~ x 86 ~ ~ 6.0.1.18000.936330 - 187_neutral_GDR" "

    2010-02-15 18:37:58, Info CSI 0000019f [SR] could not reproject corrupted file [ml:520 {260}, l:46 {23}] '------? \C:\Windows\System32"\[l:20{10}]"TCPMon.ini '; source file in the store is also corrupted
    2010-02-15 18:37:58, 000001 has 1 CSI Info [SR] full repair

    Hi CapsFanQ,

    To repair the system corrupted files on the computer that was not fixed by SFC scan, an upgrade in place might have to accomplish.

    Error message when you try to install Windows Vista Service Pack 2: "one or more system components that require the service pack are missing."

    http://support.Microsoft.com/default.aspx/KB/968279

    (See option 1 in the link)

    Note:  Before you perform an upgrade in-place, you must be prepared for the worst scenarios that led to your existing data on your computer being deleted. Make sure that you back up personal data to disks or other storage devices before performing an upgrade on the spot. To perform an upgrade in-place, follow these steps.

    Until you try to upgrade on the spot, I suggest you follow the steps mentioned below to fix USB:

    Step 1: Run the fixit provided in the link below.

    http://Windows.Microsoft.com/en-us/Windows-Vista/tips-for-solving-problems-with-USB-devices

    If the problem persists,

    Step 2: Connect the device to a different USB port and test and also to connect the device to another computer to eliminate the problem of USB device.

     

    If the problem persists,

    Step 3: Reinstall the USB controllers.

    First of all, please disconnect all USB devices and then perform the following steps:

    1. click on 'Start', type device manager in the search bar and press "Enter." If necessary, click on continue.

    2. in Device Manager, double-click to expand the "USB Bus controllers", right-click on the "host controller", click "Uninstall" and click "OK".

    3. Repeat step 2 to uninstall all items under 'USB Bus controllers'.

     

    Then, restart your computer and Windows 7 will automatically reinstall all USB controllers.

    You can contact the manufacturer of the USB device for known problems

    Step 4: Update the driver of the motherboard (Chip set drivers) to the latest version.

    Note: Please check with the manufacturer of the motherboard before installing the driver.

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Need help with loading lightroom 6

    Loaded disc. happens by entering the serial number is application to choose a name. does not load program.

    You must go in the App Store, and then you could spend MAC

    You can also contact Apple Chat Support for the upgrade.

  • Need help with loading BSO cube with several data export files using the Regional service

    Hello

    We have BSO cubes that are huge and when I expoted data in files, it generated ABC.txt, ABC_1.txt, ABC_2.txt, like this.

    How to load this data in the Cube that sits on the other environments? We use Essbase 9.3.1.

    I can load the individual files using EAS data loading? If so, ABC_2.txt then ABC_1.txt and finally an ABC.txt would be the loading sequence back?

    Please suggest.

    As Essbase is written this block by block, each block will have its complete info if it is done as a single export or parallel export. You can easily prove this (and I have) If you export a database and load only files 2 or 3, it loads without error. don't forget that you load a file rules, the load fails when the first error. There is no error found, so a value of a complete block of information must be present. Also open export (large files can be opened with wordpad) and you will see a complete info for block exery

  • Need help with loading the XML file

    Hello

    I spent reviewing the web/forums for an example on how to do this for a few days now.  I managed to get this working in Flash Pro easily enough, but I think I'm missing something when I want to do the same thing in Flex.

    Basically, I want to load an XML file and then set the values of the text of labels 5, equal to the data in the XML file.

    So I have a button created in MXML and have put the following click event:

    Click = "dsSetup (Event)" "

    I also stated the following:

    public var myRequest:URLRequest = new URLRequest ("assets/myFile.xml");   folder located under the CBC in project

    public var myLoader:URLLoader = new URLLoader();

    public var myXML:XML;

    My function that loads is as follows:

    public function dsSetup(event:MouseEvent):void

    {

         trace ("dsSetup");

    myXML = new XML (myLoader.data);

    H3. Text = myXML.source.itemA;

    H4.text = myXML.source.itemB;

    H5.text = myXML.source.itemC;

    H7.text = myXML.source.itemD;

    H8.text = myXML.source.itemE;

    currentState = "MainMenu";

    }

    myLoader.addEventListener (Event.COMPLETE, dsSetup);   I think that this line is no longer as I put it in the MXML

    myLoader.load (myRequest);

    It's the way I did in Flash and it worked fine, but I must be missing something when it comes to Flex.

    Can you explain or point me to a good tutorial that shows how to load XML in Flex code?

    Those I've found seems to have about 50 lines of code just to load a file and add through a complex for a beginner.

    Thank you very much

    I suggest you save the data loaded in a variable that can be linked, then bind the properties of the text - who:

    [Bindable]

    var myXML:XML;

    public void dsSetup(event:MouseEvent):void

    {

    myXML = new XML (myLoader.data);

    currentState = "MainMenu";

    }

    ...

  • need help to load the image from a xml file

    (Based on the example of Chapter 10, ActionScript 3.0 for ADOBE FLASH CS4, IPC)
    By using the 'setSong' function, I shoot with success of the < artist > child of my xml data, no problem. But I also have to display the jpg file in the < image > node and I meet a lot of difficulties. I tried adding more variables to the setSong function, but am frustrated. Someone could shine a little light and point this beginner in the right direction?

    function setSongs (): void {}
    for (var i = 0; i < 4; i ++) {}
    var artistText:String = songList_XML.song [i + songCount] .artist;
    Customizer var = this ["song" + (i + 1)] .artist;
    clipArtist.text = artistText;
    }
    }

    myXML:

    <? XML version = "1.0" encoding = "utf-8"? >
    < songlist >
    song <>
    < image id = "1" > images/dummyFace1.jpg < / image >
    < artist > first guy < / artist >
    < album > Aliquam neque dui, sold at, egestas nec, egestas dignissim, tortor. < / album >
    < / song >

    song <>
    < image id = "2" > images/dummyFace2.jpg < / image >
    < artist > second person < / artist >
    ante < album > Nam. Metus had integer and lacus accumsan commodo. < / album >
    < / song >

    song <>
    < image id = "3" > images/dummyFace3.jpg < / image >
    < artist > third Fellow < / artist >
    < album > Cras non sem vitae massa pharetra sold. Integer outbound < / album >
    < / song >

    song <>
    < image id = "4" > images/dummyFace4.jpg < / image >
    Fourth individual < artist > < / artist >
    < album > surpassing ullamcorper quam and ipsum. Aenean sed lacus sit amet leo so restore. < / album >
    < / song >
    < / songlist >

    :

    function setSongs (): void {}
    for (var i = 0; i)< 4;="" i++)="">
    var artistText:String = songList_XML.song [i + songCount] .artist;
    Customizer var = this ["song" + (i + 1)] .artist;
    clipArtist.text = artistText;

    var ldr:Loader = new Loader();

    var urlR:URLRequest = new URLRequest (image songList_XML.song [i + songCount]);

    LDR. Load (urlR);

    LDR.x = Whatever (i);

    LDR.y = whateverelse (i);

    addChild (ldr);

    }
    }

    myXML:




    images/dummyFace1.jpg
    First guy
    Aliquam neque dui, sold at, egestas nec, egestas dignissim, tortor.


    images/dummyFace2.jpg
    Second person
    Nam ante. Metus had integer and lacus accumsan commodo.


    images/dummyFace3.jpg
    Third Member
    CRAs non sem vitae massa pharetra sold. Integer is.


    images/dummyFace4.jpg
    Fourth person
    Surpassing ullamcorper quam and ipsum. Aenean sed lacus sit amet leo so restore.

Maybe you are looking for