Hi,
I am rendering an inbox full of emails to the user. I'd like single click to
"select" an item (say, change the clicked one's background colour to blue and
make the rest white) and then double click to open another window with the
message in.
Individual emails in the list are generated using a repeater something like
this:
<mx:Repeater id="messageList" dataProvider="{messageDataProvider}">
<mx:VBox doubleClick="openMessage(event.currentTarget.getRepeaterItem())"
click="selectMessage()">
<mx:Label text="{messageList.currentItem.Subject}/>
</mx:VBox>
</mx:Repeater>
Is there a straightforward way I can get a handle to the VBox to pass into the
selectMessage() method, so I can manipulate its colours and children?
Or is there a much simpler method I've missed?
Thanks,
Tim.
--
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/