|
|
|||
Flash Player 6
myThumbnailer.makeThumbnails(thumbNames, width, height, distance, velocity, path)
thumbNames - An array of text strings listing the names of thumbnail jpegs (with or without .jpg extension) or swf files (with the swf extension).
width - An integer specifying the width of area that the thumbnailer will occupy.
height - An integer specifying the height of area that the thumbnailer will occupy.
distance - An integer specifying the distance between thumbnails.
velocity - An integer specifying the acceleration factor of thumbnail movement.
path - An string holding relative path to the thumbnail folder.
Nothing.
Method; Resets the component and reloads thumbnails
The following code will initialize Thumbnailer component:
var temp = ["thumb01", "thumb02", "thumb03", "thumb04", "thumb05", "thumb06"]; myThumbs.makeThumbnails(temp, 450, 100, 10, 10, "thumbs");