הצלחתי לעשות איד פשוט מבוסס על XML עם REPEATER.
אני רוצה ב XML להגדיר לו גם איזה כפתור/ים להציג בכל חלק של ה Accordion.
הקוד שיש לי כרגע:
Using actionscript3 Syntax Highlighting
<mx:Accordion width="400" height="400" creationCompleteEffect="Iris" openDuration="500"
>
<mx:Repeater id="rep" dataProvider="{pictures}">
<mx:VBox width="100%" height="100%"
verticalAlign="middle" horizontalAlign="center"
label="{rep.currentItem.title}" >
<mx:Button label="{rep.currentItem.title}"/>
</mx:VBox>
</mx:Repeater>
</mx:Accordion>
>
<mx:Repeater id="rep" dataProvider="{pictures}">
<mx:VBox width="100%" height="100%"
verticalAlign="middle" horizontalAlign="center"
label="{rep.currentItem.title}" >
<mx:Button label="{rep.currentItem.title}"/>
</mx:VBox>
</mx:Repeater>
</mx:Accordion>
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
מה עשית בסוף?
חדשות