Image Viewer
Add an image viewer or a slide show to your movie. Add next/previous buttons to look at a list of images. Sit back and watch a slideshow transition though a list of images.
Properties
Image List
• A list of images to view. Add images to the library first.
|
On Click
• The script to be executed when clicked or pressed.
|
On Change
• The script to be executed when the item changes.
|
The 'On Click' and 'On Change' events include two variables. 'Index', the index of the image. 'Image', the name of the image.
alert(Index+' '+Image);
Fill Type
• The method of filling this item.
|
Border Type
• The type of line, none, solid, dotted or dashed lines.
|
Border Color
• The color of the lines or borders.
|
Border Width
• The width of the lines or borders.
|
Padding
• The gap between the border and the content.
|
Auto Play
• The 'Image Viewer' will automatically start playing.
|
Loop
• When the 'Image Viewer' has finished playing it will start again.
|
Allow Swipe
• Allow the images to be changed by swiping with a mouse or finger.
|
Preload
• Start loading this before the movie starts playing. This might cause the movie to pause while loading in some browsers.
|
Image Scale
• How the image fits the available space.
|
Image Transition
• How the image will transition to the next image.
|
Transition Direction
• The direction of the transition.
|
Transition Length
• The length of the transition in frames. Twelve frames is one second.
|
Wait Length
• The length of the wait between transitions in frames. Twelve frames is one second.
|
Easing Type
• How the transition moves between one image and the next.
|
Easing Strength
• The strength of the easing.
|
Script
Image Viewer Get Index
• Get the current image index in an 'Image Viewer'. You must set a 'Script ID' value for the 'Image Viewer' in the timeline.
ImageViewerGetIndex("Script ID");
|
Image Viewer Get Image
• Get the current image in an 'Image Viewer'. You must set a 'Script ID' value for the 'Image Viewer' in the timeline.
ImageViewerGetImage("Script ID");
|
Image Viewer Set Index
• Set an image in an 'Image Viewer'. Choose a value for the index between 1 and the total images in the image list. You must set a 'Script ID' value for the 'Image Viewer' in the timeline.
ImageViewerSetIndex("Script ID",Index:Number);
|
Image Viewer Set Image
• Set an image in an 'Image Viewer'. Choose the name of an image in the image list. You must set a 'Script ID' value for the 'Image Viewer' in the timeline.
ImageViewerSetImage("Script ID","Image");
|
Image Viewer Play
• The 'Image Viewer' viewer will play a slide show. You must set a 'Script ID' value for the 'Image Viewer' in the timeline.
ImageViewerPlay("Script ID");
|
Image Viewer Stop
• The 'Image Viewer' viewer will stop playing a slide show. You must set a 'Script ID' value for the 'Image Viewer' in the timeline.
ImageViewerStop("Script ID");
|
Image Viewer First
• The 'Image Viewer' will show the first image in the image list. You must set a 'Script ID' value for the 'Image Viewer' in the timeline.
ImageViewerFirst("Script ID");
|
Image Viewer Previous
• The 'Image Viewer' will show the previous image in the image list. You must set a 'Script ID' value for the 'Image Viewer' in the timeline.
ImageViewerPrevious("Script ID");
|
Image Viewer Next
• The 'Image Viewer' will show the next image in the image list. You must set a 'Script ID' value for the 'Image Viewer' in the timeline.
ImageViewerNext("Script ID");
|
Image Viewer Last
• The 'Image Viewer' will show the last image in the image list. You must set a 'Script ID' value for the 'Image Viewer' in the timeline.
ImageViewerLast("Script ID");
|
Image Viewer Add Url
• Add a new image to the 'Image Viewer'. You must set a 'Script ID' value for the 'Image Viewer' in the timeline.
ImageViewerAddUrl("Script ID","Name","http://");
|
Image Viewer Remove Url
• Remove an image to the 'Image Viewer'. You must set a 'Script ID' value for the 'Image Viewer' in the timeline.
ImageViewerRemoveUrl("Script ID","Name");
|