Hey everyone,

I am basically trying to do this:

<mx:Repeater width="100%" id="r" dataProvider="{frames}">
        <mx:Button label="Frame {r.currentIndex}" click="selectedFrame =
frames.getItemAt(r.currentIndex) as Presentation"/>
</mx:Repeater>

After creation, the buttons all reflect "Frame 0, Frame 1, etc..." yet
if I go to execute the click function I get an error about the
renderer having been terminated. Is there a way to lock in value for
current index so the click event will execute properly?






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