More Flex 4 / Spark ItemRenderer Samples

More Flex 4 / Spark ItemRenderer Samples

Here are a few additional examples of Flex 4 / Spark ItemRenderers. They are similar to the examples I provided in my previous post with a different set of items.

Here is a first example using the new “depth” attribute, the new States syntax and a PostLayoutTransform:

A second example showing a different approach to “zoom” the hovered ItemRenderer:

A third showing a Rotate3D effect:

You can view the complete source code for the application here.

You can download the source code here.

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • LinkedIn
  • StumbleUpon
  • Twitter
This entry was posted in Flex. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

4 Comments

  1. Posted February 2, 2010 at 12:37 am | Permalink

    Christophe — one suggestion. When using a ‘zoom’ effect on tiles of items (i.e., a TileList, like you have above), the zoomed in item can make it difficult to ‘roll over’ the items next to it (because they overlap). I’d suggest –

    1) make the image itself mouse opaque.
    2) add a transparent rectangle to the item renderer that _doesn’t_ zoom.

    That will keep the hit area of the item renderers constant, which means you will always be selecting the item the mouse would be over if the renderer wasn’t using a zoom effect.

    Ely.

  2. Posted February 2, 2010 at 12:38 am | Permalink

    One other suggestion — Chet added the ‘auto reverse’ feature to effects so that roll overs could smoothly reverse themselves when moving the mouse quickly. You might want to use it on that first example.

  3. Posted February 3, 2010 at 12:37 am | Permalink

    Great Stuff..

    Thanks for sharing .. :)

  4. Brian
    Posted April 18, 2010 at 5:15 pm | Permalink

    Ely made the comments about how to resolve the issue with the overlapping images (image mouse opaque + transparent rectangle) – but does anyone have an example for this?

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>