Greetings -

I have a repeater inside a view state (and a few layout containers). 
Compiles fine, looks fine in design mode, but when displaying in the 
browser, the repeating elements have positionally broken out of their 
layout containers, ignoring both a containing Panel and Canvas to 
become a child of the root level HBox (of the component)  ?? Can send 
screen shot if it would help... Here's the repeater portion of the 
code..

cheers, ethan

<mx:Script>
      <![CDATA[
            [Bindable]
            public var touchPlansDP:Array = [{
            Thumb:'Assets/Images/print.png',
            Name:'Welcome Card',
            Description:'This is the description of the Welcome Card'}];
      ]]>
</mx:Script>

<mx:ArrayCollection id="touchPlansAC" source="{touchPlansDP}"/>

<mx:Repeater id="touchPlansRPT" dataProvider="{touchPlansAC}" 
startingIndex="0" count="4">
      <mx:HBox width="100%" horizontalGap="10">
            <mx:Image source="{touchPlansRPT.currentItem.Thumb}" width="150" 
height="100"/>
            <mx:VBox width="100%">
                  <mx:Label text="{touchPlansRPT.currentItem.Description}"/>
                  <mx:Text text="{touchPlansRPT.currentItem.Description}"/>
                  <mx:Button label="Select This Plan" 
click="currentState='touchOptions'"/>
            </mx:VBox>
      </mx:HBox>                       
</mx:Repeater>



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