Some time ago, in a previous article I presented you ImageRail component that displays some thumbnails with possibility to scroll to left or right. Now we will add some new features that were missing.
Click Event – imageClick
Styles – imageBackgroundAlpha
HandCursor
Click event will be triggered when there is a click on an image, more precisely, on the [...]
In this article I’ll present a new component I built: ImageRail. This MXML component will display a series of thumbnails having the possibility to scroll them horizontally.
Parameters:
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 – deafult is [...]