Adobe Systems, Inc.

amg.SlideShow Class Reference

List of all members.

Detailed Description

Definition at line 18 of file SlideShow.as.


Public Member Functions

function SlideShow ()
function init (transition:String, transDuration:Number, slideDuration:Number, playmode:String, currView:String, viewMode:String, metaDataHeight:Number, mediaPosition:XMLNode, baseRefUrl:String, fitAtStart:Boolean, p_tabIndex:Number)
function startView (startSlide:Number, smartLoad:Boolean)
function dispatchEvent (eventName:String, eventValue:Object)
function clearMediaGroup ()
function parseMediaGroup (xmlMediaGroup:XMLNode)
function resetSlideDuration (duration:Number)
function setCurrImgSize (newImgSize:String)
function setImageMaxDim (newWidth:Number, newHeight:Number)
function smartLoader ()
function playCurrentVideo ()
function pauseCurrentVideo ()
function rewindCurrentVideo ()
function videoFullSize ()
function changeCurrView (newView:String, newRenditionSize:String)
function parseStyleXML (styleNode:XMLNode)
function livePreview (whichPart:String, styleNode:XMLNode)
function setHeightWidth (h:Number, w:Number)
function scrollImageUp ()
function scrollImageDown ()
function scrollImageRight ()
function scrollImageLeft ()
function checkVertScrollPos ()
function checkHorizScrollPos ()
function scrollThumbVertDrag ()
function scrollThumbVertStopDrag ()
function scrollThumbHorizDrag ()
function scrollThumbHorizStopDrag ()

Public Attributes

var strCurrView:String = "slideshow"
var strTransitionType:String = "fade"
var strImageLoading = "Loading image..."
var strSizeLoading = "Loading new image size..."
var bFirstRun:Boolean = true
var mediaXPos:Number = 0
var mediaYPos:Number = 0
var mediaWidth:Number
var mediaHeight:Number
var SlideshowVCRNextTip:String = ""
var SlideshowVCRPrevTip:String = ""
var SlideshowVCRPlayTip:String = ""
var SlideshowVCRPauseTip:String = ""
var SlideshowViewGalleryTip:String = ""
var SlideshowViewSlideshowTip:String = ""
var SlideshowVideoPlayTip:String = ""
var SlideshowVideoPauseTip:String = ""
var SlideshowVideoRewindTip:String = ""
var aMediaClips:Array
var bLoadingComplete:Boolean

Package Functions

function loadGroupXMLChunk (newMediaGroup:XMLNode)
function findBestFit ()
function setTint (clip:MovieClip, hexval:String, alpha:String)

Private Member Functions

function createBlankMediaNode ()
function startTimer ()
function stopTimer ()
function checkTime ()
function videoComplete ()
function showClip ()
function refreshClip ()
function slideshowControl (p_command:Object)
function checkImageScrolling ()
function setImageCanvasMask (w, h)

Private Attributes

var _strViewMode:String = "galleryDefault"
var _strCurrImgSize:String = "large"
var _bFitAtStart:Boolean = false
var _strBaseRefUrl:String = ""
var _strGroupId:String
var _iControlWidth:Number
var _iControlHeight:Number
var ImageCanvas:MovieClip
var ImageCanvasMask:MovieClip
var _iTabIndex:Number
var ScrollBtnLeft:MovieClip
var ScrollBtnRight:MovieClip
var ScrollBtnUp:MovieClip
var ScrollBtnDown:MovieClip
var ScrollLineHoriz:MovieClip
var ScrollLineVert:MovieClip
var ScrollThumbHoriz:MovieClip
var ScrollThumbVert:MovieClip
var ScrollThumbMarksHoriz:MovieClip
var ScrollThumbMarksVert:MovieClip
var _iVertScrollDistance:Number = 100
var _iHorizScrollDistance:Number = 100
var _bVertScrollUsed:Boolean = false
var _bHorizScrollUsed:Boolean = false
var _iImageCanvasTopSpacer:Number = 6
var _iXmlGroupChunkIndex:Number = Number.MAX_VALUE
var _iImageCanvasRightSpacer:Number = 6
var _iImageCanvasScalar:Number
var _iImageCanvasWidth:Number
var _iImageCanvasHeight:Number
var SlideShowBg:MovieClip
var SlideShowVCRButtons:MovieClip
var ViewSlideshowBtn:MovieClip
var ViewGalleryBtn:MovieClip
var ViewMapBtn:MovieClip
var SlideShowStatus:MovieClip
var SlideShowMetaData:MovieClip
var ToolTip:MovieClip
var _strSlideShowMetaData:String
var RenditionProgress:MovieClip
var _bDropShadows:Boolean = true
var _iDropShadowBorder:Number = 4
var _iSlideShowBg:Number
var _iSlideShowBgAlpha:Number
var _iSlideShowBorder:Number
var _iSlideShowBorderAlpha:Number
var _iImageBorderWidth:Number
var _iImageBorderColor:Number
var _iImageBorderAlpha:Number
var _iVideoBorderWidth:Number
var _iVideoBorderColor:Number
var _iVideoBorderAlpha:Number
var _bVideoDropShadows:Boolean = true
var _iVideoBgColor:Number
var _iVideoBgAlpha:Number
var _iVideoBtnForeColor:Number
var _iVideoBtnForeAlpha:Number
var _iVideoBtnBgColor:Number
var _iVideoBtnBgAlpha:Number
var _iVideoBtnBorderColor:Number
var _iVideoBtnBorderAlpha:Number
var _aImageRenditions:Array
var _oSmallRendition:Object
var _oMedRendition:Object
var _oLargeRendition:Object
var _iNextLargerHeight:Number
var _strMediaPostionType:String = "auto"
var _strImageScale:String = "downOnly"
var _strVideoScale:String = "downOnly"
var _iOrigMaxImgWidth:Number
var _iMaxImgWidth:Number
var _iOrigMaxImgHeight:Number
var _iMaxImgHeight:Number
var _iSlideShowMetadataHeight:Number = 40
var _iControlsBottomSpacer:Number = 7
var _iControlsSideSpacer:Number = 9
var _iControlsHorizSpacer = 5
var _iCaptionBottomSpacer = 5
var _strPlayMode:String
var _iStartSlide:Number = 0
var _iStartTime:Number = 0
var _iNextClip:Number = 0
var _iCurrentClip:Number = 0
var _iCurrentTime:Number = 0
var _iTimeOffset:Number = 0
var _bTimerRunning:Boolean = false
var _bAutoLoop:Boolean = true
var _iSlideDuration:Number = 3
var _iTransitionDuration:Number = 0.75
var _bSmartLoad:Boolean = true
var _iSmartLoaderIndex:Number = 0
var _iSmartLoaderCount:Number = 0
var _strFirstImageLoaded:String = "none loaded"
var _strLoadingMode:String = "none"
var _iLoadingClip:Number = -1
var _bSlideshowMetadataTitles = true
var _bSlideshowMetadataCaptions = true

Constructor & Destructor Documentation

function amg.SlideShow.SlideShow (  ) 

Definition at line 161 of file SlideShow.as.


Member Function Documentation

function amg.SlideShow.changeCurrView ( newView:String  ,
newRenditionSize:String   
)

Definition at line 760 of file SlideShow.as.

function amg.SlideShow.checkHorizScrollPos (  ) 

Definition at line 1280 of file SlideShow.as.

References _parent, and if().

function amg.SlideShow.checkImageScrolling (  )  [private]

Definition at line 1250 of file SlideShow.as.

function amg.SlideShow.checkTime (  )  [private]

Definition at line 515 of file SlideShow.as.

function amg.SlideShow.checkVertScrollPos (  ) 

Definition at line 1271 of file SlideShow.as.

References _parent, and if().

function amg.SlideShow.clearMediaGroup (  ) 

Definition at line 269 of file SlideShow.as.

function amg.SlideShow.createBlankMediaNode (  )  [private]

Definition at line 352 of file SlideShow.as.

function amg.SlideShow.dispatchEvent ( eventName:String  ,
eventValue:Object   
)

Definition at line 256 of file SlideShow.as.

function amg.SlideShow.findBestFit (  )  [package]

Definition at line 1309 of file SlideShow.as.

function amg.SlideShow.init ( transition:String  ,
transDuration:Number  ,
slideDuration:Number  ,
playmode:String  ,
currView:String  ,
viewMode:String  ,
metaDataHeight:Number  ,
mediaPosition:XMLNode  ,
baseRefUrl:String  ,
fitAtStart:Boolean  ,
p_tabIndex:Number   
)

Definition at line 200 of file SlideShow.as.

function amg.SlideShow.livePreview ( whichPart:String  ,
styleNode:XMLNode   
)

Definition at line 919 of file SlideShow.as.

function amg.SlideShow.loadGroupXMLChunk ( newMediaGroup:XMLNode   )  [package]

Definition at line 433 of file SlideShow.as.

function amg.SlideShow.parseMediaGroup ( xmlMediaGroup:XMLNode   ) 

Definition at line 274 of file SlideShow.as.

function amg.SlideShow.parseStyleXML ( styleNode:XMLNode   ) 

Definition at line 788 of file SlideShow.as.

function amg.SlideShow.pauseCurrentVideo (  ) 

Definition at line 751 of file SlideShow.as.

function amg.SlideShow.playCurrentVideo (  ) 

Definition at line 748 of file SlideShow.as.

function amg.SlideShow.refreshClip (  )  [private]

Definition at line 643 of file SlideShow.as.

function amg.SlideShow.resetSlideDuration ( duration:Number   ) 

Definition at line 403 of file SlideShow.as.

function amg.SlideShow.rewindCurrentVideo (  ) 

Definition at line 754 of file SlideShow.as.

function amg.SlideShow.scrollImageDown (  ) 

Definition at line 1257 of file SlideShow.as.

function amg.SlideShow.scrollImageLeft (  ) 

Definition at line 1268 of file SlideShow.as.

function amg.SlideShow.scrollImageRight (  ) 

Definition at line 1265 of file SlideShow.as.

function amg.SlideShow.scrollImageUp (  ) 

Definition at line 1254 of file SlideShow.as.

function amg.SlideShow.scrollThumbHorizDrag (  ) 

Definition at line 1298 of file SlideShow.as.

References _parent.

function amg.SlideShow.scrollThumbHorizStopDrag (  ) 

Definition at line 1303 of file SlideShow.as.

function amg.SlideShow.scrollThumbVertDrag (  ) 

Definition at line 1289 of file SlideShow.as.

References _parent.

function amg.SlideShow.scrollThumbVertStopDrag (  ) 

Definition at line 1294 of file SlideShow.as.

function amg.SlideShow.setCurrImgSize ( newImgSize:String   ) 

Definition at line 412 of file SlideShow.as.

function amg.SlideShow.setHeightWidth ( h:Number  ,
w:Number   
)

Definition at line 1053 of file SlideShow.as.

function amg.SlideShow.setImageCanvasMask ( ,
 
) [private]

Definition at line 1346 of file SlideShow.as.

function amg.SlideShow.setImageMaxDim ( newWidth:Number  ,
newHeight:Number   
)

Definition at line 415 of file SlideShow.as.

function amg.SlideShow.setTint ( clip:MovieClip  ,
hexval:String  ,
alpha:String   
) [package]

Definition at line 1361 of file SlideShow.as.

function amg.SlideShow.showClip (  )  [private]

Definition at line 581 of file SlideShow.as.

function amg.SlideShow.slideshowControl ( p_command:Object   )  [private]

Definition at line 654 of file SlideShow.as.

References if().

function amg.SlideShow.smartLoader (  ) 

Definition at line 453 of file SlideShow.as.

function amg.SlideShow.startTimer (  )  [private]

Definition at line 504 of file SlideShow.as.

function amg.SlideShow.startView ( startSlide:Number  ,
smartLoad:Boolean   
)

Definition at line 233 of file SlideShow.as.

function amg.SlideShow.stopTimer (  )  [private]

Definition at line 507 of file SlideShow.as.

function amg.SlideShow.videoComplete (  )  [private]

Definition at line 571 of file SlideShow.as.

function amg.SlideShow.videoFullSize (  ) 

Definition at line 757 of file SlideShow.as.


Member Data Documentation

Definition at line 85 of file SlideShow.as.

var amg.SlideShow._bAutoLoop [private]

Definition at line 140 of file SlideShow.as.

Definition at line 63 of file SlideShow.as.

Definition at line 23 of file SlideShow.as.

Definition at line 44 of file SlideShow.as.

Definition at line 158 of file SlideShow.as.

Definition at line 157 of file SlideShow.as.

Definition at line 149 of file SlideShow.as.

Definition at line 138 of file SlideShow.as.

Definition at line 43 of file SlideShow.as.

Definition at line 75 of file SlideShow.as.

Definition at line 122 of file SlideShow.as.

Definition at line 27 of file SlideShow.as.

Definition at line 119 of file SlideShow.as.

Definition at line 121 of file SlideShow.as.

Definition at line 120 of file SlideShow.as.

Definition at line 26 of file SlideShow.as.

Definition at line 132 of file SlideShow.as.

Definition at line 134 of file SlideShow.as.

Definition at line 64 of file SlideShow.as.

Definition at line 42 of file SlideShow.as.

Definition at line 71 of file SlideShow.as.

Definition at line 70 of file SlideShow.as.

Definition at line 69 of file SlideShow.as.

Definition at line 52 of file SlideShow.as.

Definition at line 48 of file SlideShow.as.

Definition at line 50 of file SlideShow.as.

Definition at line 45 of file SlideShow.as.

Definition at line 51 of file SlideShow.as.

Definition at line 154 of file SlideShow.as.

Definition at line 115 of file SlideShow.as.

Definition at line 112 of file SlideShow.as.

var amg.SlideShow._iNextClip [private]

Definition at line 130 of file SlideShow.as.

Definition at line 91 of file SlideShow.as.

Definition at line 114 of file SlideShow.as.

Definition at line 111 of file SlideShow.as.

Definition at line 142 of file SlideShow.as.

Definition at line 65 of file SlideShow.as.

Definition at line 66 of file SlideShow.as.

Definition at line 67 of file SlideShow.as.

Definition at line 68 of file SlideShow.as.

Definition at line 117 of file SlideShow.as.

Definition at line 151 of file SlideShow.as.

Definition at line 150 of file SlideShow.as.

Definition at line 126 of file SlideShow.as.

Definition at line 128 of file SlideShow.as.

var amg.SlideShow._iTabIndex [private]

Definition at line 30 of file SlideShow.as.

Definition at line 136 of file SlideShow.as.

Definition at line 143 of file SlideShow.as.

Definition at line 41 of file SlideShow.as.

Definition at line 77 of file SlideShow.as.

Definition at line 76 of file SlideShow.as.

Definition at line 74 of file SlideShow.as.

Definition at line 73 of file SlideShow.as.

Definition at line 72 of file SlideShow.as.

Definition at line 81 of file SlideShow.as.

Definition at line 80 of file SlideShow.as.

Definition at line 83 of file SlideShow.as.

Definition at line 82 of file SlideShow.as.

Definition at line 79 of file SlideShow.as.

Definition at line 78 of file SlideShow.as.

Definition at line 46 of file SlideShow.as.

Definition at line 88 of file SlideShow.as.

Definition at line 87 of file SlideShow.as.

Definition at line 86 of file SlideShow.as.

Definition at line 24 of file SlideShow.as.

Definition at line 22 of file SlideShow.as.

Definition at line 152 of file SlideShow.as.

Definition at line 25 of file SlideShow.as.

Definition at line 98 of file SlideShow.as.

Definition at line 153 of file SlideShow.as.

Definition at line 97 of file SlideShow.as.

Definition at line 124 of file SlideShow.as.

Definition at line 61 of file SlideShow.as.

Definition at line 99 of file SlideShow.as.

Definition at line 21 of file SlideShow.as.

Definition at line 146 of file SlideShow.as.

Definition at line 92 of file SlideShow.as.

Definition at line 155 of file SlideShow.as.

Definition at line 28 of file SlideShow.as.

Definition at line 29 of file SlideShow.as.

Definition at line 96 of file SlideShow.as.

Definition at line 95 of file SlideShow.as.

Definition at line 93 of file SlideShow.as.

Definition at line 94 of file SlideShow.as.

Definition at line 62 of file SlideShow.as.

Definition at line 34 of file SlideShow.as.

Definition at line 31 of file SlideShow.as.

Definition at line 32 of file SlideShow.as.

Definition at line 33 of file SlideShow.as.

Definition at line 35 of file SlideShow.as.

Definition at line 36 of file SlideShow.as.

Definition at line 37 of file SlideShow.as.

Definition at line 39 of file SlideShow.as.

Definition at line 40 of file SlideShow.as.

Definition at line 38 of file SlideShow.as.

Definition at line 53 of file SlideShow.as.

Definition at line 59 of file SlideShow.as.

Definition at line 58 of file SlideShow.as.

Definition at line 54 of file SlideShow.as.

Definition at line 101 of file SlideShow.as.

Definition at line 104 of file SlideShow.as.

Definition at line 103 of file SlideShow.as.

Definition at line 102 of file SlideShow.as.

Definition at line 108 of file SlideShow.as.

Definition at line 107 of file SlideShow.as.

Definition at line 109 of file SlideShow.as.

Definition at line 105 of file SlideShow.as.

Definition at line 106 of file SlideShow.as.

Definition at line 20 of file SlideShow.as.

var amg.SlideShow.strImageLoading = "Loading image..."

Definition at line 89 of file SlideShow.as.

var amg.SlideShow.strSizeLoading = "Loading new image size..."

Definition at line 90 of file SlideShow.as.

Definition at line 84 of file SlideShow.as.

var amg.SlideShow.ToolTip [private]

Definition at line 60 of file SlideShow.as.

Definition at line 56 of file SlideShow.as.

var amg.SlideShow.ViewMapBtn [private]

Definition at line 57 of file SlideShow.as.

Definition at line 55 of file SlideShow.as.


The documentation for this class was generated from the following file:

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.