STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/94820032?noj=FRM94820032-22DC" width="1" height="1"></div>

viewer.swf

This is the info page for
Flash #10125

(Click the ID number above for more basic data on this flash file.)


Text
SIMPLEVIEWER

>> DOWNLOAD <<

<p align="left"></p>

LOADING IMAGE

LOADING NAVIGATION

LOADING GALLERY

GALLERY NOT FOUND

<p align="left"></p>

ActionScript [AS1/AS2]

Frame 1
Frame 2
function onResize() { var _local3 = Stage.width; var _local2 = Stage.height; if (_global.SVStageWidth != undefined) { _local3 = _global.SVStageWidth; } if (_global.SVStageHeight != undefined) { _local2 = _global.SVStageHeight; } mcPreloader._x = Math.round(_local3 / 2); mcPreloader._y = Math.round(_local2 / 2); } stop(); Stage.align = "TL"; Stage.scaleMode = "noScale"; _quality = "best"; System.security.allowDomain("*"); if (_root.preloaderColor != undefined) { var col = new Color(mcPreloader); col.setRGB(_root.preloaderColor); } Stage.addListener(this); onResize();
Frame 30
var sm = com.airtightinteractive.apps.viewers.simpleViewer.StageManager.getInstance(); sm.init(this); stop(); Stage.removeListener(this);
Symbol 8 MovieClip Frame 1
stop();
Symbol 8 MovieClip Frame 10
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 9
stop(); mcLoader.loadbarMaxWidth = mcLoader.mcBkgnd._width; mcLoader.onEnterFrame = function () { bLoaded = _root.getBytesLoaded(); bTotal = _root.getBytesTotal(); this.setLoadBarWidth(bLoaded / bTotal); if ((bLoaded > 16) && (bLoaded == bTotal)) { this.onEnterFrame = undefined; this._parent.gotoAndPlay("loadXML"); } }; mcLoader.setLoadBarWidth = function (fractionLoaded) { var _local2 = Math.round(fractionLoaded * this.loadbarMaxWidth); _local2 = Math.min(this.loadbarMaxWidth, _local2); this.mcBar._width = _local2; };
Symbol 32 MovieClip Frame 16
function xmlLoaded(success) { trace("Loaded XML: " + success); mcLoader.onEnterFrame = undefined; if (success) { mcLoader.setLoadBarWidth(1); gotoAndPlay ("done"); } else { trace("Load XML failed"); mcLoader.gotoAndStop(3); mcLoader.setLoadBarWidth(0); } } mcLoader.gotoAndStop(2); mcLoader.setLoadBarWidth(0); var xmlPath = "gallery.xml"; if (_root.xmlDataPath != undefined) { xmlPath = _root.xmlDataPath; } _global.gImageData_xml = new XML(); gImageData_xml.onLoad = xmlLoaded; gImageData_xml.ignoreWhite = true; gImageData_xml.load(xmlPath); mcLoader.onEnterFrame = function () { this.setLoadBarWidth(gImageData_xml.getBytesLoaded() / gImageData_xml.getBytesTotal()); }; stop();
Symbol 32 MovieClip Frame 32
this._parent.gotoAndPlay("main"); stop();
Symbol 41 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.StageManager] Frame 0
class com.airtightinteractive.apps.viewers.simpleViewer.StageManager { static var instance; var mClip_mc, mThumbArea, mImageArea, mXMLManager, mBkgndLoaded, mBkgnd_mc, mCaption_mc, mTitle_mc, mDownloadLink_mc, mResize_int; function StageManager () { } static function getInstance() { if (instance == null) { instance = new com.airtightinteractive.apps.viewers.simpleViewer.StageManager(); } return(instance); } function init(target) { mClip_mc = target; mThumbArea = com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea.getInstance(); mImageArea = com.airtightinteractive.apps.viewers.simpleViewer.ImageArea.getInstance(); mXMLManager = com.airtightinteractive.apps.viewers.simpleViewer.XMLManager.getInstance(); mXMLManager.__set__xmlData(_global.gImageData_xml); var _local3 = new ContextMenu(); _local3.hideBuiltInItems(); if (com.airtightinteractive.apps.viewers.simpleViewer.Options.enableDownloadLink) { _local3.customItems.push(new ContextMenuItem("Download SimpleViewer", openURL)); } mClip_mc.menu = _local3; mBkgndLoaded = false; } function onXMLLoaded() { if (mXMLManager.backgroundImagePath != null) { mBkgnd_mc = mClip_mc.createEmptyMovieClip("mcBkgnd", mClip_mc.getNextHighestDepth()); var _local3 = new MovieClipLoader(); _local3.addListener(this); _local3.loadClip(mXMLManager.backgroundImagePath, mBkgnd_mc); } mImageArea.init(mClip_mc); mThumbArea.init(mClip_mc); if (com.airtightinteractive.apps.viewers.simpleViewer.Options.showCaptions && (mThumbArea.__get__pageSize() > 0)) { mCaption_mc = mClip_mc.attachMovie("Caption", "mcCaption", mClip_mc.getNextHighestDepth()); if (!com.airtightinteractive.apps.viewers.simpleViewer.Options.fixedLayout) { mCaption_mc.txtText.autoSize = true; } mCaption_mc.txtText.wordWrap = true; var _local5 = new Color(mCaption_mc); _local5.setRGB(mXMLManager.captionTextColor); } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.showTitle && (mThumbArea.__get__pageSize() > 0)) { mTitle_mc = mClip_mc.attachMovie("Title", "mcTitle", mClip_mc.getNextHighestDepth()); if (!com.airtightinteractive.apps.viewers.simpleViewer.Options.fixedLayout) { mTitle_mc.txtText.autoSize = true; } mTitle_mc.txtText.wordWrap = true; mTitle_mc.txtText.htmlText = mXMLManager.title; var _local4 = new Color(mTitle_mc); _local4.setRGB(mXMLManager.titleTextColor); } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.enableDownloadLink) { mDownloadLink_mc = mClip_mc.attachMovie("DownloadLink", "mcDownloadLink", mClip_mc.getNextHighestDepth()); mDownloadLink_mc.onRollOver = function () { this.mcText.gotoAndPlay(2); }; mDownloadLink_mc.onRollOut = function () { this.mcText.gotoAndStop(1); }; mDownloadLink_mc.onRelease = mx.utils.Delegate.create(this, openURL); var _local2 = new Color(mDownloadLink_mc.mcText); var _local5 = new Color(mDownloadLink_mc.mcBkgnd); _local2.setRGB(mXMLManager.captionTextColor); if (_local2.getRGB() < 6710886) { _local5.setRGB(16777215); } } if (!com.airtightinteractive.apps.viewers.simpleViewer.Options.fixedLayout) { Stage.addListener(this); } doLayout(); mImageArea.createImages(); mThumbArea.createThumbs(); } function doLayout() { clearInterval(mResize_int); mResize_int = null; if (com.airtightinteractive.apps.viewers.simpleViewer.Options.fixedLayout) { mThumbArea.setPosn(com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbAreaX, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbAreaY); mImageArea.setPosn(com.airtightinteractive.apps.viewers.simpleViewer.Options.imageAreaX, com.airtightinteractive.apps.viewers.simpleViewer.Options.imageAreaY); mImageArea.setSize(com.airtightinteractive.apps.viewers.simpleViewer.Options.imageAreaWidth, com.airtightinteractive.apps.viewers.simpleViewer.Options.imageAreaHeight); mCaption_mc._x = com.airtightinteractive.apps.viewers.simpleViewer.Options.captionX; mCaption_mc._y = com.airtightinteractive.apps.viewers.simpleViewer.Options.captionY; mCaption_mc.txtText._width = com.airtightinteractive.apps.viewers.simpleViewer.Options.captionWidth; mCaption_mc.txtText._height = com.airtightinteractive.apps.viewers.simpleViewer.Options.captionHeight; mTitle_mc._x = com.airtightinteractive.apps.viewers.simpleViewer.Options.titleX; mTitle_mc._y = com.airtightinteractive.apps.viewers.simpleViewer.Options.titleY; mTitle_mc.txtText._width = com.airtightinteractive.apps.viewers.simpleViewer.Options.titleWidth; mTitle_mc.txtText._height = com.airtightinteractive.apps.viewers.simpleViewer.Options.titleHeight; mDownloadLink_mc._x = com.airtightinteractive.apps.viewers.simpleViewer.Options.downLoadLinkX; mDownloadLink_mc._y = com.airtightinteractive.apps.viewers.simpleViewer.Options.downloadLinkY; } else { var _local4 = Stage.width; var _local3 = Stage.height; if (_global.SVStageWidth != undefined) { _local4 = _global.SVStageWidth; } if (_global.SVStageHeight != undefined) { _local3 = _global.SVStageHeight; } var _local5; var _local6; var _local13; var _local11; var _local9; var _local7; var _local10; var _local12; var _local8 = mThumbArea.__get__height(); if ((mXMLManager.navPosition == "top") || (mXMLManager.navPosition == "bottom")) { _local8 = _local8 + mThumbArea.navHeight; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.enableImageDownScaling) { if ((mXMLManager.navPosition == "right") || (mXMLManager.navPosition == "left")) { _local6 = Math.min((_local4 - (mXMLManager.stagePadding * 3)) - mThumbArea.__get__width(), mXMLManager.maxImageWidth + (mXMLManager.frameWidth * 2)); _local5 = Math.min(_local3 - (mXMLManager.stagePadding * 2), mXMLManager.maxImageHeight + (mXMLManager.frameWidth * 2)); } else { _local5 = Math.min((_local3 - (mXMLManager.stagePadding * 3)) - _local8, mXMLManager.maxImageHeight + (mXMLManager.frameWidth * 2)); _local6 = Math.min(_local4 - (mXMLManager.stagePadding * 2), mXMLManager.maxImageWidth + (mXMLManager.frameWidth * 2)); } } else { _local6 = mXMLManager.maxImageWidth; _local5 = mXMLManager.maxImageHeight; } _local10 = (_local6 + mXMLManager.stagePadding) + mThumbArea.__get__width(); _local12 = (_local5 + mXMLManager.stagePadding) + _local8; switch (mXMLManager.navPosition) { case "left" : _local13 = (((_local4 - _local10) / 2) + mThumbArea.__get__width()) + mXMLManager.stagePadding; _local11 = (_local3 - _local5) / 2; _local9 = (_local4 - _local10) / 2; _local7 = (_local3 - _local8) / 2; break; case "right" : _local13 = (_local4 - _local10) / 2; _local11 = (_local3 - _local5) / 2; _local9 = (((_local4 - _local10) / 2) + _local6) + mXMLManager.stagePadding; _local7 = (_local3 - _local8) / 2; break; case "top" : _local13 = (_local4 - _local6) / 2; _local11 = (((_local3 - _local12) / 2) + _local8) + mXMLManager.stagePadding; _local9 = (_local4 - mThumbArea.__get__width()) / 2; _local7 = (_local3 - _local12) / 2; break; case "bottom" : _local13 = (_local4 - _local6) / 2; _local11 = (_local3 - _local12) / 2; _local9 = (_local4 - mThumbArea.__get__width()) / 2; _local7 = (((_local3 - _local12) / 2) + _local5) + mXMLManager.stagePadding; } mImageArea.setSize(_local6, _local5); mImageArea.setPosn(_local13, _local11); mThumbArea.setPosn(_local9, _local7); mCaption_mc.txtText._width = mThumbArea.width; mCaption_mc._x = _local9; mCaption_mc._y = ((_local7 + mThumbArea.__get__height()) + mThumbArea.__get__navHeight()) + com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__padding(); mTitle_mc.txtText._width = mThumbArea.width; mTitle_mc._x = _local9; mTitle_mc._y = _local7 - (com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__padding() + mTitle_mc.txtText.textHeight); mDownloadLink_mc._x = Math.floor((_local4 - mDownloadLink_mc._width) - 10); mDownloadLink_mc._y = Math.floor((_local3 - mDownloadLink_mc._height) - 10); resizeBkgnd(); } } function showCaption(index) { var _local2 = mXMLManager.imageCaptions[index]; if (_local2 == undefined) { _local2 = ""; } mCaption_mc.txtText.htmlText = _local2; } function openURL() { getURL (com.airtightinteractive.apps.viewers.simpleViewer.Options.linkURL, "_blank"); } function onResize() { if (mResize_int == null) { mResize_int = setInterval(mx.utils.Delegate.create(this, doLayout), sResizeTime); } } function onLoadInit() { mBkgndLoaded = true; resizeBkgnd(); } function resizeBkgnd() { if (((mXMLManager.backgroundImagePath != null) && (mBkgndLoaded)) && (!com.airtightinteractive.apps.viewers.simpleViewer.Options.fixedLayout)) { mBkgnd_mc._width = Stage.width; mBkgnd_mc._height = Stage.height; } } static var sResizeTime = 100; }
Symbol 42 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.XMLManager] Frame 0
class com.airtightinteractive.apps.viewers.simpleViewer.XMLManager { static var instance; var mStageManager, mThumbArea, mImageData_xml, imageCount, imageFileNames, imageCaptions, __get__xmlData; function XMLManager () { mStageManager = com.airtightinteractive.apps.viewers.simpleViewer.StageManager.getInstance(); mThumbArea = com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea.getInstance(); } static function getInstance() { if (instance == null) { instance = new com.airtightinteractive.apps.viewers.simpleViewer.XMLManager(); } return(instance); } function set xmlData(xmld) { mImageData_xml = xmld; imageCount = 0; imageFileNames = []; imageCaptions = []; var _local2 = mImageData_xml.firstChild; if (_local2 == null) { return; } maxImageWidth = setIfValidNumber(_local2.attributes.maxImageWidth, maxImageWidth); maxImageHeight = setIfValidNumber(_local2.attributes.maxImageHeight, maxImageHeight); maxImageWidth = setIfValidNumber(_local2.attributes.maxImageDimension, maxImageWidth); maxImageHeight = setIfValidNumber(_local2.attributes.maxImageDimension, maxImageHeight); frameWidth = setIfValidNumber(_local2.attributes.frameWidth, frameWidth); stagePadding = setIfValidNumber(_local2.attributes.stagePadding, stagePadding); thumbnailColumns = setIfValidNumber(_local2.attributes.thumbnailColumns, thumbnailColumns); thumbnailRows = setIfValidNumber(_local2.attributes.thumbnailRows, thumbnailRows); imageFrameColor = setIfValidNumber(_local2.attributes.frameColor, imageFrameColor); thumbnailFrameColor = setIfValidNumber(_local2.attributes.frameColor, thumbnailFrameColor); pagingArrowsColor = setIfValidNumber(_local2.attributes.frameColor, pagingArrowsColor); captionTextColor = setIfValidNumber(_local2.attributes.textColor, captionTextColor); titleTextColor = setIfValidNumber(_local2.attributes.textColor, titleTextColor); if (isValidPath(_local2.attributes.imagePath)) { imagePath = _local2.attributes.imagePath; } if (isValidPath(_local2.attributes.thumbPath)) { thumbPath = _local2.attributes.thumbPath; } if (isValidPath(_local2.attributes.backgroundImagePath)) { backgroundImagePath = _local2.attributes.backgroundImagePath; } if (_local2.attributes.title != undefined) { title = _local2.attributes.title; } if ((((_local2.attributes.navPosition == "top") || (_local2.attributes.navPosition == "bottom")) || (_local2.attributes.navPosition == "left")) || (_local2.attributes.navPosition == "right")) { navPosition = _local2.attributes.navPosition; } if (_local2.attributes.enableRightClickOpen == "true") { enableRightClickOpen = true; } else if (_local2.attributes.enableRightClickOpen == "false") { enableRightClickOpen = false; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.maxImageWidth != null) { maxImageWidth = com.airtightinteractive.apps.viewers.simpleViewer.Options.maxImageWidth; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.maxImageHeight != null) { maxImageHeight = com.airtightinteractive.apps.viewers.simpleViewer.Options.maxImageHeight; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.imageFrameColor != null) { imageFrameColor = com.airtightinteractive.apps.viewers.simpleViewer.Options.imageFrameColor; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailFrameColor != null) { thumbnailFrameColor = com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailFrameColor; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.pagingArrowsColor != null) { pagingArrowsColor = com.airtightinteractive.apps.viewers.simpleViewer.Options.pagingArrowsColor; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.captionTextColor != null) { captionTextColor = com.airtightinteractive.apps.viewers.simpleViewer.Options.captionTextColor; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.titleTextColor != null) { titleTextColor = com.airtightinteractive.apps.viewers.simpleViewer.Options.titleTextColor; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.frameWidth != null) { frameWidth = com.airtightinteractive.apps.viewers.simpleViewer.Options.frameWidth; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.stagePadding != null) { stagePadding = com.airtightinteractive.apps.viewers.simpleViewer.Options.stagePadding; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailColumns != null) { thumbnailColumns = com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailColumns; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailRows != null) { thumbnailRows = com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailRows; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.navPosition != null) { navPosition = com.airtightinteractive.apps.viewers.simpleViewer.Options.navPosition; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.imagePath != null) { imagePath = com.airtightinteractive.apps.viewers.simpleViewer.Options.imagePath; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbPath != null) { thumbPath = com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbPath; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.title != null) { title = com.airtightinteractive.apps.viewers.simpleViewer.Options.title; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.enableRightClickOpen != null) { enableRightClickOpen = com.airtightinteractive.apps.viewers.simpleViewer.Options.enableRightClickOpen; } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.backgroundImagePath != null) { backgroundImagePath = com.airtightinteractive.apps.viewers.simpleViewer.Options.backgroundImagePath; } imageCount = Number(_local2.childNodes.length); var _local3 = 0; while (_local3 < imageCount) { var _local4 = _local2.childNodes[_local3]; imageFileNames.push(_local4.childNodes[0].firstChild.nodeValue); imageCaptions.push(_local4.childNodes[1].firstChild.nodeValue); _local3++; } mStageManager.onXMLLoaded(); //return(__get__xmlData()); } function setIfValidNumber(xmlVal, defaultVal) { var _local2 = Number(xmlVal); if (isValidNumber(_local2)) { return(_local2); } return(defaultVal); } function isValidNumber(x) { return(!(isNaN(x) || (x == undefined))); } function isValidPath(s) { return(!((s == "") || (s == undefined))); } var maxImageHeight = 640; var maxImageWidth = 640; var stagePadding = 40; var imageFrameColor = 16777215; var thumbnailFrameColor = 16777215; var pagingArrowsColor = 16777215; var captionTextColor = 16777215; var titleTextColor = 16777215; var frameWidth = 20; var thumbnailColumns = 3; var thumbnailRows = 4; var navPosition = "left"; var imagePath = "images/"; var thumbPath = "thumbs/"; var title = ""; var enableRightClickOpen = false; var backgroundImagePath = null; }
Symbol 43 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea] Frame 0
class com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea { static var instance; var mClip_mc, mStageManager, mXMLManager, mRows, mColumns, mPageSize, mFirstIndexDisplayed, mSelectedThumbIndex, mLastIndexDisplayed, mDisplayAreaGotoX, mWidth, mHeight, mNextBtn, mBackBtn, mPagingTwn, mThumbs; function ThumbArea () { } static function getInstance() { if (instance == null) { instance = new com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea(); } return(instance); } function init(target) { mClip_mc = target.createEmptyMovieClip("thumbarea", target.getNextHighestDepth()); mStageManager = com.airtightinteractive.apps.viewers.simpleViewer.StageManager.getInstance(); mXMLManager = com.airtightinteractive.apps.viewers.simpleViewer.XMLManager.getInstance(); mRows = mXMLManager.thumbnailRows; mColumns = mXMLManager.thumbnailColumns; mPageSize = mRows * mColumns; mFirstIndexDisplayed = 0; mSelectedThumbIndex = 0; mLastIndexDisplayed = mPageSize; mDisplayAreaGotoX = 0; mWidth = (com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__thumbWidth() + com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__padding()) * mColumns; mHeight = ((com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__thumbHeight() + com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__padding()) * mRows) - com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__padding(); Key.addListener(this); Mouse.addListener(this); if (mPageSize == 0) { return(undefined); } if (mXMLManager.imageCount > mPageSize) { mClip_mc.attachMovie("ThumbNextButton", "mcNextBtn", mClip_mc.getNextHighestDepth()); mNextBtn = new com.airtightinteractive.apps.viewers.simpleViewer.RolloverButton(mClip_mc.mcNextBtn); mNextBtn.doAction = mx.utils.Delegate.create(this, showNextPage); mClip_mc.attachMovie("ThumbBackButton", "mcBackBtn", mClip_mc.getNextHighestDepth()); mBackBtn = new com.airtightinteractive.apps.viewers.simpleViewer.RolloverButton(mClip_mc.mcBackBtn); mBackBtn.doAction = mx.utils.Delegate.create(this, showPreviousPage); if (com.airtightinteractive.apps.viewers.simpleViewer.Options.fixedLayout) { mBackBtn.setPosn(com.airtightinteractive.apps.viewers.simpleViewer.Options.backThumbArrowX, com.airtightinteractive.apps.viewers.simpleViewer.Options.backThumbArrowY); mNextBtn.setPosn(com.airtightinteractive.apps.viewers.simpleViewer.Options.nextThumbArrowX, com.airtightinteractive.apps.viewers.simpleViewer.Options.nextThumbArrowY); } else { mBackBtn.setPosn(0, mHeight); mNextBtn.setPosn(mWidth - (com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__thumbWidth() + com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__padding()), mHeight); } mBackBtn.__set__clickShift(1); mNextBtn.__set__clickShift(1); mNextBtn.__set__hideOnRollOut(false); mBackBtn.__set__hideOnRollOut(false); mBackBtn.setRGB(mXMLManager.pagingArrowsColor); mNextBtn.setRGB(mXMLManager.pagingArrowsColor); } mClip_mc.createEmptyMovieClip("mcDisplayMask", mClip_mc.getNextHighestDepth()); mClip_mc.mcDisplayMask.beginFill(16776960, 100); var _local3 = (mWidth - com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__padding()) + (com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__selectedFrameOffset() * 2); var _local2 = mHeight + (com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__selectedFrameOffset() * 2); com.airtightinteractive.util.RectUtil.rectangle(mClip_mc.mcDisplayMask, -com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__selectedFrameOffset(), -com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__selectedFrameOffset(), _local3, _local2); mClip_mc.mcDisplayMask.endFill(); mClip_mc.createEmptyMovieClip("mcDisplayArea", mClip_mc.getNextHighestDepth()); mClip_mc.mcDisplayArea.createEmptyMovieClip("mcSlidingDisplayArea", mClip_mc.mcDisplayArea.getNextHighestDepth()); mClip_mc.mcDisplayArea.setMask(mClip_mc.mcDisplayMask); mPagingTwn = new mx.transitions.Tween(mClip_mc.mcDisplayArea.mcSlidingDisplayArea, "_x", mx.transitions.easing.Strong.easeOut, 0, 0, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailMotionLength, false); } function createThumbs() { mThumbs = []; var _local2 = 0; while (_local2 <= (mXMLManager.imageCount - 1)) { mThumbs[_local2] = new com.airtightinteractive.apps.viewers.simpleViewer.Thumb(mClip_mc.mcDisplayArea.mcSlidingDisplayArea, _local2, mXMLManager.thumbPath + mXMLManager.imageFileNames[_local2]); var _local3 = Math.floor(_local2 / (mColumns * mRows)); var _local5 = _local2 % mColumns; var _local4 = Math.floor((_local2 - (_local3 * pageSize)) / mColumns); mThumbs[_local2].setPosn(((com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__thumbWidth() + com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__padding()) * _local5) + (mWidth * _local3), (com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__thumbHeight() + com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__padding()) * _local4); _local2++; } updateNav(); mThumbs[0].loadThumb(); } function showIndex(index, instantTween) { var _local2 = Math.floor(index / mPageSize); mDisplayAreaGotoX = (-mWidth) * _local2; var _local3 = (instantTween ? 1 : (com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailMotionLength)); mPagingTwn.continueTo(mDisplayAreaGotoX, _local3); mFirstIndexDisplayed = mPageSize * _local2; updateNav(); } function updateNav() { mLastIndexDisplayed = mFirstIndexDisplayed + mPageSize; mBackBtn.__set__visible(mFirstIndexDisplayed > 0); mNextBtn.__set__visible(mLastIndexDisplayed < mXMLManager.imageCount); } function showNextPage() { mFirstIndexDisplayed = mFirstIndexDisplayed + mPageSize; mDisplayAreaGotoX = mDisplayAreaGotoX - mWidth; mPagingTwn.continueTo(mDisplayAreaGotoX, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailMotionLength); updateNav(); } function showPreviousPage() { mFirstIndexDisplayed = mFirstIndexDisplayed - mPageSize; if (mFirstIndexDisplayed < 1) { mFirstIndexDisplayed = 0; } mDisplayAreaGotoX = mDisplayAreaGotoX + mWidth; mPagingTwn.continueTo(mDisplayAreaGotoX, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailMotionLength); updateNav(); } function showImageProgress(index, percent) { mThumbs[index].showImageProgress(percent); } function showImageLoadComplete(index) { mThumbs[index].showImageLoadComplete(); if (index == mSelectedThumbIndex) { mThumbs[index].select(); } } function set selectedThumbIndex(index) { if (index < 0) { return; } if (index >= mXMLManager.imageCount) { return; } if (index == mSelectedThumbIndex) { return; } mThumbs[mSelectedThumbIndex].unselect(); mSelectedThumbIndex = index; mThumbs[index].select(); if (mSelectedThumbIndex < mFirstIndexDisplayed) { showIndex(mSelectedThumbIndex, false); } else if (mSelectedThumbIndex >= mLastIndexDisplayed) { showIndex(mSelectedThumbIndex, false); } //return(selectedThumbIndex); } function get selectedThumbIndex() { return(mSelectedThumbIndex); } function get pageSize() { return(mPageSize); } function setPosn(x, y) { x = Math.round(x); y = Math.round(y); mClip_mc._x = x; mClip_mc._y = y; } function onKeyDown() { if (Key.isDown(37)) { selectedThumbIndex = (selectedThumbIndex - 1); } else if (Key.isDown(39)) { selectedThumbIndex = ((selectedThumbIndex+1)); } else if (Key.isDown(38)) { selectedThumbIndex = selectedThumbIndex - mColumns; } else if (Key.isDown(40)) { selectedThumbIndex = selectedThumbIndex + mColumns; } else if (Key.isDown(36)) { selectedThumbIndex = (0); } else if (Key.isDown(35)) { selectedThumbIndex = (mXMLManager.imageCount - 1); } else if (Key.isDown(33)) { selectedThumbIndex = selectedThumbIndex - mPageSize; } else if (Key.isDown(34)) { selectedThumbIndex = selectedThumbIndex + mPageSize; } } function onMouseWheel(delta) { if (delta > 0) { selectedThumbIndex = ((selectedThumbIndex-1)); } else { selectedThumbIndex = ((selectedThumbIndex+1)); } } function toString() { return("thumbArea"); } function get width() { return(mWidth - com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__padding()); } function get height() { return(mHeight); } function get navHeight() { if ((mXMLManager.imageCount <= mPageSize) || (mPageSize == 0)) { return(0); } return(com.airtightinteractive.apps.viewers.simpleViewer.Thumb.__get__thumbHeight()); } function loadNextThumb(index) { var _local2 = index + 1; mThumbs[_local2].loadThumb(); } }
Symbol 44 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.RolloverButton] Frame 0
class com.airtightinteractive.apps.viewers.simpleViewer.RolloverButton { var mClip_mc, mHit_mc, mBtn_mc, mClickShift, mTweenLen, mHideOnRollOut, mEnabled, mFadeTwn, __get__clickShift, __get__visible, __get__hideOnRollOut; function RolloverButton (target) { mClip_mc = target; mClip_mc.onRollOver = mx.utils.Delegate.create(this, onRollOver); mClip_mc.onRollOut = mx.utils.Delegate.create(this, onRollOut); mClip_mc.onPress = mx.utils.Delegate.create(this, onPress); mClip_mc.onRelease = mx.utils.Delegate.create(this, onRelease); mClip_mc.onReleaseOutside = mx.utils.Delegate.create(this, onReleaseOutside); mHit_mc = mClip_mc.mcHitArea; mBtn_mc = mClip_mc.mcArrow; mClip_mc.useHandCursor = false; mClip_mc.hitArea = mHit_mc; mHit_mc._visible = false; mClickShift = 0; mTweenLen = 5; mHideOnRollOut = true; mEnabled = true; mFadeTwn = new mx.transitions.Tween(mClip_mc, "_alpha", null, 0, 0, mTweenLen, false); } function onRollOver() { if (!mEnabled) { return(undefined); } if (mHideOnRollOut) { mFadeTwn.continueTo(100, mTweenLen); } else { doFlash(); } } function onRollOut() { if (!mEnabled) { return(undefined); } if (mHideOnRollOut) { mFadeTwn.continueTo(sRollOutAlpha, mTweenLen); } } function doFlash() { mFadeTwn.continueTo(sFlashAlpha, 1); mFadeTwn.fforward(); mFadeTwn.continueTo(100, 10); } function onPress() { if (!mEnabled) { return(undefined); } mClip_mc._x = mClip_mc._x + mClickShift; mClip_mc._y = mClip_mc._y + mClickShift; } function onRelease() { if (!mEnabled) { return(undefined); } mClip_mc._x = mClip_mc._x - mClickShift; mClip_mc._y = mClip_mc._y - mClickShift; doAction(); } function onReleaseOutside() { if (!mEnabled) { return(undefined); } mClip_mc._x = mClip_mc._x - mClickShift; mClip_mc._y = mClip_mc._y - mClickShift; } function doAction() { } function setPosn(x, y) { mClip_mc._x = x; mClip_mc._y = y; } function setBtnPosn(x, y) { mBtn_mc._x = Math.round(x); mBtn_mc._y = Math.round(y); } function setBtnSize(w, h) { mBtn_mc._height = Math.round(h); mBtn_mc._width = Math.round(w); } function setHitPosn(x, y) { mHit_mc._x = Math.round(x); mHit_mc._y = Math.round(y); } function setHitSize(w, h) { mHit_mc._height = Math.round(h); mHit_mc._width = Math.round(w); } function get width() { return(mClip_mc._width); } function get height() { return(mClip_mc._height); } function get btnWidth() { return(mBtn_mc._width); } function get btnHeight() { return(mBtn_mc._height); } function set clickShift(a) { mClickShift = a; //return(__get__clickShift()); } function set visible(vis) { mClip_mc._visible = vis; //return(__get__visible()); } function set hideOnRollOut(b) { mHideOnRollOut = b; if (!b) { mFadeTwn.continueTo(100, mTweenLen); } //return(__get__hideOnRollOut()); } function setRGB(c) { var _local2 = new Color(mBtn_mc); _local2.setRGB(c); } static var sFlashAlpha = 60; static var sRollOutAlpha = 0; }
Symbol 45 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon { function OnEnterFrameBeacon () { } static function init() { var _local4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(_local4); var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876); _local3.onEnterFrame = function () { _global.MovieClip.broadcastMessage("onEnterFrame"); }; } } static var version = "1.1.0.52"; }
Symbol 46 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX { var _listeners; function BroadcasterMX () { } static function initialize(o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } } function addListener(o) { removeListener(o); if (broadcastMessage == undefined) { broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return(_listeners.push(o)); } function removeListener(o) { var _local2 = _listeners; var _local3 = _local2.length; while (_local3--) { if (_local2[_local3] == o) { _local2.splice(_local3, 1); if (!_local2.length) { broadcastMessage = undefined; } return(true); } } return(false); } function broadcastMessage() { var _local5 = String(arguments.shift()); var _local4 = _listeners.concat(); var _local6 = _local4.length; var _local3 = 0; while (_local3 < _local6) { _local4[_local3][_local5].apply(_local4[_local3], arguments); _local3++; } } static var version = "1.1.0.52"; }
Symbol 47 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween { var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime; function Tween (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return; } this.obj = obj; this.prop = prop; this.begin = begin; position = (begin); this.duration = (duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.finish = (finish); _listeners = []; addListener(this); start(); } function set time(t) { prevTime = _time; if (t > duration) { if (looping) { rewind(t - _duration); update(); broadcastMessage("onMotionLooped", this); } else { if (useSeconds) { _time = _duration; update(); } stop(); broadcastMessage("onMotionFinished", this); } } else if (t < 0) { rewind(); update(); } else { _time = t; update(); } //return(time); } function get time() { return(_time); } function set duration(d) { _duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d)); //return(duration); } function get duration() { return(_duration); } function set FPS(fps) { var _local2 = isPlaying; stopEnterFrame(); _fps = fps; if (_local2) { startEnterFrame(); } //return(FPS); } function get FPS() { return(_fps); } function set position(p) { setPosition(p); //return(position); } function setPosition(p) { prevPos = _pos; obj[prop] = (_pos = p); broadcastMessage("onMotionChanged", this, _pos); updateAfterEvent(); } function get position() { return(getPosition()); } function getPosition(t) { if (t == undefined) { t = _time; } return(func(t, begin, change, _duration)); } function set finish(f) { change = f - begin; //return(finish); } function get finish() { return(begin + change); } function continueTo(finish, duration) { begin = position; this.finish = (finish); if (duration != undefined) { this.duration = (duration); } start(); } function yoyo() { continueTo(begin, time); } function startEnterFrame() { if (_fps == undefined) { _global.MovieClip.addListener(this); } else { _intervalID = setInterval(this, "onEnterFrame", 1000 / _fps); } isPlaying = true; } function stopEnterFrame() { if (_fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(_intervalID); } isPlaying = false; } function start() { rewind(); startEnterFrame(); broadcastMessage("onMotionStarted", this); } function stop() { stopEnterFrame(); broadcastMessage("onMotionStopped", this); } function resume() { fixTime(); startEnterFrame(); broadcastMessage("onMotionResumed", this); } function rewind(t) { _time = ((t == undefined) ? 0 : (t)); fixTime(); update(); } function fforward() { time = (_duration); fixTime(); } function nextFrame() { if (useSeconds) { time = ((getTimer() - _startTime) / 1000); } else { time = (_time + 1); } } function onEnterFrame() { nextFrame(); } function prevFrame() { if (!useSeconds) { time = (_time - 1); } } function toString() { return("[Tween]"); } function fixTime() { if (useSeconds) { _startTime = getTimer() - (_time * 1000); } } function update() { position = (getPosition(_time)); } static var version = "1.1.0.52"; static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init(); static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); function func(t, b, c, d) { return(((c * t) / d) + b); } }
Symbol 48 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object { var func; function Delegate (f) { super(); func = f; } static function create(obj, func) { var _local2 = function () { var _local2 = arguments.callee.target; var _local3 = arguments.callee.func; return(_local3.apply(_local2, arguments)); }; _local2.target = obj; _local2.func = func; return(_local2); } function createDelegate(obj) { return(create(obj, func)); } }
Symbol 49 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.Thumb] Frame 0
class com.airtightinteractive.apps.viewers.simpleViewer.Thumb { var mThumbArea, mImageArea, mXMLManager, mIndex, mThumbURL, mClip_mc, mBase_mc, mInit_mc, mLoader_mc, mMask_mc, mViewedIcon_mc, mFrame_mc, mImgLoadStatus_mc, mFrameTwn, mSelected, mThumbLoaded, mImageLoaded, mPopupTween, mError_mc, mFrameWidth; function Thumb (target, index, thumbURL) { mThumbArea = com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea.getInstance(); mImageArea = com.airtightinteractive.apps.viewers.simpleViewer.ImageArea.getInstance(); mXMLManager = com.airtightinteractive.apps.viewers.simpleViewer.XMLManager.getInstance(); mIndex = index; mThumbURL = thumbURL; var _local2 = target.getNextHighestDepth(); mClip_mc = target.createEmptyMovieClip("clip" + _local2, _local2); mBase_mc = mClip_mc.createEmptyMovieClip("base", mClip_mc.getNextHighestDepth()); mInit_mc = mBase_mc.attachMovie("InitialIcon", "mcInit", mBase_mc.getNextHighestDepth()); mInit_mc._x = Math.round((com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailWidth / 2) - (mInit_mc._width / 2)); mInit_mc._y = Math.round((com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailHeight / 2) - (mInit_mc._height / 2)); var _local4 = new Color(mInit_mc); _local4.setRGB(mXMLManager.thumbnailFrameColor); mLoader_mc = mBase_mc.createEmptyMovieClip("loader", mBase_mc.getNextHighestDepth()); mMask_mc = mBase_mc.createEmptyMovieClip("mask", mBase_mc.getNextHighestDepth()); if (com.airtightinteractive.apps.viewers.simpleViewer.Options.showThumbnailVisited) { mViewedIcon_mc = mBase_mc.attachMovie("DogEar", "dogear", mBase_mc.getNextHighestDepth()); var _local3 = new Color(mViewedIcon_mc); _local3.setRGB(mXMLManager.thumbnailFrameColor); mViewedIcon_mc._x = ((com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailWidth - com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailFrameWidth) - 1) - mViewedIcon_mc._width; mViewedIcon_mc._y = com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailFrameWidth + 1; mViewedIcon_mc._visible = false; } mFrame_mc = mBase_mc.createEmptyMovieClip("frame", mBase_mc.getNextHighestDepth()); mFrame_mc._visible = false; if (com.airtightinteractive.apps.viewers.simpleViewer.Options.showThumbnailLoadBar) { mImgLoadStatus_mc = mBase_mc.createEmptyMovieClip("loadbar", mBase_mc.getNextHighestDepth()); } mFrameTwn = new mx.transitions.Tween(this, "mFrameWidth", mx.transitions.easing.Strong.easeOut, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailFrameWidth, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailFrameWidth, sFrameTweenLen, false); mFrameTwn.onMotionChanged = mx.utils.Delegate.create(this, drawFrame); mSelected = false; mThumbLoaded = false; mImageLoaded = false; enableMouseActions(); if (mThumbArea.__get__selectedThumbIndex() == mIndex) { select(); } } function loadThumb() { var _local2 = new MovieClipLoader(); _local2.addListener(this); _local2.loadClip(mThumbURL, mLoader_mc); } function onLoadInit() { mThumbLoaded = true; mInit_mc._visible = false; if (mLoader_mc._width < mLoader_mc._height) { mLoader_mc._width = com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailWidth; mLoader_mc._yscale = mLoader_mc._xscale; } else { mLoader_mc._height = com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailHeight; mLoader_mc._xscale = mLoader_mc._yscale; } mLoader_mc._x = Math.floor((com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailWidth - mLoader_mc._width) / 2); mLoader_mc._y = Math.floor((com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailHeight - mLoader_mc._height) / 2); if (!mImageLoaded) { mLoader_mc._alpha = com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailLoadingAlpha; } if (!mImageLoaded) { showImageProgress(0); } mMask_mc.beginFill(16777215, 100); com.airtightinteractive.util.RectUtil.rectangle(mMask_mc, 0, 0, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailWidth, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailHeight); mMask_mc.endFill(); mLoader_mc.setMask(mMask_mc); drawFrame(); mFrame_mc._visible = true; mPopupTween = new com.airtightinteractive.util.TweenExtended(mBase_mc, ["_x", "_y", "_xscale", "_yscale", "_alpha"], mx.transitions.easing.Regular.easeOut, [com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailWidth / 2, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailHeight / 2, 1, 1, 0], [0, 0, 100, 100, 100], 10, false); mClip_mc._visible = true; mThumbArea.loadNextThumb(mIndex); } function onLoadError() { mInit_mc._visible = false; mImgLoadStatus_mc.clear(); mError_mc = mBase_mc.attachMovie("ErrorIcon", "error", mBase_mc.getNextHighestDepth()); mError_mc._x = com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailWidth / 2; mError_mc._y = com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailHeight / 2; mError_mc._width = com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailWidth / 2; mError_mc._height = com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailHeight / 2; var _local2 = new Color(mError_mc); _local2.setRGB(mXMLManager.thumbnailFrameColor); new mx.transitions.Tween(mError_mc, "_alpha", null, 0, 100, 10, false); mThumbArea.loadNextThumb(mIndex); } function showImageProgress(percent) { if ((!mThumbLoaded) || (mImageLoaded)) { return(undefined); } mImgLoadStatus_mc.clear(); mImgLoadStatus_mc.beginFill(mXMLManager.thumbnailFrameColor, 100); var _local2 = com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailFrameWidth; var _local3 = Math.round(((com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailWidth - (2 * _local2)) * percent) / 100); com.airtightinteractive.util.RectUtil.rectangle(mImgLoadStatus_mc, _local2, (com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailHeight - _local2) - com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailLoadBarHeight, _local3 + _local2, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailHeight - _local2); mImgLoadStatus_mc.endFill(); } function showImageLoadComplete() { mImageLoaded = true; mImgLoadStatus_mc.clear(); new mx.transitions.Tween(mLoader_mc, "_alpha", null, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailLoadingAlpha, 100, 10, false); if (mSelected) { mViewedIcon_mc._visible = true; } } function enableMouseActions() { mClip_mc.onRelease = mx.utils.Delegate.create(this, onRelease); mClip_mc.onPress = mx.utils.Delegate.create(this, onPress); mClip_mc.onRollOver = mx.utils.Delegate.create(this, onRollOver); mClip_mc.onRollOut = mx.utils.Delegate.create(this, onRollOut); mClip_mc.onDragOut = mx.utils.Delegate.create(this, onDragOut); mClip_mc.useHandCursor = false; } function onRelease() { if (mSelected) { return(undefined); } mBase_mc._x = mBase_mc._x - com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailClickShift; mBase_mc._y = mBase_mc._y - com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailClickShift; mThumbArea.__set__selectedThumbIndex(mIndex); } function onPress() { if (mSelected) { return(undefined); } mBase_mc._x = mBase_mc._x + com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailClickShift; mBase_mc._y = mBase_mc._y + com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailClickShift; } function onRollOver() { if (mSelected) { return(undefined); } mFrameTwn.continueTo(com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailRollOverFrameWidth, sFrameTweenLen); } function onRollOut() { if (mSelected) { return(undefined); } mFrameTwn.continueTo(com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailFrameWidth, sFrameTweenLen); } function onDragOut() { if (mSelected) { return(undefined); } onRollOut(); onRelease(); } function select() { mSelected = true; mImageArea.showImage(mIndex); drawFrame(); if (mImageLoaded) { mViewedIcon_mc._visible = true; } if (!mImageLoaded) { mImageArea.loadImageOutOfSequence(mIndex); } } function unselect() { mSelected = false; if (mClip_mc.hitTest(_root._xmouse, _root._ymouse)) { drawFrame(); } else { mFrameTwn.continueTo(com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailFrameWidth, sFrameTweenLen); } } static function get thumbWidth() { return(com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailWidth); } static function get thumbHeight() { return(com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailHeight); } static function get clickShift() { return(com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailClickShift); } static function get selectedFrameOffset() { return(com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailSelectedFrameOffset); } static function get padding() { return(com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailPadding); } function setPosn(x, y) { mClip_mc._x = x; mClip_mc._y = y; } function drawFrame() { mFrame_mc.clear(); mFrame_mc.beginFill(mXMLManager.thumbnailFrameColor, 100); if (mSelected) { com.airtightinteractive.util.RectUtil.hollowRectangle(mFrame_mc, -com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailSelectedFrameOffset, -com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailSelectedFrameOffset, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailWidth + com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailSelectedFrameOffset, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailHeight + com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailSelectedFrameOffset, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailRollOverFrameWidth); } else { com.airtightinteractive.util.RectUtil.hollowRectangle(mFrame_mc, 0, 0, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailWidth, com.airtightinteractive.apps.viewers.simpleViewer.Options.thumbnailHeight, mFrameWidth); } mFrame_mc.endFill(); } static var sFrameTweenLen = 10; }
Symbol 50 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.ImageArea] Frame 0
class com.airtightinteractive.apps.viewers.simpleViewer.ImageArea { static var instance; var mClip_mc, mXMLManager, mStageManager, mThumbArea, mImages, mImageLoadQueue, mCurrentImageIndex, mImageHolder_mc, mButtonHolder_mc, mNextBtn, mBackBtn, mBtnFadeTween, mError_mc, mWidth, mHeight; function ImageArea () { } static function getInstance() { if (instance == null) { instance = new com.airtightinteractive.apps.viewers.simpleViewer.ImageArea(); } return(instance); } function init(target) { mClip_mc = target.createEmptyMovieClip("imageArea", target.getNextHighestDepth()); mXMLManager = com.airtightinteractive.apps.viewers.simpleViewer.XMLManager.getInstance(); mStageManager = com.airtightinteractive.apps.viewers.simpleViewer.StageManager.getInstance(); mThumbArea = com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea.getInstance(); mImages = []; mImageLoadQueue = []; mCurrentImageIndex = -1; mImageHolder_mc = mClip_mc.createEmptyMovieClip("mcFrame", mClip_mc.getNextHighestDepth()); mButtonHolder_mc = mClip_mc.createEmptyMovieClip("mcBtn", mClip_mc.getNextHighestDepth()); if (com.airtightinteractive.apps.viewers.simpleViewer.Options.enableImageButtons) { mButtonHolder_mc.attachMovie("ImageNextButton", "mcNextBtn", mButtonHolder_mc.getNextHighestDepth()); mNextBtn = new com.airtightinteractive.apps.viewers.simpleViewer.RolloverButton(mButtonHolder_mc.mcNextBtn); mNextBtn.doAction = mx.utils.Delegate.create(this, onClickNext); mNextBtn.setRGB(mXMLManager.imageFrameColor); mButtonHolder_mc.attachMovie("ImageBackButton", "mcBackBtn", mButtonHolder_mc.getNextHighestDepth()); mBackBtn = new com.airtightinteractive.apps.viewers.simpleViewer.RolloverButton(mButtonHolder_mc.mcBackBtn); mBackBtn.doAction = mx.utils.Delegate.create(this, onClickBack); mBackBtn.setRGB(mXMLManager.imageFrameColor); mBtnFadeTween = new mx.transitions.Tween(mButtonHolder_mc, "_alpha", null, 0, 0, 1, false); mButtonHolder_mc._visible = false; mBackBtn.__set__hideOnRollOut(com.airtightinteractive.apps.viewers.simpleViewer.Options.hideImageButtonsOnRollOut); mNextBtn.__set__hideOnRollOut(com.airtightinteractive.apps.viewers.simpleViewer.Options.hideImageButtonsOnRollOut); } var _local2 = new ContextMenu(); _local2.hideBuiltInItems(); if (mXMLManager.enableRightClickOpen) { _local2.customItems.push(new ContextMenuItem("Open Image in New Window...", mx.utils.Delegate.create(this, openImageLink))); } if (com.airtightinteractive.apps.viewers.simpleViewer.Options.enableDownloadLink) { _local2.customItems.push(new ContextMenuItem("Download SimpleViewer", mx.utils.Delegate.create(this, openURL))); } mClip_mc.menu = _local2; mError_mc = mClip_mc.attachMovie("ErrorIcon", "error", mClip_mc.getNextHighestDepth()); mError_mc._visible = false; var _local3 = new Color(mError_mc); _local3.setRGB(mXMLManager.imageFrameColor); } function createImages() { var _local2 = 0; while (_local2 <= (mXMLManager.imageCount - 1)) { mImages[_local2] = new com.airtightinteractive.apps.viewers.simpleViewer.Image(mImageHolder_mc, _local2, mXMLManager.imagePath + mXMLManager.imageFileNames[_local2], this); mImageLoadQueue[_local2] = _local2; _local2++; } mImageLoadQueue.reverse(); loadNextImage(); } function loadNextImage() { var _local2 = mImageLoadQueue.pop(); mImages[_local2].loadImage(true); } function loadImageOutOfSequence(imageIndex) { var _local2 = com.airtightinteractive.util.ArrayUtil.indexOf(mImageLoadQueue, imageIndex); if (_local2 > -1) { mImageLoadQueue.splice(_local2, 1); mImages[imageIndex].loadImage(false); } } function setSize(w, h) { mClip_mc._visible = (w > (mXMLManager.frameWidth * 2)) && (h > (mXMLManager.frameWidth * 2)); mWidth = Math.round(w); mHeight = Math.round(h); mImages[mCurrentImageIndex].resizeImage(); mError_mc._x = mWidth / 2; mError_mc._y = mHeight / 2; resizeImageNavButtons(); } function setPosn(x, y) { x = Math.round(x); y = Math.round(y); mClip_mc._x = x; mClip_mc._y = y; } function showImage(imgIndex) { if (imgIndex != mCurrentImageIndex) { mImages[mCurrentImageIndex].hideImage(); } mCurrentImageIndex = imgIndex; if (mImages[mCurrentImageIndex].imageLoadError) { mError_mc._visible = true; mImages[mCurrentImageIndex].hideImage(); } else { mError_mc._visible = false; mImages[mCurrentImageIndex].showImage(); } mBackBtn.__set__visible(mCurrentImageIndex > 0); mNextBtn.__set__visible(mCurrentImageIndex < (mXMLManager.imageCount - 1)); mStageManager.showCaption(mCurrentImageIndex); } function fadeInButtons() { resizeImageNavButtons(); mBtnFadeTween.continueTo(0, 1); mBtnFadeTween.fforward(); mBtnFadeTween.continueTo(100, com.airtightinteractive.apps.viewers.simpleViewer.Options.imageFadeLength); } function fadeOutButtons() { resizeImageNavButtons(); mBtnFadeTween.continueTo(100, 1); mBtnFadeTween.fforward(); mBtnFadeTween.continueTo(0, com.airtightinteractive.apps.viewers.simpleViewer.Options.imageFadeLength); } function resizeImageNavButtons() { if (mImages[mCurrentImageIndex].loaded && (!mImages[mCurrentImageIndex].imageLoadError)) { mButtonHolder_mc._visible = true; var _local6 = mImages[mCurrentImageIndex].imageWidth; var _local5 = mImages[mCurrentImageIndex].imageHeight; var _local4 = mImages[mCurrentImageIndex].imageX; var _local3 = mImages[mCurrentImageIndex].imageY; var _local2 = mXMLManager.frameWidth; var _local7 = mBackBtn.__get__btnWidth(); mBackBtn.setBtnPosn(_local4, (_local3 + (_local5 / 2)) - (_local7 / 2)); mBackBtn.setHitPosn(_local4 - _local2, _local3 - _local2); mBackBtn.setHitSize(_local6 / 3, _local5 + (_local2 * 2)); mNextBtn.setBtnPosn((_local4 + _local6) - _local7, (_local3 + (_local5 / 2)) - (_local7 / 2)); mNextBtn.setHitPosn((_local4 + _local2) + ((_local6 * 2) / 3), _local3 - _local2); mNextBtn.setHitSize(_local6 / 3, _local5 + (_local2 * 2)); } else { mButtonHolder_mc._visible = false; } } function onClickNext() { mThumbArea.__set__selectedThumbIndex((mThumbArea.__get__selectedThumbIndex()+1)); } function onClickBack() { mThumbArea.__set__selectedThumbIndex((mThumbArea.__get__selectedThumbIndex()-1)); } function openImageLink() { getURL (mXMLManager.imagePath + mXMLManager.imageFileNames[mCurrentImageIndex], "_blank"); } function get currentImageIndex() { return(mCurrentImageIndex); } function get width() { return(mWidth); } function get height() { return(mHeight); } function openURL() { mStageManager.openURL(); } }
Symbol 51 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.Options] Frame 0
class com.airtightinteractive.apps.viewers.simpleViewer.Options { function Options () { } static var fixedLayout = false; static var preloadImages = true; static var enableImageDownScaling = true; static var enableImageButtons = true; static var hideImageButtonsOnRollOut = true; static var imageFadeLength = 5; static var thumbnailWidth = 65; static var thumbnailHeight = 65; static var thumbnailPadding = 14; static var showThumbnailVisited = true; static var showThumbnailLoadBar = true; static var thumbnailFrameWidth = 2; static var thumbnailRollOverFrameWidth = 5; static var thumbnailSelectedFrameOffset = 3; static var thumbnailLoadBarHeight = 10; static var thumbnailClickShift = 2; static var thumbnailLoadingAlpha = 60; static var thumbnailMotionLength = 20; static var showCaptions = true; static var showTitle = true; static var enableDownloadLink = true; static var linkURL = "http://www.airtightinteractive.com/simpleviewer/"; static var imageFrameColor = null; static var thumbnailFrameColor = null; static var pagingArrowsColor = null; static var captionTextColor = null; static var titleTextColor = null; static var maxImageWidth = null; static var maxImageHeight = null; static var frameWidth = null; static var stagePadding = null; static var thumbnailColumns = null; static var thumbnailRows = null; static var navPosition = null; static var title = null; static var enableRightClickOpen = null; static var backgroundImagePath = null; static var imagePath = null; static var thumbPath = null; static var imageAreaX = 10; static var imageAreaY = 10; static var imageAreaWidth = 480; static var imageAreaHeight = 480; static var thumbAreaX = 500; static var thumbAreaY = 10; static var backThumbArrowX = 0; static var backThumbArrowY = 350; static var nextThumbArrowX = 200; static var nextThumbArrowY = 350; static var titleX = 10; static var titleY = 500; static var titleWidth = 480; static var titleHeight = 20; static var captionX = 10; static var captionY = 520; static var captionWidth = 480; static var captionHeight = 50; static var downLoadLinkX = 600; static var downloadLinkY = 600; }
Symbol 52 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.Image] Frame 0
class com.airtightinteractive.apps.viewers.simpleViewer.Image { var mStageManager, mThumbArea, mXMLManager, mImageArea, mIndex, mClip_mc, loaded, mImageURL, mFrame_mc, mImgLoadStatus_mc, mLoader_mc, mLoadNextonDone, mFadeTween, mImageLoadError, mLoader_mcl, mJPGWidth, mJPGHeight; function Image (target, index, imageURL) { mStageManager = com.airtightinteractive.apps.viewers.simpleViewer.StageManager.getInstance(); mThumbArea = com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea.getInstance(); mXMLManager = com.airtightinteractive.apps.viewers.simpleViewer.XMLManager.getInstance(); mImageArea = com.airtightinteractive.apps.viewers.simpleViewer.ImageArea.getInstance(); mIndex = index; var _local2 = target.getNextHighestDepth(); mClip_mc = target.createEmptyMovieClip("image" + _local2, _local2); loaded = false; mImageURL = imageURL; mFrame_mc = mClip_mc.createEmptyMovieClip("frame", mClip_mc.getNextHighestDepth()); mImgLoadStatus_mc = mClip_mc.attachMovie("ImageLoadbar", "mcloadbar", mClip_mc.getNextHighestDepth()); var _local3 = new Color(mImgLoadStatus_mc); _local3.setRGB(mXMLManager.imageFrameColor); mLoader_mc = mClip_mc.createEmptyMovieClip("loader", mClip_mc.getNextHighestDepth()); mLoadNextonDone = false; mFadeTween = new mx.transitions.Tween(mClip_mc, "_alpha", null, 100, 100, 1, false); mClip_mc._visible = false; mImageLoadError = false; } function loadImage(loadNextonDone) { mLoadNextonDone = loadNextonDone; mLoader_mcl = new MovieClipLoader(); mLoader_mcl.addListener(this); mLoader_mcl.loadClip(mImageURL, mLoader_mc); mLoader_mc._visible = false; resizeImage(); } function onLoadProgress(target, bytesLoaded, bytesTotal) { var _local2 = (bytesLoaded / bytesTotal) * 100; mThumbArea.showImageProgress(mIndex, _local2); if (mImageArea.__get__currentImageIndex() == mIndex) { showImageProgress(_local2); } } function onLoadInit() { loaded = true; mLoader_mcl.removeListener(this); mJPGWidth = mLoader_mc._width; mJPGHeight = mLoader_mc._height; mThumbArea.showImageLoadComplete(mIndex); if (mLoadNextonDone && (com.airtightinteractive.apps.viewers.simpleViewer.Options.preloadImages)) { mImageArea.loadNextImage(); } mImgLoadStatus_mc._visible = false; } function onLoadError() { mImageLoadError = true; if (mImageArea.__get__currentImageIndex() == mIndex) { mImageArea.showImage(mIndex); } if (mLoadNextonDone && (com.airtightinteractive.apps.viewers.simpleViewer.Options.preloadImages)) { mImageArea.loadNextImage(); } } function showImage() { resizeImage(); mClip_mc._visible = true; mClip_mc.swapDepths(999999); mFadeTween.continueTo(0, 1); mFadeTween.fforward(); mFadeTween.continueTo(0, com.airtightinteractive.apps.viewers.simpleViewer.Options.imageFadeLength); mFadeTween.onMotionFinished = mx.utils.Delegate.create(this, onFadeWaitDone); } function onFadeWaitDone() { mFadeTween.continueTo(100, com.airtightinteractive.apps.viewers.simpleViewer.Options.imageFadeLength); mFadeTween.onMotionFinished = null; mImageArea.fadeInButtons(); } function hideImage() { mFadeTween.continueTo(100, 1); mFadeTween.fforward(); mFadeTween.continueTo(0, com.airtightinteractive.apps.viewers.simpleViewer.Options.imageFadeLength); mFadeTween.onMotionFinished = mx.utils.Delegate.create(this, fadeOutDone); mImageArea.fadeOutButtons(); } function fadeOutDone() { mClip_mc._visible = false; mFadeTween.onMotionFinished = null; } function resizeImage() { var _local6; var _local5; var _local2; var _local3; var _local4; var _local8; var _local7; var _local10; var _local9; _local2 = mXMLManager.frameWidth; _local6 = mImageArea.__get__width() - (_local2 * 2); _local5 = mImageArea.__get__height() - (_local2 * 2); _local10 = _local6 / _local5; _local9 = mJPGWidth / mJPGHeight; if (_local9 > _local10) { _local3 = Math.min(_local6, mJPGWidth); _local4 = Math.round(_local3 / _local9); } else { _local4 = Math.min(_local5, mJPGHeight); _local3 = Math.round(_local4 * _local9); } _local8 = Math.round((_local6 - _local3) / 2) + _local2; _local7 = Math.round((_local5 - _local4) / 2) + _local2; mLoader_mc._width = _local3; mLoader_mc._height = _local4; mLoader_mc._x = _local8; mLoader_mc._y = _local7; mFrame_mc.clear(); mFrame_mc.beginFill(mXMLManager.imageFrameColor, 100); com.airtightinteractive.util.RectUtil.hollowRectangle(mFrame_mc, _local8 - _local2, _local7 - _local2, (_local8 + _local3) + _local2, (_local7 + _local4) + _local2, _local2); mFrame_mc.endFill(); mImgLoadStatus_mc._x = Math.round((_local6 - mImgLoadStatus_mc._width) / 2) + _local2; mImgLoadStatus_mc._y = Math.round((_local5 - mImgLoadStatus_mc._height) / 2) + _local2; } function setPosn(x, y) { mClip_mc._x = x; mClip_mc._y = y; } function showImageProgress(percent) { mImgLoadStatus_mc.mcBar._width = Math.floor((percent / 100) * mImgLoadStatus_mc.mcBkgnd._width); mImgLoadStatus_mc._visible = true; } function get imageWidth() { return(mLoader_mc._width); } function get imageHeight() { return(mLoader_mc._height); } function get imageX() { return(mLoader_mc._x); } function get imageY() { return(mLoader_mc._y); } function get imageLoadError() { return(mImageLoadError); } }
Symbol 53 MovieClip [__Packages.com.airtightinteractive.util.RectUtil] Frame 0
class com.airtightinteractive.util.RectUtil { function RectUtil () { } static function rectangle(clip_mc, x1, y1, x2, y2) { clip_mc.moveTo(x1, y1); clip_mc.lineTo(x2, y1); clip_mc.lineTo(x2, y2); clip_mc.lineTo(x1, y2); clip_mc.lineTo(x1, y1); } static function hollowRectangle(clip_mc, x1, y1, x2, y2, frameWidth) { rectangle(clip_mc, x1, y1, x2, y2); rectangle(clip_mc, x1 + frameWidth, y1 + frameWidth, x2 - frameWidth, y2 - frameWidth); } }
Symbol 54 MovieClip [__Packages.com.airtightinteractive.util.ArrayUtil] Frame 0
class com.airtightinteractive.util.ArrayUtil { function ArrayUtil () { } static function indexOf(arry, val) { var _local1 = 0; while (_local1 < arry.length) { if (arry[_local1] == val) { return(_local1); } _local1++; } return(-1); } }
Symbol 55 MovieClip [__Packages.com.airtightinteractive.util.TweenExtended] Frame 0
class com.airtightinteractive.util.TweenExtended extends mx.transitions.Tween { var aChange, obj, aProps, aBegin, __set__duration, useSeconds, func, point1, point2, _listeners, addListener, start, _time, __get__time, _duration, _aPos, broadcastMessage, looping; function TweenExtended (target, props, easeFunc, strt, end, dur, useSecs, p1, p2) { super(); mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return; } aChange = []; obj = target; aProps = props; aBegin = strt; position = (copyArray(strt)); __set__duration(dur); useSeconds = useSecs; if (easeFunc) { func = easeFunc; } finish = (end); point1 = p1; point2 = p2; _listeners = []; addListener(this); start(); } function update() { position = (getPosition(_time)); } function continueTo(fin, dur) { var _local2 = 0; while (_local2 < aProps.length) { aBegin[_local2] = position[_local2]; _local2++; } finish = (fin); if (dur != undefined) { __set__duration(dur); } start(); } function yoyo() { var _local2 = copyArray(aBegin); continueTo(_local2, __get__time()); } function get position() { return(getPosition()); } function getPosition(t) { if (t == undefined) { t = _time; } var _local5 = []; var _local2 = 0; while (_local2 < aProps.length) { var _local4 = Number(aBegin[_local2]); var _local3 = Number(aChange[_local2]); if ((point1 == undefined) && (point2 == undefined)) { _local5[_local2] = func(t, _local4, _local3, _duration); } else if ((point1 != undefined) && (point2 == undefined)) { _local5[_local2] = func(t, _local4, _local3, _duration, point1); } else if ((point1 != undefined) && (point2 != undefined)) { _local5[_local2] = func(t, _local4, _local3, _duration, point1, point2); } _local2++; } return(_local5); } function set position(p) { setPosition(p); //return(position); } function setPosition(p) { var _local2 = 0; while (_local2 < aProps.length) { obj[aProps[_local2]] = (_aPos[_local2] = p[_local2]); _local2++; } broadcastMessage("onMotionChanged", this, p); updateAfterEvent(); } function set finish(f) { var _local2 = 0; while (_local2 < aProps.length) { aChange[_local2] = f[_local2] - aBegin[_local2]; _local2++; } //return(finish); } function get finish() { var _local3 = []; var _local2 = 0; while (_local2 < aProps.length) { _local3[_local2] = aBegin[_local2] + aChange[_local2]; _local2++; } return(_local3); } function set loop(b) { looping = b; //return(loop); } function get loop() { return(looping); } function copyArray(arr) { var _local3 = []; if (arr.length == 0) { for (var _local1 in arr) { _local3[_local1] = arr[_local1]; } } var _local1 = 0; while (_local1 < arr.length) { _local3[_local1] = arr[_local1]; _local1++; } return(_local3); } function toString() { return(("[" + className) + "]"); } var className = "TweenExtended"; static var version = "1.0.6"; }
Symbol 56 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong { function Strong () { } static function easeIn(t, b, c, d) { t = t / d; return((((((c * t) * t) * t) * t) * t) + b); } static function easeOut(t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInOut(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((((((c / 2) * t) * t) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b); } static var version = "1.1.0.52"; }
Symbol 57 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular { function Regular () { } static function easeIn(t, b, c, d) { t = t / d; return(((c * t) * t) + b); } static function easeOut(t, b, c, d) { t = t / d; return((((-c) * t) * (t - 2)) + b); } static function easeInOut(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((c / 2) * t) * t) + b); } t--; return((((-c) / 2) * ((t * (t - 2)) - 1)) + b); } static var version = "1.1.0.52"; }

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:9
Symbol 3 FontUsed by:4 6 19 28 29 30
Symbol 4 TextUses:3Used by:5
Symbol 5 MovieClipUses:4Used by:8 31
Symbol 6 TextUses:3Used by:7
Symbol 7 MovieClipUses:6Used by:8
Symbol 8 MovieClipUses:5 7Used by:9
Symbol 9 MovieClip [DownloadLink]Uses:2 8Used by:Timeline
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClip [InitialIcon]Uses:10Used by:Timeline
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClip [DogEar]Uses:12Used by:Timeline
Symbol 14 FontUsed by:15 39
Symbol 15 EditableTextUses:14Used by:16
Symbol 16 MovieClip [Title]Uses:15Used by:Timeline
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:20 23 26 31 35 36
Symbol 19 TextUses:3Used by:20
Symbol 20 MovieClip [ImageLoadBar]Uses:18 19Used by:Timeline
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:23
Symbol 23 MovieClip [ImageNextButton]Uses:18 22Used by:Timeline
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:26
Symbol 26 MovieClip [ImageBackButton]Uses:18 25Used by:Timeline
Symbol 27 GraphicUsed by:31
Symbol 28 TextUses:3Used by:31
Symbol 29 TextUses:3Used by:31
Symbol 30 TextUses:3Used by:31
Symbol 31 MovieClipUses:18 27 5 28 29 30Used by:32
Symbol 32 MovieClipUses:31Used by:Timeline
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:35 36
Symbol 35 MovieClip [ThumbBackButton]Uses:18 34Used by:Timeline
Symbol 36 MovieClip [ThumbNextButton]Uses:18 34Used by:Timeline
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClip [ErrorIcon]Uses:37Used by:Timeline
Symbol 39 EditableTextUses:14Used by:40
Symbol 40 MovieClip [Caption]Uses:39Used by:Timeline
Symbol 41 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.StageManager]
Symbol 42 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.XMLManager]
Symbol 43 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea]
Symbol 44 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.RolloverButton]
Symbol 45 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 46 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 47 MovieClip [__Packages.mx.transitions.Tween]
Symbol 48 MovieClip [__Packages.mx.utils.Delegate]
Symbol 49 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.Thumb]
Symbol 50 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.ImageArea]
Symbol 51 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.Options]
Symbol 52 MovieClip [__Packages.com.airtightinteractive.apps.viewers.simpleViewer.Image]
Symbol 53 MovieClip [__Packages.com.airtightinteractive.util.RectUtil]
Symbol 54 MovieClip [__Packages.com.airtightinteractive.util.ArrayUtil]
Symbol 55 MovieClip [__Packages.com.airtightinteractive.util.TweenExtended]
Symbol 56 MovieClip [__Packages.mx.transitions.easing.Strong]
Symbol 57 MovieClip [__Packages.mx.transitions.easing.Regular]

Instance Names

"mcPreloader"Frame 2Symbol 32 MovieClip
"mcBkgnd"Symbol 9 MovieClip [DownloadLink] Frame 1Symbol 2 MovieClip
"mcText"Symbol 9 MovieClip [DownloadLink] Frame 1Symbol 8 MovieClip
"txtText"Symbol 16 MovieClip [Title] Frame 1Symbol 15 EditableText
"mcBkgnd"Symbol 20 MovieClip [ImageLoadBar] Frame 1Symbol 18 MovieClip
"mcBar"Symbol 20 MovieClip [ImageLoadBar] Frame 1Symbol 18 MovieClip
"mcHitArea"Symbol 23 MovieClip [ImageNextButton] Frame 1Symbol 18 MovieClip
"mcArrow"Symbol 23 MovieClip [ImageNextButton] Frame 1Symbol 22 MovieClip
"mcHitArea"Symbol 26 MovieClip [ImageBackButton] Frame 1Symbol 18 MovieClip
"mcArrow"Symbol 26 MovieClip [ImageBackButton] Frame 1Symbol 25 MovieClip
"mcBkgnd"Symbol 31 MovieClip Frame 1Symbol 18 MovieClip
"mcBar"Symbol 31 MovieClip Frame 1Symbol 18 MovieClip
"mcTitle"Symbol 31 MovieClip Frame 1Symbol 5 MovieClip
"mcLoader"Symbol 32 MovieClip Frame 1Symbol 31 MovieClip
"mcHitArea"Symbol 35 MovieClip [ThumbBackButton] Frame 1Symbol 18 MovieClip
"mcArrow"Symbol 35 MovieClip [ThumbBackButton] Frame 1Symbol 34 MovieClip
"mcHitArea"Symbol 36 MovieClip [ThumbNextButton] Frame 1Symbol 18 MovieClip
"mcArrow"Symbol 36 MovieClip [ThumbNextButton] Frame 1Symbol 34 MovieClip
"txtText"Symbol 40 MovieClip [Caption] Frame 1Symbol 39 EditableText

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 9 as "DownloadLink"
ExportAssets (56)Timeline Frame 1Symbol 11 as "InitialIcon"
ExportAssets (56)Timeline Frame 1Symbol 13 as "DogEar"
ExportAssets (56)Timeline Frame 1Symbol 16 as "Title"
ExportAssets (56)Timeline Frame 1Symbol 20 as "ImageLoadBar"
ExportAssets (56)Timeline Frame 1Symbol 23 as "ImageNextButton"
ExportAssets (56)Timeline Frame 1Symbol 26 as "ImageBackButton"
ExportAssets (56)Timeline Frame 15Symbol 26 as "ImageBackButton"
ExportAssets (56)Timeline Frame 15Symbol 23 as "ImageNextButton"
ExportAssets (56)Timeline Frame 15Symbol 35 as "ThumbBackButton"
ExportAssets (56)Timeline Frame 15Symbol 36 as "ThumbNextButton"
ExportAssets (56)Timeline Frame 15Symbol 20 as "ImageLoadBar"
ExportAssets (56)Timeline Frame 15Symbol 38 as "ErrorIcon"
ExportAssets (56)Timeline Frame 15Symbol 40 as "Caption"
ExportAssets (56)Timeline Frame 15Symbol 16 as "Title"
ExportAssets (56)Timeline Frame 15Symbol 13 as "DogEar"
ExportAssets (56)Timeline Frame 15Symbol 11 as "InitialIcon"
ExportAssets (56)Timeline Frame 15Symbol 9 as "DownloadLink"
ExportAssets (56)Timeline Frame 15Symbol 41 as "__Packages.com.airtightinteractive.apps.viewers.simpleViewer.StageManager"
ExportAssets (56)Timeline Frame 15Symbol 42 as "__Packages.com.airtightinteractive.apps.viewers.simpleViewer.XMLManager"
ExportAssets (56)Timeline Frame 15Symbol 43 as "__Packages.com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea"
ExportAssets (56)Timeline Frame 15Symbol 44 as "__Packages.com.airtightinteractive.apps.viewers.simpleViewer.RolloverButton"
ExportAssets (56)Timeline Frame 15Symbol 45 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 15Symbol 46 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 15Symbol 47 as "__Packages.mx.transitions.Tween"
ExportAssets (56)Timeline Frame 15Symbol 48 as "__Packages.mx.utils.Delegate"
ExportAssets (56)Timeline Frame 15Symbol 49 as "__Packages.com.airtightinteractive.apps.viewers.simpleViewer.Thumb"
ExportAssets (56)Timeline Frame 15Symbol 50 as "__Packages.com.airtightinteractive.apps.viewers.simpleViewer.ImageArea"
ExportAssets (56)Timeline Frame 15Symbol 51 as "__Packages.com.airtightinteractive.apps.viewers.simpleViewer.Options"
ExportAssets (56)Timeline Frame 15Symbol 52 as "__Packages.com.airtightinteractive.apps.viewers.simpleViewer.Image"
ExportAssets (56)Timeline Frame 15Symbol 53 as "__Packages.com.airtightinteractive.util.RectUtil"
ExportAssets (56)Timeline Frame 15Symbol 54 as "__Packages.com.airtightinteractive.util.ArrayUtil"
ExportAssets (56)Timeline Frame 15Symbol 55 as "__Packages.com.airtightinteractive.util.TweenExtended"
ExportAssets (56)Timeline Frame 15Symbol 56 as "__Packages.mx.transitions.easing.Strong"
ExportAssets (56)Timeline Frame 15Symbol 57 as "__Packages.mx.transitions.easing.Regular"

Labels

"preloader"Frame 2
"load items"Frame 15
"main"Frame 30
"load"Symbol 32 MovieClip Frame 9
"loadXML"Symbol 32 MovieClip Frame 16
"done"Symbol 32 MovieClip Frame 23




http://swfchan.com/3/10125/info.shtml
Created: 8/6 -2019 21:17:16 Last modified: 8/6 -2019 21:17:16 Server time: 22/12 -2024 07:04:36