In the last post the usage of the updateAfterEvent method was discussed and applied to a slider function. In this post, the code has been repackaged into the HorizontalSlider class. When used in the conjunction with the DataSentEvent class, the slider may be used to change volume, transparency or any other parameter dependent on a linearly variable [...]
In this latest variation of the ThumbnailScroller class a XML file is used to supply the class with its requisite parameters. In place of the three arrays used previously, a single parameter – the path to the XML file – is required. A sample file is shown below
The ThumbnailScroller class has been modified so that it can generate either a vertical or horizontal layout. A new parameter format has been added to the array gridArray (see line 9 below). Legal values for format are VER or HOR (all caps).
The ThumbnailScrollerFromArray class displays a user specified number of vertically aligned thumbnails and employs a scrollbar to bring others into view. Arrays are used to define the arrangement of the thumbnails, the scrollbar and the url’s and titles of the thumbnails.
This post combines the ThumbnailLoaderFromArray class with the ImageViewerFromArray class to construct a slideshow.
Two arrays are created, the first thumbsArray, is created defining the urls of the thumbnails displayed, their widths and heights; the second array, imagesArray, holds the same data for the larger images.
The ImageViewer class displays a series of images, one at a time, in the same frame and, when the image is clicked, loads the next image in a XML list.
Unlike the ImageLoader class which is passed the url of an image to load, the ImageViewer class is passed the url of a XML file [...]
This post concludes the description of the Menus class and details the code necessary for navigation. With the additional code, clicking on any active menu tab navigates to either a html or a flash based page depending on how the tab nodes in the menuTabs in the XML file are configured.
Each tab has two [...]
The Designer Toolkit is a collection of custom classes written in Actionscript 3 intended to aid designers in building websites more efficiently with less time spent programming.