Hi!

I'm having difficulties to find out what is wrong with this code.
Please help me out.

Kategorije.mxml
---
<?xml version="1.0" encoding="utf-8"?>
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute"
width="245" height="465" title="Kategorije">

        <mx:XML source="http://localhost/~arnold/bla/izpisKategorij.xml";
id="reqKategorije"/>
        
        <mx:List x="10" id="bla" y="10" width="205" height="298"
dataProvider="{reqKategorije.kategorija}" labelField="@label"
textAlign="center"/>
        <mx:Label x="10" y="316"  text="{bla.selectedItem.label}" width="169"/>
</mx:Panel>
---

izpisKategorij.xml
---
<kat>
<kategorija label="X" data="3"/>
<kategorija label="Zi" data="1" />
<kategorija label="Rlec" data="2" />
<kategorija label="Sci" data="4" />
<kategorija label="Pkti" data="5" />
</kat>
---

The XML is displayed in <mx:List> tag but I can check which item is
selected. What could be wrong? selectedIndex works fine, but not
selectedItem.






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to