fsplayer.api.ISlideThumbnail Interface

The ISlideThumbnail interface provides the information about the particular presentation thumbnail and provides method for thumbnail loading into the specified MovieClip.

Methods

Method

Description

getSlideIndex():Number

Returns slide index the thumbnail corresponds to

load(target:MovieClip, [listener:ISlideThumbnailLoadingListener]):Void

Loads the thumbnail image into the target MovieClip. When the thumbnail is loaded, the notification will be sent to the passed listener interface.
The target parameter is a MovieClip within the skin MovieClip (see the remarks section)

Remarks

When the presentation is wrapped into a skin which supports thumbnails (Classic, Crystal, Advanced or Lite), iSpring generates thumbnails in one of the following ways:

  • When the presentation is exported into a solid Flash movie, iSpring stores Flash presentation thumbnails as internal Flash movie assets. Such assets are created using MovieClip.attachMovie() method.
    The reason for the target parameter of the load() method restriction is as follows: thumbnails, the skin and the player core are located within the same Flash file, so thumbnails assets are accessible within that Flash file only.
  • When the presentation is exported into a set of Flash files with player, each thumbnail is saved into a separate Flash file. Such assets are loaded using MovieClip.loadMovie() method or via MovieClipLoader class.

The ISlideThumbnail interface provides skins with the unified way of internal and external thumbnails loading. Thumbnails are loaded in the proper way by player core. The core also notifies skin when the particular thumbnail is loaded via the ISlideThumbnailLoadingListener Interface.

See also

ISlideThumbnailLoadingListener Interface
IThumbnailsCollection Interface
Flash Presentation ActionScript API Reference