If a repeated element has an id, say “myId”, you can reference the element
using myId[n], where “n” is the index of the dataProvider item.

 

But first, do not do your repeated content in-line. Instead, create a
component that encapsulates all of the behaviors you want, including the
style changes, and repeat that.  You will find this often eliminates the
need to iterate the repeated content.

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of j2me_soul
Sent: Saturday, July 04, 2009 10:11 PM
To: flexcoders
Subject: [flexcoders] How to iterate items in repeater?

 






I wanna change some specific item's style which inside the repeater
component.

How can I iterate the items in the repeater and filtrate them ?






  _____  

200
<http://count.mail.163.com/redirect/footer.htm?f=http://gouwu.youdao.com> 万
种商品,最低价格,疯狂诱惑你 



Reply via email to