home *** CD-ROM | disk | FTP | other *** search
Wrap
function previewSetup(prop, oldVal, newVal) { unwatch("csPreview"); return newVal; } stop(); var timeline = this; var csConfigFile; var csColor; var csPreloader; var pipX; var pipY; var csPreview = "false"; var csButtonNames; var csPreviewStyle; var csPreviewInteracts = "true"; var csPreviewPaint = "true"; var csFilesetBookmark; var csConfigFileDefault = "00_config.xml "; var csColorDefault = "FFFFFF"; var csPreloaderDefault = " "; background._visible = false; background._width = Stage.width; background._height = Stage.height; var bgColor = new Color(background); if(csColor == undefined) { csColor = csColorDefault; } bgColor.setRGB(parseInt(csColor,16)); background._visible = true; watch("csPreview",previewSetup); var contextMenu = new ContextMenu(); contextMenu.hideBuiltInItems(); this.menu = contextMenu; var ExpressInstall = function() { this.needsUpdate = _root.MMplayerType != undefined ? true : false; }; ExpressInstall.prototype = {init:function() { if(this.needsUpdate) { this.loadUpdater(); return true; } return false; },loadUpdater:function() { System.security.allowDomain("fpdownload.macromedia.com"); this.updater = _root.createEmptyMovieClip("expressInstallHolder",10000000); var _self = this; this.updater.installStatus = _self.onInstallStatus; this.hold = this.updater.createEmptyMovieClip("hold",1); this.updater.onEnterFrame = function() { if(typeof this.hold.startUpdate == "function") { _self.initUpdater(); this.onEnterFrame = null; } }; var _loc3_ = Math.random(); this.hold.loadMovie("http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/autoUpdater.swf?" + _loc3_); },initUpdater:function() { this.hold.redirectURL = _root.MMredirectURL; this.hold.MMplayerType = _root.MMplayerType; this.hold.MMdoctitle = _root.MMdoctitle; this.hold.startUpdate(); },onInstallStatus:function(msg) { if(msg != "Download.Complete") { if(msg == "Download.Cancelled") { getUrl("javascript:alert(\'This content requires a more recent version of the Macromedia Flash Player.\')", ""); } else if(msg == "Download.Failed") { getUrl("javascript:alert(\'There was an error downloading the Flash Player update. Please try again later, or visit macrmedia.com to download the latest version of the Flash plugin.\')", ""); } } }}; if(csPreview == "false") { var ExpressInstall = new ExpressInstall(); if(ExpressInstall.needsUpdate) { ExpressInstall.init(); } else { timeline.gotoAndStop(5); } } else { timeline.gotoAndStop(5); }