views:

7

answers:

0

Hello there.

I'm using JsFl in my Flash CS4 application to provide some feedback to our 2D artists. I'd like to display a dialog box, thanks to JsFl, filled with a listbox or a tree... And my problem is : my dialog box is displayed but my listbox is freaking empty (even listheaders are missing).

here is my JsFl call to my XML: var result = fl.getDocumentDOM().xmlPanel(fl.configURI + "Commands/dialogbox.xml");

and here is my XML file:

<?xml version='1.0'?>
<dialog name='dialog' title='dialogbox' buttons='accept,cancel' width='300' height='400'>
<box>
<listbox>
        <listhead>
            <listheader label="Name"></listheader>
            <listheader label="Age"></listheader>
            <listheader label="City"></listheader>
        </listhead>
        <listcols>
            <listcol flex="1"></listcol>
            <listcol flex="1"></listcol>
            <listcol flex="1"></listcol>
        </listcols>
        <listitem>
            <listcell label="Julia"></listcell>
            <listcell label="19"></listcell>
            <listcell label="Boston"></listcell>
        </listitem>
        <listitem>
            <listcell label="Sandra"></listcell>
            <listcell label="25"></listcell>
            <listcell label="London"></listcell>
        </listitem>
        <listitem>
            <listcell label="Sharon"></listcell>
            <listcell label="35"></listcell>
            <listcell label="Paris"></listcell>
        </listitem>
    </listbox>
</box>
</dialog>

Any help would be nice :)