Is there an alternative to using a Repeater , that I could make use of in my component (AS based).
For e.g.
 
Say I have a component called "Comp"
 
Comp.mxml (Pseudo-code)
===========
<mx:VBox>
  <mx:Script>
   
    public var dp:Array;
 
  </mx:Script>
 
  <mx:Repeater dataProvider="{dp}">
    <mx:Image source="{currentItem.url}"/>
  </mx:Repeater>
 
</mx:VBox>
 
Comp is used in Main.mxml and the dataprovider for Comp is set in Main.mxml.
Main also may add and remove items from the the dataprovider for Comp on subsequent events.
 
I would like to write Comp as an Actionscript class and avoid a Repeater all together.
I may be missing something really obvious, but how would I do that ?
 
TIA,
 
- superabe
 
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to