On 3/14/06, Tim Sawyer <[EMAIL PROTECTED]> wrote:
> <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?
You want a reference to the VBox in the "click" event of the VBox?
That's `event.target`, isn't it?
Manish
--
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/