Instance of Symbol 37 MovieClip [NPTranslator] in Frame 1
//component parameters
onClipEvent (initialize) {
debug = false;
lang = {};
lang.targetName = "_level0";
lang.variableName = "lang";
lang.defaultValue = "en";
typeID = {};
typeID.targetName = "_level0";
typeID.variableName = "typeID";
typeID.defaultValue = 14;
itemID = {};
itemID.targetName = "_level0";
itemID.variableName = "itemID";
itemID.defaultValue = 102;
playMode = "AUTOMATIC";
}
Frame 2
stop();
if (_level0.flashXML == undefined) {
_level0.flashXML = "<message success = '1' text = ''>";
_level0.flashXML = _level0.flashXML + "<films>";
_level0.flashXML = _level0.flashXML + "<film>";
_level0.flashXML = _level0.flashXML + "<number>2</number>";
_level0.flashXML = _level0.flashXML + "<title>NOT USED</title>";
_level0.flashXML = _level0.flashXML + "<url>meridell_film2_v1.swf</url>";
_level0.flashXML = _level0.flashXML + "</film>";
_level0.flashXML = _level0.flashXML + "</films>";
_level0.flashXML = _level0.flashXML + "</message>";
test_txt.htmlText = _level0.flashXML;
}
this.onMetaTag = function (event, data) {
myFilmShell.onMetaTag(event, data);
};
this.onTrailerDone = function () {
myFilmShell.onTrailerDone();
};
System.security.allowDomain("swf.neopets.com", "images50.neopets.com", "images.neopets.com", "neopets.com");
myFilmShell = new FilmShell();
myFilmShell.setFilmMC(_root.videoPlayer);
myFilmShell.setNextMC(_root.next_mc);
myFilmShell.setPreviousMC(_root.previous_mc);
myFilmShell.setNextButton(_root.next_mc.next_btn);
myFilmShell.setPreviousButton(_root.previous_mc.previous_btn);
myFilmShell.setSubtitleMC(_root.subtitle_mc);
myFilmShell.setXML(_level0.flashXML);
myFilmShell.init();
Instance of Symbol 34 MovieClip [VideoPlayerSymbol] "videoPlayer" in Frame 2
//component parameters
onClipEvent (initialize) {
pMovieURL = "";
pMovieFPS = 30;
pCountDown_mc = "countDown_mc";
pDoneMethod = "onTrailerDone";
}
Symbol 5 MovieClip Frame 1
Symbol 11 Button
on (release) {
this._parent._parent.paused = 1;
this._parent._parent.mold.stop();
nextFrame();
}
Symbol 13 Button
on (release) {
this._parent._parent.paused = 0;
this._parent._parent.mold.play();
prevFrame();
}
Symbol 15 MovieClip Frame 1
this.myButton.useHandCursor = false;
stop();
Symbol 15 MovieClip Frame 2
this.myButton.useHandCursor = false;
stop();
Instance of Symbol 23 MovieClip "volumeSlider" in Symbol 27 MovieClip Frame 1
onClipEvent (load) {
this.videoMC = this._parent._parent._parent;
this.globalsound = new Sound(this.videoMC);
this.volume = 100;
this.leftLimit = this._parent.sliderBG._x + (this._width / 2);
this.rightLimit = (this._parent.sliderBG._x + this._parent.sliderBG._width) - (this._width / 2);
this.limitAmount = this.rightLimit - this.leftLimit;
this.pcnt = 100 / this.limitAmount;
this._x = this.rightLimit;
this.scrubbing = 0;
this.useHandCursor = 0;
this.onPress = function () {
this.scrubbing = 1;
};
this.onRelease = (this.onReleaseOutside = function () {
this.scrubbing = 0;
stopDrag();
});
}
onClipEvent (enterFrame) {
if (this.scrubbing) {
this.startDrag(false, this.leftLimit, 0, this.rightLimit, 0);
var dist = (this._x - this.leftLimit);
var d = (d / this.limitAmount);
this.volume = dist * this.pcnt;
this.globalsound.setVolume(this.volume);
}
}
Symbol 28 MovieClip Frame 1
this.loadingBar.myMovie = this._parent.mold;
this.loadingBar.onLoad = function () {
this._xscale = 0;
};
this.loadingBar.onEnterFrame = function () {
if ((++this.waitCount) > 10) {
var _local4 = this.myMovie.getBytesLoaded();
var _local3 = this.myMovie.getBytesTotal();
var _local2 = (_local4 / _local3) * 100;
this._xscale = _local2;
if (_local2 == 100) {
this.onEnterFrame = undefined;
}
}
};
Instance of Symbol 23 MovieClip "sliderButton" in Symbol 28 MovieClip Frame 1
onClipEvent (load) {
this.videoMC = this._parent._parent;
this.myMovie = this.videoMC.mold;
this.beginDrag = this._x;
this.endDrag = this._parent.sliderBG._x + this._parent.sliderBG._width;
this.scrubbing = 0;
this.useHandCursor = false;
this.onPress = function () {
this.myMovie.stop();
this.videoMC.controller.pl.gotoAndStop("pauseButton");
this.scrubbing = 1;
};
this.onRelease = (this.onReleaseOutside = function () {
var _local2 = Math.round((this._parent.sliderBG._xmouse / (this.endDrag - this.beginDrag)) * this.myMovie._totalframes);
this.myMovie.gotoAndPlay(_local2);
this.videoMC.controller.pl.gotoAndStop("playButton");
this.scrubbing = 0;
stopDrag();
});
}
onClipEvent (enterFrame) {
if (this._x >= this.endDrag) {
_root.playing = 0;
this._parent._parent.pOnDone();
}
if (!this.scrubbing) {
var movie_Clip = this.myMovie;
var newX = ((movie_Clip._currentframe / movie_Clip._totalframes) * (this.endDrag - this.beginDrag));
newX = newX + this.beginDrag;
this._x = newX;
} else {
this.startDrag(false, this.beginDrag, 0, this.endDrag, 0);
}
}
Symbol 31 MovieClip Frame 1
this._visible = false;
Symbol 34 MovieClip [VideoPlayerSymbol] Frame 1
#initclip 3
VideoPlayerClass = function (props) {
this.init();
};
var obj = VideoPlayerClass.prototype;
obj.init = function () {
if (this.pMovieURL == undefined) {
return(undefined);
}
this.bg._visible = false;
this.xRatio = this._parent.xRatio;
this.yRatio = this._parent.yRatio;
this.load_txt.text = "";
this.countDown_mc.attachMovie(this.pCountDown_mc, "countGR", 1);
this.countDown_mc._alpha = 0;
loadMovie (this.pMovieURL, this.mold);
this.paused = 1;
this.mold.stop();
this.controller.pl.gotoAndStop("pauseButton");
var _local2 = this.process;
_local2.countDown = this.countDown_mc;
_local2.fps = this.pMovieFPS;
_local2.bufferFactor = 1.2;
_local2.startTime = getTimer();
_local2.sizeObjects = function () {
this._parent.resizeClips();
};
_local2.onEnterFrame = function () {
var _local2 = this._parent.mold.getBytesLoaded();
var _local4 = this._parent.mold.getBytesTotal();
var _local7 = _local4 - _local2;
var _local9 = this._parent.mold._totalFrames;
var _local8 = this._parent.mold._framesLoaded;
var _local12 = getTimer() - this.startTime;
var _local6 = _local2 / _local12;
var _local13 = _local9 / this.fps;
var _local5 = _local8 / this.fps;
var _local10 = (_local7 / 1024) / _local6;
var _local3 = (_local2 / _local4) * 100;
this.countDown._width = this._parent.mold._width;
this.countDown._height = this._parent.mold._height;
if (_local2 > 100) {
if (!isNaN(_local3)) {
this._parent.__onMoldLoadProgress(_local3);
this._parent.load_txt.text = ("" + Math.round(_local3)) + " %";
this._parent.controller._visible = true;
this._parent.mold._visible = true;
var _local11 = _local10 * this.bufferFactor;
_local5 = 10000000 /* 0x989680 */;
if ((_local5 < _local11) and this._parent.paused) {
this.sizeObjects();
this.countDown._alpha = 0;
this._parent.mold.stop();
} else {
this._parent.load_txt.text = "";
this._parent.paused = 0;
this.countDown._alpha = 0;
this._parent.mold._visible = 1;
this._parent.mold.play();
this._parent.controller.pl.gotoAndStop("playButton");
this.sizeObjects();
this.onEnterFrame = function () {
this._parent.__onMoldProgress();
};
}
}
}
};
};
obj.stopMovie = function () {
this.mold.gotoAndStop(1);
};
obj.resizeClips = function () {
var _local3 = this.mold;
var _local2 = this.controller;
var _local4 = this.countDown_mc;
var _local7 = (this._width / 2) - (_local3._width / 2);
var _local6 = ((this._height / 2) - (_local3._height / 2)) - (_local2._height / 2);
_local3._x = _local7 / this.xRatio;
_local3._y = _local6 / this.yRatio;
_local4._x = _local3._x;
_local4._y = _local3._y;
_local2._width = _local3._width;
_local2._y = (_local3._y + _local3._height) + (_local2._height / 2);
_local2._x = _local3._x + (_local2._width / 2);
var _local5 = _local2._xscale / 100;
_local2._yscale = _local5 * 100;
this.load_txt._x = (_local2._x + (_local2._width / 2)) - this.load_txt._width;
this.load_txt._y = (_local2._y - (_local2._height / 2)) - this.load_txt._height;
};
obj.pOnDone = function () {
_root[this.pDoneMethod]();
};
obj.setFPS = function (tValue) {
this.pMovieFPS = Number(tValue);
};
obj.getFPS = function () {
return(this.pMovieFPS);
};
obj.setURL = function (tValue) {
this.pMovieURL = String(tValue);
};
obj.getURL = function () {
return(this.pMovieURL);
};
obj.setCountDownMC = function (tValue) {
this.pCountDown_mc = tValue;
};
obj.getCountDownMC = function () {
return(this.pCountDown_mc);
};
obj.setWidth = function (tValue) {
this.pMovieWidth = Number(tValue);
};
obj.getWidth = function () {
return(this.pMovieWidth);
};
obj.setHeight = function (tValue) {
this.pMovieHeight = Number(tValue);
};
obj.getHeight = function () {
return(this.pMovieHeight);
};
obj.setCallBackTarget = function (tCallBackTarget) {
this.pCallBackTarget = tCallBackTarget;
};
obj.getCallBackTarget = function () {
return(this.pCallBackTarget);
};
obj.__onMoldLoadProgress = function (p) {
if ((p == 0) and (this.pLastPercentLoaded != 0)) {
this.__onLoadStart();
}
this.__onLoadProgress(p);
if ((p == 100) and (this.pLastPercentLoaded != 100)) {
this.__onLoadComplete();
}
this.pLastPercentLoaded = p;
};
obj.__onMoldProgress = function () {
var _local2 = this.getPercentComplete();
if ((_local2 == 0) and (this.pLastPercentComplete != 0)) {
this.__onStart();
}
this.__onProgress(_local2);
if ((_local2 == 100) and (this.pLastPercentComplete != 100)) {
this.__onComplete();
}
this.pLastPercentComplete = _local2;
};
obj.__onLoadStart = function () {
this.getCallBackTarget().onLoadStart();
};
obj.__onLoadProgress = function (p) {
this.getCallBackTarget().onLoadProgress(p);
};
obj.__onLoadComplete = function () {
this.getCallBackTarget().__onLoadComplete();
};
obj.__onStart = function () {
this.getCallBackTarget().onStart();
};
obj.__onProgress = function (p) {
this.getCallBackTarget().onProgress(p);
};
obj.__onComplete = function () {
this.getCallBackTarget().onComplete();
};
obj.getPercentComplete = function () {
var _local2 = int((100 * this.mold._currentframe) / this.mold._totalframes);
return(_local2);
};
obj.stop = function () {
this.paused = 1;
this.mold.stop();
};
obj.play = function () {
this.paused = 0;
this.mold.play();
};
obj.rewind = function (pause_boolean) {
this.paused = Number(pause_boolean);
if (this.paused == 0) {
this.mold.gotoAndPlay(1);
} else {
this.mold.gotoAndStop(1);
}
};
Object.registerClass("VideoPlayerSymbol", VideoPlayerClass);
#endinitclip
Symbol 37 MovieClip [NPTranslator] Frame 1
#initclip 2
_global.EventBroadcaster = new Object();
EventBroadcaster.initialize = function (obj) {
obj._listeners = new Array();
obj.broadcastMessage = this._broadcastMessage;
obj.addListener = this._addListener;
obj.removeListener = this._removeListener;
};
EventBroadcaster._broadcastMessage = function () {
var _local4 = arguments.shift();
var _local3 = this._listeners;
for (var _local5 in _local3) {
_local3[_local5][_local4].apply(_local3[_local5], arguments);
}
};
EventBroadcaster._addListener = function (obj) {
this.removeListener(obj);
this._listeners.push(obj);
return(true);
};
EventBroadcaster._removeListener = function (obj) {
var _local2 = this._listeners;
var _local4 = _local2.length;
for (_local4 in _local2) {
if (_local2[_local4] == obj) {
_local2.splice(_local4, 1);
return(true);
}
}
return(false);
};
Translator = function (tVariableTarget) {
this.setDebug = function (tValue) {
this.pDebug = tValue;
};
this.getDebug = function () {
return(this.pDebug);
};
this.valueFromLevel0 = function (tObject) {
var _local2 = "";
if (String(typeof(tObject)).toUpperCase() == "OBJECT") {
if (_level0[tObject.targetName][tObject.variableName] != undefined) {
_local2 = _level0[tObject.targetName][tObject.variableName];
} else {
_local2 = tObject.defaultValue;
}
} else {
_local2 = tObject;
}
return(_local2);
};
this.setLang = function (tObject) {
this.pLang = String(this.valueFromLevel0(tObject)).toLowerCase();
};
this.getLang = function () {
return(this.pLang);
};
this.setLangGroup = function (tValue) {
this.pLangGroup = String(tValue).toLowerCase();
};
this.getLangGroup = function () {
if (this.pLangGroup == undefined) {
var _local2 = ["en", "pt", "de", "fr", "it", "es"];
var _local3 = String("nw");
for (var _local4 in _local2) {
if (this.getLang().toUpperCase() == _local2[_local4].toUpperCase()) {
_local3 = "we";
break;
}
}
this.pLangGroup = String(_local3).toLowerCase();
}
return(this.pLangGroup);
};
this.setTypeID = function (tObject) {
this.pTypeID = Number(this.valueFromLevel0(tObject));
};
this.getTypeID = function () {
return(this.pTypeID);
};
this.setItemID = function (tObject) {
this.pItemID = Number(this.valueFromLevel0(tObject));
};
this.getItemID = function () {
return(this.pItemID);
};
this.setPlayMode = function (tValue) {
this.pPlayMode = String(tValue).toUpperCase();
};
this.getPlayMode = function () {
return(this.pPlayMode);
};
this.setReturnFormat = function (tValue) {
this.pReturnFormat = tValue;
};
this.getReturnFormat = function () {
return(this.pReturnFormat);
};
this.setTranslationBaseURL = function (tValue) {
this.pTranslationBaseURL = tValue;
};
this.getTranslationBaseURL = function () {
return(this.pTranslationBaseURL);
};
this.setTarget = function (tValue) {
this.pTarget = tValue;
};
this.getTarget = function () {
return(this.pTarget);
};
this.setVariableList = function (tValue) {
this.pIDSVars = tValue;
};
this.getVariableList = function () {
return(this.pIDSVars);
};
this.getTranslationURL = function () {
var _local2 = this.getTranslationBaseURL();
return(_local2);
};
this.oTrace = function (tMessageString) {
if (this.getDebug()) {
trace("TRANSLATOR: " + tMessageString);
}
};
this.setDebug(tVariableTarget.debug);
this.setLang(tVariableTarget.lang);
this.setTypeID(tVariableTarget.typeID);
this.setItemID(tVariableTarget.itemID);
this.setPlayMode(tVariableTarget.playMode);
this.setTranslationScriptURL(tVariableTarget.translationScriptURL);
this.setReturnFormat("XML");
this.setTarget(tVariableTarget._parent);
if (this.getDebug() == true) {
this.setTranslationBaseURL("http://dev.neopets.com/transcontent/gettranslationxml.phtml");
this.otrace(("CALLING DEV.(" + this.getTranslationBaseURL()) + ") SET DEBUG=FALSE BEFORE LAUNCH");
} else {
this.setTranslationBaseURL("http://www.neopets.com/transcontent/gettranslationxml.phtml");
}
EventBroadcaster.initialize(this);
this.addListener(this);
this.onLoad = function (tSuccess) {
};
if (this.getPlayMode() == "AUTOMATIC") {
this.toggleTargetPlayMode(false);
this.translate();
}
};
Translator.prototype.toggleTargetPlayMode = function (tPlayMode_b) {
if (tPlayMode_b == true) {
_root[this.getTarget()].play();
} else {
_root[this.getTarget()].stop();
}
};
Translator.prototype.translate = function () {
this.translateToTarget(this.getTarget());
};
Translator.prototype.translateToTarget = function (tTarget) {
this.setTarget(tTarget);
tConnection_lv = new LoadVars();
tConnection_lv.translator = this;
tConnection_lv.onLoad = function (tSuccess_b) {
this.translator.broadcastMessage("onLoad", tSuccess_b);
};
tConnection_lv.onData = function (tXML_str) {
this.translator.oTrace("onData()");
var _local2 = new XML();
_local2.ignoreWhite = true;
_local2.parseXML(tXML_str);
if (_local2.firstChild.nodeName.toUpperCase() == "XLIFF") {
this.translator.translateXML(_local2);
this.onLoad(true);
} else {
this.onLoad(false);
}
};
tConnection_lv.randomNumber = random(9999999);
tConnection_lv.lang = this.getLang();
tConnection_lv.type_id = this.getTypeID();
tConnection_lv.item_id = this.getItemID();
this.oTrace("sendAndLoad()");
this.oTrace("\t URL: " + this.getTranslationURL());
this.oTrace("\tpost: " + tConnection_lv.toString());
tConnection_lv.sendAndLoad(this.getTranslationURL(), tConnection_lv);
};
Translator.prototype.translateXML = function (tTranslation_xml) {
var _local14 = tTranslation_xml.firstChild;
var _local9 = tTranslation_xml.firstChild.firstChild;
var _local7 = new Array();
var _local8 = function (tName, tValue) {
this.name = tName;
this.value = tValue;
this.oTrace((this.name + " = ") + this.value);
};
var _local10 = _local9.childNodes.length;
t = 0;
while (t < _local10) {
var _local4 = _local9.childNodes[t];
if (_local4.nodeName.toUpperCase() == "HEADER") {
} else if (_local4.nodeName.toUpperCase() == "BODY") {
var _local6 = _local4.childNodes.length;
var _local2 = 0;
while (_local2 < _local6) {
var _local3 = _local4.childNodes[_local2];
var _local5 = _local3.firstChild.firstChild;
_local7.push(new _local8[undefined](_local3.attributes.resname.toString(), _local5.toString()));
_local2++;
}
}
t++;
}
this.copyVariablesToLocal(_local7);
var _local11 = this.getTarget();
var _local12 = this.getVariableList();
this.copyVariablesToTarget(_local11, _local12);
};
Translator.prototype.copyVariablesToLocal = function (tTransVarList) {
var _local4 = Object();
this.oTrace("copyVariablesToLocal()");
var _local5 = tTransVarList.length;
var _local2 = 0;
while (_local2 < _local5) {
_local4[String(tTransVarList[_local2].name)] = unescape(String(tTransVarList[_local2].value));
this.oTrace("\tvariable #" + _local2);
this.oTrace("\t\tname: " + String(tTransVarList[_local2].name));
this.oTrace("\t\tvalue: " + _local4[String(tTransVarList[_local2].name)]);
_local2++;
}
this.setVariableList(_local4);
};
Translator.prototype.copyVariablesToTarget = function (tTarget, tVariableList) {
for (var _local4 in tVariableList) {
tTarget[_local4] = tVariableList[_local4];
}
if (this.getPlayMode() == "AUTOMATIC") {
this.toggleTargetPlayMode(true);
this.setPlayMode("MANUAL");
}
};
TranslatorManager = function () {
if (_global.NPTranslator == undefined) {
tVariableTarget = this;
_global.NPTranslator = new Translator(tVariableTarget);
}
this=_global.NPTranslator;//parameter overwritten
_global.NPTranslator;
};
Object.registerClass("NPTranslator", TranslatorManager);
#endinitclip
this._visible = 0;
stop();
Symbol 55 MovieClip [__Packages.FilmShell] Frame 0
class FilmShell
{
var embedFonts_boolean, filmNumber_num, film_mc, previous_mc, next_mc, previous_btn, next_btn, subtitle_mc, pause_boolean;
function FilmShell () {
}
function setEmbedFonts(tValue) {
embedFonts_boolean = Boolean(tValue);
}
function getEmbedFonts() {
return(embedFonts_boolean);
}
function setXML(tXML_str) {
var _local11 = new XML(tXML_str);
var _local9 = _local11.firstChild;
if (_local9.attributes.success == "1") {
var _local10 = _local9.childNodes[0];
var _local7 = _local10.firstChild;
var _local8 = new Object();
var _local3 = 0;
while (_local3 < _local7.childNodes.length) {
var _local4 = _local7.childNodes[_local3];
var _local6 = _local4.nodeName.toString();
var _local5 = _local4.firstChild.toString();
_local8[_local6] = _local5;
_local3++;
}
setFilmNumber(_local8.number);
getFilmMC().setURL(_local8.url);
} else {
trace("load error");
setSubtitleText(_root.IDS_ERROR);
}
}
function setFilmNumber(tValue) {
filmNumber_num = tValue;
}
function getFilmNumber() {
return(filmNumber_num);
}
function setFilmMC(tValue) {
film_mc = tValue;
film_mc.setCallBackTarget(this);
}
function getFilmMC() {
return(film_mc);
}
function setPreviousMC(tValue) {
previous_mc = tValue;
}
function getPreviousMC() {
return(previous_mc);
}
function setNextMC(tValue) {
next_mc = tValue;
}
function getNextMC(tValue) {
return(next_mc);
}
function setPreviousButton(tValue) {
previous_btn = tValue;
previous_btn.filmShell = this;
previous_btn.onPress = function () {
this.filmShell.rewindFilm();
};
}
function getPreviousButton() {
return(previous_btn);
}
function setNextButton(tValue) {
next_btn = tValue;
next_btn.filmShell = this;
next_btn.onPress = function () {
this.filmShell.togglePause();
};
}
function getNextButton() {
return(next_btn);
}
function setSubtitleMC(tValue) {
subtitle_mc = tValue;
setSubtitleText("");
}
function getSubtitleMC() {
return(subtitle_mc);
}
function setSubtitleText(tText_str) {
getSubtitleMC().subtitle_txt.html = true;
getSubtitleMC().subtitle_txt.embedFonts = getEmbedFonts();
var _local2 = "<p align='center'><font size = '18'>";
_local2 = _local2 + tText_str;
_local2 = _local2 + "</font></p>";
getSubtitleMC().subtitle_txt.htmlText = _local2;
}
function init() {
initText();
initMovie();
}
function initMovie() {
getFilmMC().init();
}
function initText() {
if (_global.NPTranslator.getLangGroup().toUpperCase() == "WE") {
setEmbedFonts(true);
} else {
setEmbedFonts(false);
}
getSubtitleMC()._x = int(getSubtitleMC()._x);
getSubtitleMC()._y = int(getSubtitleMC()._y);
getSubtitleMC().subtitle_txt._x = int(getSubtitleMC().subtitle_txt._x);
getSubtitleMC().subtitle_txt._y = int(getSubtitleMC().subtitle_txt._y);
getPreviousMC().previous_txt.html = true;
getPreviousMC().previous_txt.embedFonts = getEmbedFonts();
getPreviousMC().previous_txt.htmlText = _root.IDS_REWIND;
getNextMC().next_txt.html = true;
getNextMC().next_txt.embedFonts = getEmbedFonts();
getNextMC().next_txt.htmlText = _root.IDS_PAUSE;
}
function rewindFilm() {
getFilmMC().rewind();
getFilmMC().play();
}
function togglePause() {
pause_boolean = Boolean(!pause_boolean);
if (pause_boolean == true) {
getFilmMC().stop();
getNextMC().next_txt.htmlText = _root.IDS_PLAY;
} else {
getFilmMC().play();
getNextMC().next_txt.htmlText = _root.IDS_PAUSE;
}
}
function onMetaTag(event, data) {
clearInterval(clearSubtitleIntervalID_num);
trace("-------------------------");
trace("now event: " + event);
if (event.toUpperCase() == "LOAD") {
var _local3 = (("IDS_FILM" + getFilmNumber()) + "_BUBBLE") + data.index_num;
trace(_local3);
setSubtitleText(_root[_local3]);
} else if (event.toUpperCase() == "UNLOAD") {
setSubtitleText("");
}
}
function onTrailerLoadStart() {
}
function onLoadProgress(p) {
setSubtitleText(((("\n\n" + _root.IDS_LOADING) + " ") + int(p)) + "%");
}
function onTrailerLoadComplete() {
}
function onStart() {
trace("onTrailerStart()");
clearSubtitleIntervalID_num = setInterval(this, "setSubtitleText", 1000, "");
}
function onProgress(p) {
}
function onComplete() {
}
var clearSubtitleIntervalID_num = 0;
}