Ir para conteúdo
Fórum Script Brasil
  • 0

Efeito Fogo


Gutto

Pergunta

Galera, encontrei esse site Nina Mercedez (Tá certo que a Nina é um avião e não importa os motivos que me levaram a entrar nesse site, hehehe). Nele tem um flash com o efeito de um fogo, logo na direita, fácil de encontrar). Baixei o swf e abri com o swf decompiler, tem um AS com mais de 2.000 linhas, e como n entendo de flash.. Action, quero saber se o efeito do Fogo é um Action Script ou um *.swf separado. Vlw's

// Action script...

// [Action in Frame 1]

function newCaption(target_mc, manager_object)

{

caption_mc = target_mc.createEmptyMovieClip("caption_mc", target_mc.getNextHighestDepth());

caption_mc.initialize = function ()

{

this.utils = target_mc.utils;

this.manager = manager_object;

this.bg_color = this.manager.config.backgroundColor ? (Number(this.manager.config.backgroundColor)) : (6710886);

this.text_color = this.manager.config.textColor >= 0 ? (Number(this.manager.config.textColor)) : (16777215);

switch (this.manager.config.textSize)

{

case 0:

{

this.text_size = 0.075000;

break;

}

case 1:

{

this.text_size = 0.150000;

break;

}

case 2:

{

this.text_size = 0.200000;

break;

}

case 3:

{

this.text_size = 0.250000;

break;

}

default:

{

this.text_size = 0.300000;

break;

}

} // End of switch

this.SW = this.manager.SW;

this.SH = this.manager.SH;

this.initBack();

this.initText();

this.autohide = true;

this.c_string = "";

this.c_time = 0;

};

caption_mc.initBack = function ()

{

back_mc = this.createEmptyMovieClip("back_mc", this.getNextHighestDepth());

back_mc._visible = false;

var _l2 = this.manager.config.transition == 0 ? (this.SW * 0.900000 - 40) : (this.SW * 0.900000);

var _l3 = this.text_size * this.SH;

this.utils.drawSquare(back_mc, 0, 0, _l2, _l3, 100, this.bg_color, Math.min(_l2 / 3, _l3 / 3));

trace ("----> CAPTION SQUARE H: " + back_mc._height);

};

caption_mc.initText = function ()

{

trace ("THIS BACK IS: " + back_mc + ":" + back_mc._x);

this.max_h = this._height * 0.900000;

this.createTextField("my_txt", this.getNextHighestDepth(), back_mc._x + 10, back_mc._y + 10, this._width - 20, this._height - 20);

this.my_txt._visible = false;

this.my_txt.multiline = true;

this.my_txt.autoSize = true;

this.my_txt.wordWrap = true;

this.my_txt.selectable = false;

this.my_fmt = new TextFormat();

this.my_fmt.bold = true;

this.my_fmt.font = "_sans";

this.my_fmt.align = "center";

this.my_fmt.color = this.text_color;

};

caption_mc.fitText = function ()

{

trace ("----> 3 FIT TEXT CALLED WITH " + this.my_txt + " : " + string + " : " + this.max_h);

this.my_txt.text = this.c_string;

this.my_fmt.size = this.my_txt.textsize = 10;

this.my_txt.setTextFormat(this.my_fmt);

this.my_txt.height = this.my_txt.textHeight;

if (this.my_txt.height <= this.max_h && this.my_txt.text)

{

while (this.my_txt.height < this.max_h && this.my_txt.text)

{

this.my_txt.textsize++;

this.my_fmt.size = this.my_txt.textsize;

this.my_txt.setTextFormat(this.my_fmt);

this.my_txt.height = this.my_txt.textHeight;

} // end while

}

else if (this.my_txt.height > this.max_h)

{

var _l2 = 0;

while (this.my_txt.height > this.max_h && this.my_txt.text.length && _l2 < 1000)

{

this.c_string = this.c_string.substr(0, this.c_string.length - 1);

this.my_txt.text = this.c_string;

this.my_txt.setTextFormat(this.my_fmt);

this.my_txt.height = this.my_txt.textHeight;

_l2++;

} // end while

} // end if

this.my_txt.textsize--;

this.my_fmt.size = this.my_txt.textsize;

this.my_txt.setTextFormat(this.my_fmt);

this.my_txt._y = (this.back_mc._height - this.my_txt._height) / 2;

this.my_txt.text = "";

this.my_txt._visible = true;

this.showLetters();

};

caption_mc.showLetters = function ()

{

this.l_array = this.c_string.split("");

var _l2 = Math.min(this.c_time * 500 / this.l_array.length, 60);

this.l_intervalId = setInterval(this, "nextLetter", _l2);

};

caption_mc.nextLetter = function ()

{

var _l2 = this.l_array.shift();

if (_l2 != null && _l2 != undefined)

{

this.my_txt.text = this.my_txt.text + _l2;

this.my_txt.setTextFormat(this.my_fmt);

}

else

{

clearInterval(this.l_intervalId);

this.cb_intervalId = setInterval(this, "cb", this.c_time * 500);

} // end if

};

caption_mc.cb = function ()

{

clearInterval(this.cb_intervalId);

this.scope[this.callback](this.args);

};

caption_mc.showCaption = function (capt, time, autohide, scope, callback, args)

{

this.callback = callback ? (callback) : (null);

this.scope = scope ? (scope) : (null);

this.args = args ? (args) : (null);

trace ("---> 1 SHOW CAPTION CALLED WITH: " + capt + " : " + time);

var _l2 = time == undefined ? (false) : (time);

this.autohide = autohide;

if (capt && _l2)

{

this.padding = this.manager.config.transition == 0 ? (7) : (0);

this.cx = this.hackx ? (this.hackx) : ((this.SW - this._width) / 2);

this.cy = this.hacky ? (this.hacky) : (this.SH - this._height - this.padding);

this._x = this.cx;

this._y = this.cy;

this.c_time = _l2;

this.c_string = capt;

this.my_txt.text = "";

back_mc._alpha = 0;

back_mc._visible = true;

back_mc.alphaTo(80, 0.500000, "linear", 0, {scope: caption_mc, func: caption_mc.showText});

}

else if (_l2)

{

this.cb_intervalId = setInterval(this, "cb", _l2 * 500);

}

else

{

this.cb_intervalId = setInterval(this, "cb", 250);

} // end if

};

caption_mc.showText = function ()

{

trace ("----> 2 SHOW TEXT CALLED WITH: " + this.c_string + " : " + this.c_time);

this.fitText();

if (this.autohide)

{

this.intervalId = setInterval(caption_mc, "hideCaption", this.c_time * 1000 - 500);

} // end if

};

caption_mc.hideCaption = function ()

{

trace ("----> 4 HIDE TEXT CALLED");

clearInterval(this.intervalId);

this.my_txt.text = "";

this.my_txt._visible = false;

back_mc.alphaTo(0, 0.500000, "linear", 0, {scope: caption_mc, func: caption_mc.cleanUp});

};

caption_mc.cleanUp = function ()

{

this.back_mc._visible = false;

this.manager = 0;

};

caption_mc.initialize();

return (caption_mc);

} // End of the function

function newSmartText(target_mc, manager, text)

{

var img_mc = target_mc.createEmptyMovieClip("img_mc", 1);

img_mc.makeBackground = function ()

{

var _l2 = 0;

var _l4 = this.createEmptyMovieClip("real_img_mc", 1);

_l4.moveTo(0 + _l2, -_l2);

_l4.beginFill(this.text_color, 100);

_l4.lineTo(120 - _l2, 0 + _l2);

_l4.lineTo(120 - _l2, 120 - _l2);

_l4.lineTo(0 + _l2, 120 - _l2);

_l4.lineTo(0 + _l2, 0 + _l2);

_l4.endFill();

var _l3 = _l4.createEmptyMovieClip("mini_mc", 1);

_l3.moveTo(0, 0);

_l2 = 4;

_l3.beginFill(this.bg_color, 100);

_l3.lineTo(120 - _l2, 0);

_l3.lineTo(120 - _l2, 120 - _l2);

_l3.lineTo(0, 120 - _l2);

_l3.lineTo(0, 0);

_l3.endFill();

_l3._x = _l3._y = _l2 / 2;

return (_l4);

};

img_mc.makeTextField = function ()

{

img_mc.createTextField("_txt", 2, 5, 5, 110, 110);

return (img_mc._txt);

};

img_mc.setText = function (text)

{

this._txt.text = text;

this._txt._visible = false;

this._txt.multiline = true;

this._txt.wordWrap = true;

this._txt.selectable = false;

this._fmt = new TextFormat();

this._fmt.bold = true;

this._fmt.font = "_sans";

this._fmt.align = "center";

this._fmt.color = this.text_color;

this._txt.setTextFormat(this._fmt);

var _l3 = this.findWidestWord(text);

_level0.TE = _level0.TE + ("\n\nWIDEST: " + _l3._str);

var _l2 = this.getMaxFs(_l3._str, 100);

_level0.TE = _level0.TE + ("\nmax_fs: " + _l2);

this.fitText(110, 110, _l2, 7);

};

img_mc.fitText = function (max_w, max_h, max_fs, min_fs)

{

var _l8 = this.max_h = max_h;

this.max_h = this.max_h - 5;

_level0.TE = _level0.TE + ("\nFITTING " + this._txt + "\nmax_w: " + max_w + " max_h: " + max_h + " max_fs: " + max_fs + " min_fs: " + min_fs);

var _l2 = new Number();

var _l3 = 1;

this._txt.multiline = true;

this._txt.wordWrap = true;

this._fmt.align = "center";

this._fmt.bold = true;

this._fmt.font = "_sans";

this._txt._width = max_w;

this._fmt.size = max_fs;

_level0.TE = _level0.TE + ("\n JUST SET FMT SIZE TO: " + this._fmt.size);

this._txt.setTextFormat(this._fmt);

this._txt._height = this._txt.textHeight;

_l2 = this._txt.textHeight / this.max_h;

_level0.TE = _level0.TE + ("\n JUST SET FTO: " + _l2 + " this._txt.textHeight: " + this._txt.textHeight + " this.max_h: " + this.max_h);

do

{

_l3++;

_l2 = this._txt.textHeight / this.max_h;

this._fmt.size = this._fmt.size - Math.ceil(_l2);

_level0.TE = _level0.TE + ("\nOFS: " + this._fmt.size + "min: " + min_fs);

this._txt.setTextFormat(this._fmt);

this._txt._height = this._txt.textHeight + 5;

this._txt._width = max_w;

} while (this._txt.textHeight > this.max_h && _l3 < 1000)

_level0.TE = "this._fmt.size: " + this._fmt.size + " min_fs: " + min_fs;

if (this._fmt.size < min_fs)

{

this._fmt.size = min_fs;

this._txt.setTextFormat(this._fmt);

this._txt._height = this._txt.textHeight + 5 > max_h ? (max_h) : (this._txt.textHeight + 5);

this._txt._width = max_w;

_level0.TE = _level0.TE + ("this._fmt.size: " + this._fmt.size + " min_fs: " + min_fs);

}

else

{

this._txt._height = this._txt.textHeight + 10;

} // end if

this._txt._y = (this.back_mc._height - this._txt._height) / 2;

this._txt._x = (this.back_mc._width - this._txt._width) / 2;

};

img_mc.getMaxFs = function (_str, _w)

{

this.createTextField("_txt1", 500, 0, 0, _w, _w);

_txt1 = this._txt1;

_txt1.multiline = true;

_txt1.text = _str;

_txt1.width = _w;

var _l2 = new TextFormat();

_l2.size = _w;

_l2.align = "center";

_l2.bold = true;

_l2.font = "_sans";

_txt1.setTextFormat(_l2);

_txt1.width = _w;

_txt1.height = _w;

var _l3 = 1;

while (_txt1.maxhscroll > 1 && _l3 < 1000)

{

_l2.size--;

_txt1._width = _w;

_txt1.setTextFormat(_l2);

_l3++;

} // end while

_txt1.removeTextField();

return (_l2.size);

};

img_mc.findWidestWord = function (text)

{

var _l2 = {l: -1, _str: -1};

var _l1 = text.split(" ");

for (var _l3 in _l1)

{

if (_l1[_l3].length > _l2.l)

{

_l2.l = _l1[_l3].length;

_l2._str = _l1[_l3];

} // end if

} // end of for...in

return (_l2);

};

img_mc.hideText = function (t)

{

var _l2 = t ? (t) : (0);

this._txt.colorTo(this.bg_color, _l2, "linear", 0, {scope: this, func: img_mc.doHide});

};

img_mc.doHide = function ()

{

this._txt._visible = false;

};

img_mc.showText = function (dur, cb)

{

_level0.OUTPUT = _level0.OUTPUT + ("\nSMART TEXT SOW TEXT, CB:" + cb);

this._txt.colorTo(this.bg_color, 0);

this._txt._visible = true;

this._txt.colorTo(this.text_color, dur * 0.500000);

if (cb)

{

this.cb = cb;

this.cb_int = setInterval(this, "callBack", dur * 1000);

} // end if

};

img_mc.callBack = function ()

{

clearInterval(this.cb_int);

_level0.OUTPUT = _level0.OUTPUT + ("\nSMART TEXT CB:" + this.cb);

this.cb();

this.cb = null;

};

img_mc.kill = function ()

{

this._txt.removeTextField();

this._fmt = null;

_level0.FET = _level0.FET + ("KILLED MYSELF, TXT: " + this._txt);

this.removeMovieClip();

};

init = function ()

{

img_mc.bg_color = Number(manager.config.backgroundColor) >= 0 ? (Number(manager.config.backgroundColor)) : (0);

img_mc.text_color = Number(manager.config.textColor) >= 0 ? (Number(manager.config.textColor)) : (16777215);

img_mc.text = text ? (text) : ("Empty text frame");

img_mc.back_mc = img_mc.makeBackground();

img_mc._txt = img_mc.makeTextField();

img_mc.setText(img_mc.text);

};

init();

return (img_mc);

} // End of the function

function InitializeFetcher(requester, is_arrange, controller)

{

var fetcher = new Object();

this.controller = controller;

fetcher.num_copies = 1;

fetcher.buff_count = 3;

fetcher.requester = requester;

fetcher.item_array = new Array();

fetcher.to_reuse_array = new Array();

fetcher.in_use_mc_array = new Array();

fetcher.recipient_mc = transition_mc;

fetcher.total_loaded = 0;

fetcher.missing_flag = false;

fetcher.number_consecutive_missing = false;

fetcher.total_bad = 0;

fetcher.first_missing_url = new String();

fetcher.is_arrange = is_arrange;

fetcher.recycleItem = function (item_mc)

{

if (item_mc)

{

item_mc._x = item_mc._y = 0;

item_mc._xscale = item_mc._yscale = 100;

item_mc._alpha = 100;

if (item_mc.meta.item_type == "text")

{

item_mc.smart_text.kill();

item_mc.smart_text.removeMovieClip();

} // end if

if (item_mc.meta.item_type == "text")

{

item_mc.smart_text.kill();

item_mc.smart_text.removeMovieClip();

} // end if

for (var _l3 in item_mc.image_array)

{

item_mc.image_array[_l3].removeMovieClip();

} // end of for...in

item_mc.images_mc.removeMovieClip();

item_mc.meta = 0;

this.to_reuse_array.push(item_mc);

} // end if

};

fetcher.setMouseActions = function (item_mc)

{

if (!controller.no_ct)

{

item_mc.onRelease = function ()

{

controller.itemReleased(this);

};

item_mc.onRollOver = function ()

{

this._alpha = 50;

controller.itemRolledOver(this);

};

item_mc.onRollOut = item_mc.onReleaseOutside = item_mc.onDragOut = function ()

{

this._alpha = 100;

controller.itemRolledOut(this);

};

}

else

{

item_mc.useHandCursor = false;

} // end if

};

fetcher.getNextTarget = function ()

{

if (this.to_reuse_array.length)

{

var _l2 = this.to_reuse_array.shift();

}

else

{

var _l3 = this.item_array.length;

_l2 = this.recipient_mc.createEmptyMovieClip("item" + _l3 + "_mc", _l3);

this.item_array.push(_l2);

} // end if

images_mc = _l2.createEmptyMovieClip("images_mc", 0);

_l2.image_array = new Array();

_l2._visible = false;

trace ("NUM ITEMS: " + this.item_array.length);

return (_l2);

};

fetcher.onImage = function ()

{

fetcher.loadNextItem();

};

fetcher.loadNextItem = function ()

{

this.num_loaded++;

if (this.num_loaded < this.num_copies)

{

var _l3 = this.item_mc.images_mc.createEmptyMovieClip("img" + this.num_loaded + "_mc", this.num_loaded);

var _l4 = _l3.createEmptyMovieClip("real_img" + this.num_loaded + "_mc", this.num_loaded);

this.item_mc.image_array.push(_l3);

var _l2 = this.item_mc.meta.item_img_url;

PUSHER = "requesting: " + _l2;

this.loadImage(_l4, _l2, this.onImage);

}

else

{

this.callback(this.item_mc);

} // end if

};

fetcher.loadImage = function (img_mc, img_url, callback)

{

var _l3 = new MovieClipLoader();

var _l2 = new Object();

_l2.par = img_mc._parent;

_l2.item_listener.callback = callback;

_l3.addListener(_l2);

_l2.onLoadError = function (target_mc)

{

fetcher.onLoadItemError(target_mc, callback, this.par, 1);

};

target_mc.onLoadInit = function (target_mc)

{

target_mc._parent._parent._parent.filters = null;

target_mc._parent._parent._parent.filters = filterArray;

if (fetcher.total_loaded == 0)

{

fetcher.broadcastMessage("onFirstImage");

} // end if

fetcher.missing_flag = false;

fetcher.total_loaded++;

if (target_mc._width <= 1)

{

fetcher.onLoadItemError(target_mc, callback, this.par, 2);

}

else

{

callback(target_mc._parent._parent._parent);

} // end if

};

_l3.loadClip(img_url, img_mc);

};

fetcher.getNextItem = function (callback, num_copies)

{

if (this.requester.getLength() != 0 && this.item_array.length < 100)

{

this.num_copies = num_copies ? (num_copies) : (1);

this.callback = callback;

this.item_mc = this.getNextTarget();

this.item_mc.meta = this.requester.getNextItem();

this.item_mc.nc = num_copies;

this.item_mc.cb = callback;

this.num_loaded = -1;

this.setMouseActions(this.item_mc);

if (this.item_mc.meta.item_img_url && this.item_mc.meta.item_img_url != "")

{

this.loadNextItem(callback, target_mc);

this.item_mc.meta.item_type = "image";

this.item_mc.meta.has_mouse = true;

}

else

{

this.makeTextItem(this.callback, this.item_mc);

} // end if

} // end if

};

fetcher.makeTextItem = function (callback, target_mc)

{

this.item_mc.smart_text = newSmartText(target_mc.images_mc, controller, target_mc.meta.description);

this.item_mc.meta.item_type = "text";

this.item_mc.meta.has_mouse = false;

this.item_mc.image_array.push(this.item_mc.smart_text);

fetcher.broadcastMessage("onFirstImage");

this.callback(this.item_mc);

};

fetcher.onLoadItemError = function (target_mc, callback, par, errtype)

{

fetcher.total_bad++;

var _l2 = par._parent._parent;

var _l3 = _l2.cb;

var _l4 = _l2.nc;

var _l5 = _l2.meta.item_img_url;

var _l6 = _l2.meta;

if (errtype == 2)

{

warn_mc = this.makeColoredSquare(par);

_l2.meta.has_mouse = true;

_l2.useHandCursor = true;

if (controller.config.help_url)

{

_l2.meta.target_url = controller.config.help_url;

_l2.useHandCursor = true;

_l2.onRelease = function ()

{

controller.itemReleased(this);

};

} // end if

callback(_l2);

}

else if (errtype == 1)

{

fetcher.recycleItem(_l2);

this.requester.badItem(_l6);

if (fetcher.missing_flag == false)

{

fetcher.missing_flag = true;

fetcher.number_consecutive_missing = 1;

fetcher.first_missing_url = _l5;

fetcher.getNextItem(_l3, _l4);

}

else if (fetcher.missing_flag == true)

{

fetcher.number_consecutive_missing = 1;

if (fetcher.number_consecutive_missing > 1000)

{

fetcher.broadcastMessage("onNoImagesFound");

}

else

{

fetcher.getNextItem(_l3, _l4);

} // end if

} // end if

} // end if

};

fetcher.setNumCopies = function (num_copies)

{

this.numCopies = num_copies;

return (this.num_copies());

};

fetcher.makeColoredSquare = function (par)

{

color_collection_array = [[16672257, 16694565], [96775, 8179970], [11338880, 16086981], [26215, 1472433], [22199, 7509716]];

fillType = "linear";

colors = color_collection_array[Math.round(Math.random() * (color_collection_array.length - 1))];

alphas = [100, 100];

ratios = [0, 255];

matrix = {matrixType: "box", x: 0, y: 0, w: 120, h: 120, r: (Math.random() * 30 - 15) / 180 * 3.141593};

var _l1 = par.createEmptyMovieClip("warn_mc", par.getNextHighestDepth());

_l1.lineStyle(1, 6710886, 0);

_l1.moveTo(0, 0);

_l1.beginGradientFill(fillType, colors, alphas, ratios, matrix);

_l1.lineTo(0, 100);

_l1.lineTo(100, 100);

_l1.lineTo(100, 0);

_l1.lineTo(0, 0);

_l1.endFill();

par._x = par._y = 0;

_l1._x = _l1._y = 1;

var _l2 = new TextFormat();

_l2.align = "center";

_l2.font = "_sans";

_l2.color = 16777215;

_l2.leftMargin = _l2.rightMargin = 10;

_l2.size = 7;

_l2.bold = false;

_l1.createTextField("warn_txt", 0, 0, 0, 100, 100);

warn_txt = _l1.warn_txt;

warn_txt.background = false;

warn_txt.selectable = false;

warn_txt.enabled = false;

warn_txt.backgroundColor = 3355443;

warn_txt.multiline = true;

warn_txt.wordWrap = true;

var _l4 = "If you have trouble\nseeing photos\nCLICK HERE";

warn_txt.text = _l4;

warn_txt.setTextFormat(_l2);

return (_l1);

};

fetcher.setRecipient = function (recipient_mc)

{

trace ("SETTING RECIPIENT TO: " + recipient_mc);

if (recipient_mc)

{

this.recipient_mc = recipient_mc;

} // end if

};

return (fetcher);

} // End of the function

function InitializeRequester(init_callback, root_url, channel_id)

{

var requester = new Object();

AsBroadcaster.initialize(requester);

requester.addListener(preloader_mc);

requester.batch = 0;

requester.url = "http://" + root_url + "/accept/application/x-xmljson/channel/" + channel_id + "/shortconfig/1";

_level0.OUTPUT = requester.url;

CMP = CMP + ("\nREQUEST URL: \n" + requester.url);

requester.more = "http://" + root_url + "/accept/application/x-xmljson/channel/" + channel_id + "/moreitems?batch=;

requester.item_array = new Array();

requester.index = 0;

requester.pending = false;

requester.no_more = false;

requester.threshold = 10;

requester.init_callback = init_callback;

requester.parseLocalItems = function (text)

{

_level0.OUTPUT = _level0.OUTPUT + "\nPARSING LOCAL";

var _l2 = new XML();

_l2.parseXML(text);

var _l3 = convertPlistGeneric(_l2.firstChild);

this.processMarkup(_l3);

};

requester.requestData = function ()

{

var _l2 = new XML();

_l2.onLoad = this.loadData;

_l2.load(this.url);

};

requester.requestMore = function ()

{

if (this.pending == false && this.no_more == false)

{

this.pending = true;

var _l2 = new XML();

requester.batch++;

var _l3 = requester.more + requester.batch;

_l2.onLoad = this.loadData;

_l2.load(_l3);

} // end if

};

requester.loadData = function (loaded)

{

var _l3 = 0;

var _l4 = 0;

var _l2 = 0;

if (loaded)

{

_l2 = convertPlistGeneric(this.firstChild);

} // end if

if (_l2)

{

requester.processMarkup(_l2);

}

else

{

requester.broadcastMessage("onZeroItems");

} // end if

};

requester.processMarkup = function (full_dict)

{

var _l3 = full_dict.items;

var _l2 = 0;

while (_l2 < _l3.length)

{

_l3[_l2].uid = _l2;

_l2++;

} // end while

tickerconf_dict = full_dict.tickerconf;

globalconf_dict = full_dict.globalconf;

this.pending = false;

this.clearItems();

this.populate(_l3);

if (requester.init_callback)

{

for (var _l2 in globalconf_dict)

{

tickerconf_dict[_l2] = globalconf_dict[_l2];

} // end of for...in

this.init_callback(tickerconf_dict, true);

this.init_callback = 0;

} // end if

};

requester.clearItems = function ()

{

this.item_array.splice(0);

this.index = 0;

};

requester.populate = function (array)

{

if (array.length == 0)

{

this.no_more = true;

}

else

{

var _l2 = 0;

while (_l2 < array.length)

{

this.item_array.push(array[_l2]);

_l2++;

} // end while

} // end if

};

requester.getNextItem = function ()

{

if (this.index >= this.item_array.length)

{

this.index = 0;

} // end if

return (this.item_array[this.index++]);

};

requester.badItem = function (meta)

{

var _l2 = 0;

while (_l2 < this.item_array.length)

{

if (meta.item_img_url == this.item_array[_l2].item_img_url)

{

this.item_array.splice(_l2, 1);

BADITEM = BADITEM + "\nfound a bad one\n";

BADITEM = BADITEM + meta.item_img_url;

if (this.item_array.length < 1)

{

requester.broadcastMessage("onNoImagesFound");

} // end if

break;

} // end if

_l2++;

} // end while

};

requester.getLength = function ()

{

return (this.item_array.length);

};

requester.restartCount = function ()

{

this.index = 0;

};

requester.getItemDict = function (start, end)

{

var _l5 = start ? (start) : (0);

var _l3 = end ? (end) : (this.item_array.length);

_l3 = Math.min(_l3, this.item_array.length);

var _l4 = new Array();

var _l2 = _l5;

while (_l2 < _l3)

{

_l4.push(this.item_array[_l2]);

_l2++;

} // end while

return (_l4);

};

requester.shuffle = function ()

{

var _l5 = this.item_array.length;

var _l2 = 0;

while (_l2 < _l5)

{

var _l3 = Math.floor(Math.random() * _l5);

var _l4 = this.item_array[_l2];

this.item_array[_l2] = this.item_array[_l3];

this.item_array[_l3] = _l4;

_l2++;

} // end while

};

return (requester);

} // End of the function

this.preloader_mc._visible = false;

var SEPARATION = 2;

var UNLOADED = 0;

var ERROR = -1;

var LOADED_NOT_DISPLAYED = 2;

var DISPLAYED = 3;

var HARD = 0;

var SOFT = 1;

var LEFT_LIMIT = 0;

var MAX_RETRIES = 3;

var TIMEOUT = 75;

var TICKER_HEIGHT = 0;

var TICKER_WIDTH = 0;

var SW = Stage.width;

var SH = Stage.height;

var BLACK = 1;

var PINK = 2;

var BLUE = 3;

var ORANGE = 4;

var AQUA = 5;

var MULTIPLE_FLAME = 1;

var SINGLE_FLAME = 2;

XML.prototype.ignoreWhite = true;

var SLIDE = 1;

var MYSPACE = 2;

var FRAPPR = 3;

var D_SPEED = 2;

var D_TEXT_SIZE = 2;

var D_BACKGROUND_COLOR = 0;

var D_TEXT_COLOR = 16777215;

var D_TRANSITION = 1;

var D_CHANNEL = "4524923";

var D_SITE = "widget.slide.com";

var LOADING = 1;

var ERROR = 2;

var BLANK = 3;

this.embedFonts = true;

var convertPlistGeneric = function (node)

{

switch (node.nodeName.toLowerCase())

{

case "dict":

{

return (convertPlistDict(node));

break;

}

case "array":

{

return (convertPlistArray(node));

break;

}

case "string":

{

return (convertPlistString(node));

break;

}

case "integer":

{

return (convertPlistInteger(node));

break;

}

case "integer":

{

return (convertPlistReal(node));

break;

}

case "true":

{

return (true);

break;

}

case "false":

{

return (false);

break;

}

case "null":

{

return (null);

break;

}

case "s":

{

return (convertPlistItem(node));

}

default:

{

trace ("CRACK:" + node.nodeName);

}

} // End of switch

};

var convertPlistDict = function (plist)

{

var _l5 = {};

var _l1 = 0;

while (_l1 < plist.childNodes.length)

{

var _l3 = plist.childNodes[_l1].childNodes[0].nodeValue;

var _l2 = plist.childNodes[_l1 + 1];

_l5[_l3] = convertPlistGeneric(_l2);

_l1 = _l1 + 2;

} // end while

return (_l5);

};

var convertNodeNameToKey = function (node)

{

var _l1 = node.nodeName.toLowerCase();

switch (_l1)

{

case "d":

{

return ("description");

}

case "t":

{

return ("target_url");

}

case "i":

{

return ("item_img_url");

}

case "f":

{

return ("fallback_img_url");

}

} // End of switch

trace ("unknown key [" + _l1 + ]");

return (_l1);

};

var convertPlistItem = function (plist)

{

var _l5 = {};

var _l1 = 0;

while (_l1 < plist.childNodes.length)

{

var _l3 = convertNodeNameToKey(plist.childNodes[_l1]);

var _l2 = plist.childNodes[_l1].childNodes[0].nodeValue;

_l5[_l3] = _l2;

_l1++;

} // end while

return (_l5);

};

var convertPlistArray = function (node)

{

var _l3 = [];

var _l1 = 0;

while (_l1 < node.childNodes.length)

{

_l3.push(convertPlistGeneric(node.childNodes[_l1]));

_l1++;

} // end while

return (_l3);

};

var convertPlistString = function (node)

{

return (node.childNodes[0].nodeValue);

};

var convertPlistInteger = function (node)

{

return (parseInt(node.childNodes[0].nodeValue));

};

var convertPlistReal = function (node)

{

return (parseFloat(node.childNodes[0].nodeValue));

};

VERSION = "9";

Stage.align = "TL";

Stage.scaleMode = "noScale";

cache_killer = Math.random();

preloader_mc._visible = false;

loadbar_mc._visible = false;

notice_mc._visible = false;

fantab_mc._visible = false;

_level0.BUGME = _level0.BUGME + "nHELLO";

debug = function (thing, pre)

{

var _l1 = pre ? (pre) : ("");

for (i in thing)

{

HELP = HELP + ("\n" + (_l1 + i + ":" + thing));

if (typeof(thing) == "object" || typeof(thing) == "movieclip")

{

_l1 = _l1 + "\t";

debug(thing, _l1);

_l1 = _l1.substring(1);

} // end if

} // end of for...in

};

var stage_listener_mc = _level0.createEmptyMovieClip("stage_listener_mc", _level0.getNextHighestDepth());

Stage.addListener(stage_listener_mc);

stage_listener_mc.onResize = stage_listener_mc.onEnterFrame = function ()

{

BADITEM = Stage.width + " x " + Stage.height;

if (Stage.width > 1 && Stage.height > 1)

{

Stage.align = "TL";

Stage.scaleMode = "noScale";

delete this.onEnterFrame;

Stage.removeListener(this);

controller.initialize(this._parent);

} // end if

};

preloader_mc.initialize = function ()

{

this._x = Stage.width / 2;

this._y = Stage.height / 2;

this.setState(LOADING);

this._visible = true;

};

preloader_mc.setState = function (state)

{

switch (state)

{

case LOADING:

{

this.gotoAndStop("loading");

break;

}

case ERROR:

{

this.gotoAndStop("error");

loadbar_mc.kill();

break;

}

case BLANK:

{

this.gotoAndStop("blank");

loadbar_mc.kill();

break;

}

case 666:

{

this.swapDepths(_level0.getNextHighestDepth());

loadbar_mc.kill();

this.gotoAndStop("zero");

break;

}

} // End of switch

};

preloader_mc.onFirstImage = function ()

{

this.setState(BLANK);

};

preloader_mc.onXMLError = function ()

{

BADITEM = BADITEM + "\nPRELOADER LISTENED";

this.setState(ERROR);

};

preloader_mc.onZeroItems = preloader_mc.onNoImagesFound = function ()

{

this.setState(666);

};

loadbar_mc.init = function ()

{

this._x = Stage.width / 2;

this._y = Stage.height / 2;

this._xscale = this._yscale = Math.max(controller.SW / this._width, controller.SH / this._height) * 66;

while (this._width > controller.SW * 0.660000 || this._y + this._height > controller.SH)

{

this._xscale--;

this._yscale = this._xscale;

this._x = Stage.width / 2;

this._y = Stage.height / 2;

} // end while

this.p = 0;

this.onEnterFrame = function ()

{

this.bar_mc._xscale = this.p;

this.percent = Math.floor(this.p) + "%";

this.p = this.p + (100 - this.p) / 75;

};

this._visible = true;

};

loadbar_mc.fill = function ()

{

this.p = 100;

this.bar_mc._xscale = this.p;

this.percent = Math.floor(this.p) + "%";

this.onEnterFrame = function ()

{

};

};

loadbar_mc.kill = function ()

{

this.onEnterFrame = function ()

{

};

this._visible = false;

};

mask_mc.init = function (controller, x0, y0)

{

this._x = x0;

this._y = y0;

this._width = controller.SW;

this._height = controller.SH;

RAT = RAT + ("\nMASK X" + x0 + "y: " + y0);

};

var controller = new Object();

var itemXML = "empty";

var configXML = "empty";

var transition_mc = this.createEmptyMovieClip("transition_mc", this.getNextHighestDepth());

controller.initialize = function (mc)

{

this.mc = mc;

this.getFlashVars();

this.ad_height = 18;

this.ad_width = 100;

this.ad_align = "BL";

this.real_SW = Stage.width;

this.real_SH = Stage.height;

this.SW = Stage.width;

this.SH = Stage.height;

this.VERTICAL = Stage.width < Stage.height;

this.log_load = false;

this.log_run = false;

loadbar_mc.init();

notice_mc.init();

this.player_version = this.config.player_version = Number(this.getPlayerVersion());

if (Number(_root.fp) == 9)

{

this.player_version = this.config.player_version = 9;

} // end if

this.ticker_kind = this.getKind();

this.getURLs();

this.requester = InitializeRequester(controller.wrapUp, this.site, this.channel);

if (this.is_arrange)

{

this.log = function ()

{

};

var _l3 = _root.myItems;

var _l5 = _l3.split("-|-|-");

_l3 = _l5.join("&");

var _l6 = _root.myConfig;

controller.requester.parseLocalItems(_l3);

var _l4 = new XML();

_l4.parseXML(_l6);

var _l7 = convertPlistGeneric(_l4.firstChild);

this.updateConfig(_l7);

controller.CaptionFx();

}

else

{

preloader_mc.initialize();

this.requester.requestData();

} // end if

this.onFirstImage = function ()

{

_level0.AUDIO = _level0.AUDIO + "\nCONTROLLER ON FIRST IMAGE";

};

};

notice_mc.init = function ()

{

this.o_depth = this.getDepth();

this._visible = this.enabled = false;

var _l2 = 0.800000;

var _l3 = this._width / this._height;

if (controller.SW / controller.SH > _l3)

{

this._width = controller.SH * _l3 * _l2;

this._height = controller.SH * _l2;

}

else

{

this._height = controller.SW * _l2 / _l3;

this._width = controller.SW * _l2;

} // end if

if (this._height > 104)

{

this._height = 104;

this._width = 104 * _l3;

} // end if

this._x = (controller.SW - this._width) / 2;

this._y = (controller.SH - this._height) / 2;

this.showNotice = function ()

{

this.swapDepths(this._parent.getNextHighestDepth());

clearInterval(this.notice_interval);

this.enabled = true;

this.stopTween();

this._visible = true;

this.enabled = true;

this.alphaTo(100, 0.500000);

this.notice_interval = setInterval(this, "hideNotice", 5000);

};

this.hideNotice = function ()

{

clearInterval(this.notice_interval);

this.enabled = false;

this.stopTween();

this.alphaTo(30, 1, "linear", 0, {scope: this, func: this.removeNotice});

};

this.removeNotice = function ()

{

this._visible = false;

this.enabled = false;

this.swapDepths(-754);

};

this.onRelease = function ()

{

this.hideNotice();

};

};

controller.setPadding = function ()

{

if (!this.hide_bottom_ad)

{

switch (this.ad_align)

{

case "TL":

{

break;

}

case "TR":

{

break;

}

case "BL":

{

this.real_SH = this.SH;

if (!this.hide_tabs)

{

this.SH = this.SH - this.ad_height;

} // end if

break;

}

case "BR":

{

break;

}

case "CC":

{

break;

}

default:

{

this.real_SH = this.SH;

if (!this.hide_tabs)

{

this.SH = this.SH - this.ad_height;

} // end if

}

} // End of switch

} // end if

BADITEM = BADITEM + ("\nSETTING PADDING: " + this.real_SW + ":" + this.SW);

};

controller.getFlashVars = function ()

{

this.getSite();

this.channel = D_CHANNEL;

if (_root.channel)

{

this.channel = _root.channel;

}

else if (_root["amp;channel"])

{

this.channel = _root["amp;channel"];

}

else if (_root["amp;amp;channel"])

{

this.channel = _root["amp;amp;channel"];

}

else if (_root["amp;amp;amp;channel"])

{

this.channel = _root["amp;amp;amp;channel"];

}

else if (_root["amp;amp;amp;amp;channel"])

{

this.channel = _root["amp;amp;amp;amp;channel"];

} // end if

HELP = this.channel + "\n" + typeof(this.channel);

this.internal = _root.internal == "true";

this.needs_add = _root.m == "1";

this.hide_bottom_ad = _root.s == "1";

this.nocache = _root.n == "1";

this.hide_caption = _root.hc ? (true) : (false);

this.ticker_kind = Number(_root.ticker_kind ? (_root.ticker_kind) : (MYSPACE));

this.gid = _root.gid;

this.browser_target = "_slide";

this.config = new Object();

this.textFX = this.config.textFX = _root.tfx ? (_root.tfx) : (0);

this.config.font = _root.ft ? (_root.ft) : (0);

_level0.TEXT = _level0.TEXT + ("\n 1 this.config.textFX: " + this.config.textFX);

this.speed = this.config.speed = Number(_root.sp ? (_root.sp) : (2));

this.goto_arrange = this.config.goto_arrange = _root.mla == "true";

this.config.textSize = Number(_root.ts ? (_root.ts) : (D_TEXT_SIZE));

this.config.backgroundColor = Number(_root.bc ? (_root.bc) : (D_BACKGROUND_COLOR));

this.config.textColor = Number(_root.tc ? (_root.tc) : (D_TEXT_COLOR));

this.transition = this.config.transition = Number(_root.tt ? (_root.tt) : (D_TRANSITION));

this.config.ad_click = "http://" + this.site + "/arrange";

this.config.help_url = _root.help_url;

this.is_arrange = _root.arrange == "true";

this.no_ct = this.is_arrange || _root.nc == "true";

this.no_notice = _root.nc == "true";

this.theme = this.config.theme = _root.th ? (_root.th) : (0);

this.cl = this.config.cl = _root.cl ? (_root.cl) : (null);

this.config.red_alert = _root.nt ? (true) : (false);

this.config.red_alert_message = _root.nt ? (_root.nt) : ("Visit slide.com");

this.config.red_alert_link = _root.nu ? (_root.nu) : ("http://www.slide.com");

this.themeColor = this.config.themeColor = Number(_root.thc ? (_root.thc) : (-1));

this.chromeColor = this.config.chromeColor = Number(_root.chc ? (_root.chc) : (-1));

this.hide_tabs = this.config.hide_tabs = true;

};

controller.updateConfig = function (dict)

{

trace ("!!!!!!!!!!!!!!!!!!!!");

THC = "UPD";

for (i in dict)

{

this.config = dict;

} // end of for...in

_level0.OUTPUT = _level0.OUTPUT + ("\n***************** SHUFFLE IS : " + this.config.shuffle);

_level0.OUTPUT = _level0.OUTPUT + ("\n+++++++++++ NUM ITEMS : " + this.requester.getLength());

if (this.requester.getLength() < 1)

{

_level0.OUTPUT = _level0.OUTPUT + "\nWILL CALL XERO";

preloader_mc.onZeroItems();

} // end if

if (this.config.shuffle)

{

_level0.OUTPUT = _level0.OUTPUT + "^^^^^^^^^^^^^^^WILL SUFFFFFLLLLEEEE~!";

this.shuffleItems();

} // end if

if (_root.tt)

{

this.config.transition = Number(_root.tt);

} // end if

if (_root.sp)

{

this.speed = Number(_root.sp);

} // end if

if (_root.ad_type)

{

this.ad_type = this.config.ad_type = _root.ad_type;

} // end if

if (_root.s)

{

this.hide_bottom_ad = _root.s == "1";

} // end if

if (_root.clear)

{

this.cl = this.config.cl = _root.cl;

} // end if

if (_root.cy)

{

this.cy = this.config.cy = _root.cy;

} // end if

if (_root.th)

{

this.theme = this.config.theme = _root.th;

} // end if

if (_root.thc)

{

this.themeColor = this.config.themeColor = Number(_root.thc);

} // end if

if (_root.chc)

{

this.chromeColor = this.config.chromeColor = Number(_root.chc);

} // end if

if (_root.ft)

{

this.font = this.config.font = Number(_root.ft);

} // end if

if (_root.tfx)

{

this.textFX = this.config.textFX = Number(_root.tfx);

} // end if

this.hide_bottom_ad = _root.s == "1";

_level0.THC = _level0.THC + ("\nthemeColor: " + this.config.themeColor + " chromeColor: " + this.config.chromeColor);

_level0.TEXT = _level0.TEXT + ("\n 2 this.config.textFX: " + this.config.textFX);

if (Number(_root.il) == 1)

{

this.il = this.config.il = _root.il;

} // end if

this.config.ad_click = this.config.ad_click + "&ver=" + VERSION + "&tt=" + tickerconf_dict.transition;

this.config.log_url = this.config.log_url + "&ver=" + VERSION + "&tt=" + tickerconf_dict.transition;

if (this.config.friend_url)

{

this.config.log_url = this.config.log_url + "&fr=true";

this.config.ad_click = this.config.ad_click + "&fr=true";

} // end if

if (_root.s == "1" || _root.arrange == "true" || _root.internal == "true" || _root.il == "1")

{

this.config.log_url = this.config.log_url + "&internal=true";

this.config.ad_click = this.config.ad_click + "&internal=true";

} // end if

if (_root.cy)

{

this.config.log_url = this.config.log_url + ("&cy=" + _root.cy);

this.config.ad_click = this.config.ad_click + ("&cy=" + _root.cy);

} // end if

if (this.player_version)

{

this.config.log_url = this.config.log_url + ("&pv=" + this.player_version);

this.config.ad_click = this.config.ad_click + ("&pv=" + this.player_version);

} // end if

this.hide_tabs = this.config.hide_tabs = true;

this.config.red_alert = this.config.red_alert_message.length;

this.myspace9 = this.config.myspace9 = this.cy == "ms" && Number(this.player_version) == 9;

this.constrainStage();

this.setPadding();

this.maskInit(this.tx, this.ty);

};

controller.constrainStage = function ()

{

RAT = "TRANS: " + this.config.transition + "\nSW" + this.SW;

var _l2 = this.config.transition == 0 || this.config.transition == 14 ? (100) : (1.550000);

if (this.config.transition != 0)

{

this.SH = Math.min(this.SH, Stage.height);

this.SW = Math.min(this.SW, Stage.width);

}

else

{

this.SH = Stage.height;

this.SW = Stage.width;

} // end if

var _l3 = Math.max(this.SW, this.SH) / Math.min(this.SW, this.SH);

if (_l3 > _l2)

{

if (this.SW > this.SH)

{

RAT = RAT + "YES IT DOES WIDITHIFI\n";

this.SW = this.SH * _l2;

}

else

{

RAT = RAT + "YES IT DOES HEIGHTIFY\n";

this.SH = this.SW * _l2;

} // end if

} // end if

this.config.tx = this.tx = transition_mc._x = (Stage.width - this.SW) / 2;

this.config.ty = this.ty = transition_mc._y = (Stage.height - this.SH) / 2;

};

controller.getPlayerVersion = function ()

{

var _l1 = System.capabilities.version;

var _l3 = _l1.indexOf(" ");

var _l2 = _l1.substr(_l3 + 1, 1);

return (Number(_l2));

};

controller.getKind = function ()

{

if (this.site.indexOf("planzo") >= 0)

{

return (FRAPPR);

}

else

{

return (MYSPACE);

} // end if

};

controller.getSite = function ()

{

this.site = D_SITE;

this.swfbase = "";

if (_root._url)

{

var _l3 = _root._url.split("/");

if (_root._url.lastIndexOf("file:") == -1)

{

this.site = _l3[2];

} // end if

_l3.pop();

this.logbase = this.swfbase = _l3.join("/") + "/";

this.config.swfbase = this.swfbase = this.swfbase + ("ver" + VERSION + "/");

trace ("SWFBASE " + this.swfbase);

} // end if

};

controller.getURLs = function ()

{

var _l4 = this.site;

var _l3 = this.config.ticker_kind;

switch (_l3)

{

case FRAPPR:

{

this.channel = this.gid;

XML.prototype.ignoreWhite = true;

this.config.log_url = "http://widget.slide.com/slide_ticker_log?channel=" + _root.channel;

this.config.ad_click = "http://www.slide.com/main/arrange?ver=3&error=true";

break;

}

default:

{

this.config.log_url = "http://" + this.site + "/slide_ticker_log?channel=" + _root.channel;

trace ("LOG URL::::: " + this.config.log_url);

this.config.ad_click = "http://www.slide.com/main/arrange?ver=3&error=true";

break;

}

} // End of switch

};

controller.setTransition = function (transition)

{

this.transition = transition;

};

controller.wrapUp = function (config_dict, loaded)

{

if (loaded)

{

controller.startUp(config_dict);

}

else

{

preloader_mc.setState(ERROR);

} // end if

};

controller.getTheme = function ()

{

switch (Number(this.config.theme))

{

case 0:

{

return (null);

}

case 1:

{

return (this.swfbase + "t_hearts.swf");

}

case 2:

{

return (this.swfbase + "t_star.swf");

}

case 3:

{

return (this.swfbase + "t_bubbles.swf");

}

case 4:

{

return (this.swfbase + "t_bling.swf");

}

case 5:

{

return (this.swfbase + "t_girl.swf");

}

case 6:

{

return (this.swfbase + "t_6.swf");

}

case 7:

{

return (this.swfbase + "t_7.swf");

}

case 8:

{

return (this.swfbase + "t_8.swf");

}

} // End of switch

return (this.swfbase + "t_" + this.config.theme + ".swf");

};

controller.getTransition = function ()

{

trace ("GETTING TRANSITION WITH BASE: " + this.swfbase);

switch (this.config.transition)

{

case 0:

{

return (this.swfbase + "slide.swf");

}

case 1:

{

return (this.swfbase + "fading.swf");

}

case 2:

{

return (this.swfbase + "pushing.swf");

}

case 3:

{

return (this.swfbase + "bounce.swf");

}

case 4:

{

return (this.swfbase + "crusher.swf");

}

case 5:

{

return (this.swfbase + "spinner.swf");

}

case 6:

{

return (this.swfbase + "t007.swf");

}

case 7:

{

return (this.swfbase + "fire.swf");

}

case 8:

{

return (this.swfbase + "ripple.swf");

}

case 9:

{

return (this.swfbase + "shatter.swf");

}

case 10:

{

return (this.swfbase + "bullet.swf");

}

case 11:

{

return (this.swfbase + "glass.swf");

}

case 12:

{

return (this.swfbase + "spotlight.swf");

}

case 13:

{

return (this.swfbase + "swirl.swf");

}

case 14:

{

return (this.swfbase + "zeit.swf");

}

case 15:

{

return (this.swfbase + "star.swf");

}

case 16:

{

return (this.swfbase + "desk.swf");

}

case 17:

{

return (this.swfbase + "gallery.swf");

}

case 18:

{

return (this.swfbase + "videogallery.swf" + "?nc=" + Math.random());

}

case 19:

{

return (this.swfbase + "scrap.swf" + "?nc=" + Math.random());

}

case 20:

{

return (this.swfbase + "warp.swf");

}

} // End of switch

return (this.swfbase + "sample.swf");

};

controller.log = function (phase)

{

_level0.LOGFOO = _level0.LOGFOO + ("\nLOGGING: " + this.config.log_url + "" + phase);

var _l2 = new XML();

_l2.onLoad = controller.loadFavXML;

_l2.load(this.config.log_url + phase);

};

controller.logLoad = function ()

{

if (this.log_load == false)

{

this.log("&p=load");

} // end if

this.log_load = true;

};

controller.logRun = function ()

{

if (this.log_run == false)

{

this.log("&p=run");

} // end if

this.log_run = true;

};

controller.loadFavXML = function (loaded)

{

CMP = CMP + "\nLOADED FAVORITE, ";

if (loaded)

{

var _l2 = convertPlistGeneric(this.firstChild);

controller.config.add_favorite = _l2.add_favorite;

CMP = CMP + ("\nREALLY LOADED" + _l2.add_favorite);

} // end if

};

controller.startUp = function (config_dict)

{

this.updateConfig(config_dict);

this.logLoad();

this.fetcher = InitializeFetcher(this.requester, this.is_arrange, this);

AsBroadcaster.initialize(this.fetcher);

this.fetcher.addListener(preloader_mc);

this.fetcher.addListener(this);

if (!this.is_arrange)

{

controller.CaptionFx();

} // end if

};

controller.loadTransition = function ()

{

var _l4 = this.getTransition();

var _l3 = new MovieClipLoader();

transition_listener = new Object();

transition_listener.controller = this;

_l3.addListener(transition_listener);

transition_listener.onLoadError = function ()

{

preloader_mc.setState(ERROR);

};

transition_listener.onLoadInit = function (target_mc)

{

target_mc.initialize(this.controller);

target_mc.setMask(mask_mc);

this.controller.loadTheme();

_level0.AUDIO

Link para o comentário
Compartilhar em outros sites

1 resposta a esta questão

Posts Recomendados

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,3k
    • Posts
      652,4k
×
×
  • Criar Novo...