ImageRail: New MXML Image Gallery Component

Andrei Ionescu of FLEX{er} presented a new MXML component called ImageRail. This MXML component displays a series of thumbnails with the capability to scroll them horizontally. While ImageRail has a nice set of features it is fully extendable and is actually encouraged to do so.

Modifiable Parameters Include:

  • paths: an array containing URLs to images
  • images: an array containing image objects
  • imagesToShow: an unsigned integer that specifies the number of images displayed at a time
  • imagesGap: an unsigned integer that specifies the gap between images
  • passePartout: an unsigned integer that specifies the white padding around each image
  • effect: a function that in fact is the easing function (total of 10)
  • effectDuration: an unsigned integer that specifies the duration in milliseconds
  • height: a number that specifies the height of the component, based on which all others measures are calculated
  • width: a number that specifies the width

imageRail_component

You can view the component and download the source via

FLEX{er}. This is a nice contribution to the Flex community. Now I just need to figure out how I can use this in an existing or future project. Enjoy!

Update: ImageRail Update: Adding Click Event, Styles And Handcursor

Preview

Share this Post:

This post was written by:

Angel - who has written 275 posts on Flash Speaks Actionscript.


Contact the author

Related Posts:

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

2 Responses to “ImageRail: New MXML Image Gallery Component”

  1. Joeflash says:

    Your link for the preview does not work.

  2. Angel says:

    Hmmm! I just tried it now and it seems fine. I would try again if you’re interested.

Trackbacks/Pingbacks


Leave a Reply