As we already discussed in the Making selections from a custom image (the push button and image component) recipe in Chapter 3, From a Static to an Interactive Dashboard, you can use the image component to show pictures or Flash (.swf
) files in your dashboard. This recipe will show how you can create slideshows of multiple images and/or SWF files with the Slide Show component.
For this recipe, we need some images and/or SWF files. Make sure that these are files of the following types: .jpg
, .png
, .gif
, .bmp
, or .swf
. The files can reside on your local computer or on the Web.
The Play Selector component does most of the work here actually. We need it to change the image that should be displayed by using data insertion. The slide show component only displays the images and provides a nice transition between two images.
In the Appearance tab, there are some options that are specific to this component. First is Sizing Method, where you can set how the image or the SWF file should be displayed: in its original size, in scale, or stretched to the size of the component. Next, there are settings for Horizontal Alignment and Vertical Alignment. Besides these options the standard Transparency option is also available: