I don't think this is a bug as I am not sure how it could work any
differently. You are repeatedly adding the same item (the string
"hello") to the list so it has no way to differentiate between them
and uses the newest instance for the rollOver and rollOut actions. If
you want to display the same string multiple times I think you will
need to fill your ArrayCollection with objects and access a property
via a labelFunction.

HTH,
Ben


--- In [email protected], "hank williams" <[EMAIL PROTECTED]> wrote:
>
> I posted this over the weekend, but I am sure most people, including
adobe,
> did not see it.
> 
> I saw that someone else had exactly the same problem in another
thread and
> initially responded to that thread. The discussion about that bug
quickly
> devolved into a critique of the persons programming style, and unless I
> missed something didnt resolve the issue of there being a bug.
> 
> I may be doing something wrong but I dont think so. My immediate
issue is to
> find a work around. Since this is a really basic thing I would
imagine that,
> if it is not a known issue (which is hard to imagine) that it will
get some
> attention.
> 
> Below describes the problem, along with an mxml code example.
> 
> If you take the below text, drop it into an app, You should see four
"hello"
> items in the list. If you move your mouse over the items, you should see
> that only the last item in the list of 4 "hello"s highlights, no matter
> where the mouse is. (at least hopefully you will see it... if not
that would
> be*really* wierd)
> 
> 
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml";
> initialize="initList()">
> 
> 
>      <mx:Script>
>         <![CDATA[
>             import mx.collections.ArrayCollection;
> 
>             [Bindable]
>             private var selectedChannels:ArrayCollection = new
> ArrayCollection();
> 
>             private function initList():void{
>                 selectedChannels.addItem("hello");
>                 selectedChannels.addItem("hello");
>                 selectedChannels.addItem("hello");
>                 selectedChannels.addItem("hello");
>             }
>         ]]>
>     </mx:Script>
> 
>     <mx:List  dataProvider="{selectedChannels}" width="100"/>
> </mx:Canvas>
>






------------------------ 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