Guest User

Untitled

a guest
Apr 26th, 2012
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. view same object when switching between layouts in flex4
  2. <s:List id="list" width="100%" height="100%" dataProvider="{ recordingsShown }"
  3. itemRenderer.CoverflowState="components.VideoItemRenderer"
  4. itemRenderer.TileState="components.VideoItemRenderer2"
  5. selectedIndex="0">
  6.  
  7. <s:layout.CoverflowState>
  8. <Layouts:CoverflowLayout id="coverflow" selectedIndex="{ list.selectedIndex }"
  9. horizontalDistance="103" selectedItemProximity="75"
  10. depthDistance="1" elementRotation="-70" focalLength="300"
  11. perspectiveProjectionX="-1" perspectiveProjectionY="-1"/>
  12. </s:layout.CoverflowState>
  13.  
  14. <s:layout.TileState>
  15.  
  16. <s:TileLayout orientation="columns" columnAlign="justifyUsingWidth" rowAlign="justifyUsingHeight"
  17. requestedColumnCount="-1"
  18. requestedRowCount="-1"
  19. paddingBottom="5" paddingLeft="5" paddingRight="5" paddingTop="5"
  20. verticalGap="10" horizontalGap="10"/>
  21.  
  22. </s:layout.TileState>
  23. </s:List>
Advertisement
Add Comment
Please, Sign In to add comment