
Untitled
By: a guest on
Apr 26th, 2012 | syntax:
None | size: 1.12 KB | hits: 11 | expires: Never
view same object when switching between layouts in flex4
<s:List id="list" width="100%" height="100%" dataProvider="{ recordingsShown }"
itemRenderer.CoverflowState="components.VideoItemRenderer"
itemRenderer.TileState="components.VideoItemRenderer2"
selectedIndex="0">
<s:layout.CoverflowState>
<Layouts:CoverflowLayout id="coverflow" selectedIndex="{ list.selectedIndex }"
horizontalDistance="103" selectedItemProximity="75"
depthDistance="1" elementRotation="-70" focalLength="300"
perspectiveProjectionX="-1" perspectiveProjectionY="-1"/>
</s:layout.CoverflowState>
<s:layout.TileState>
<s:TileLayout orientation="columns" columnAlign="justifyUsingWidth" rowAlign="justifyUsingHeight"
requestedColumnCount="-1"
requestedRowCount="-1"
paddingBottom="5" paddingLeft="5" paddingRight="5" paddingTop="5"
verticalGap="10" horizontalGap="10"/>
</s:layout.TileState>
</s:List>