Try
<mx:Label x="10" y="316" text="[EMAIL PROTECTED]" width="169"/>

At 08:29 AM 7/18/2006, arnold_charming wrote:

>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>http://www.adobe.com/2006/mxml"; 
>layout="absolute"
>width="245" height="465" title="Kategorije">
>
><mx:XML 
>source="<http://localhost/~arnold/bla/izpisKategorij.xml>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.
>
>
>
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 7/14/2006



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 7/14/2006




------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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