<mx:Repeater dataProvider="{new Array(10)}" id="repeat">
        <mx:Panel width="100" height="100" x="{repeat.currentIndex *100}"/>
    </mx:Repeater>


----- Original Message ----
From: Gordon Smith <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, May 30, 2008 9:00:37 PM
Subject: RE: [flexcoders] Repeater Question


No. You can use startingIndex and count to
specify just a range within a dataProvider, but you have to have a
dataProvider. Try
 
     <Repeater dataProvider="{new
Array(10)}"/>
 
Gordon Smith
Adobe Flex SDK Team
 

________________________________
 
From:[EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf 
Of Abu Hamdan
Sent: Friday, May 30, 2008 5:43 PM
To: [EMAIL PROTECTED] ups.com
Subject: [flexcoders] Repeater
Question
 
can a
repeater be used without a dataprovider, i want to repeat some panels based on
a number and i was thinking ofu sing the count property only, but it seems to
not work, any suggestions.

rubeel


-- 
Rubeel Muhammad Iqbal     


      

Reply via email to