Frame 1
stop();
caurina.transitions.properties.FilterShortcuts.init();
caurina.transitions.properties.ColorShortcuts.init();
this._lockroot = true;
Stage.scaleMode = "noScale";
Stage.align = "TL";
var XMLdaten = new XML();
XMLdaten.ignoreWhite = true;
var xml_path = xml_path;
XMLdaten.load(xml_path);
var nc = new NetConnection();
nc.connect(null);
var ns = new NetStream(nc);
pausevar = true;
hold = true;
fsvar = false;
vidplayer.smoothing = true;
var alreadyLoaded;
alreadyLoaded = false;
loader = function (path, targetMovie) {
var i = 0;
do {
i++;
} while (eval ("targetMovie.smoothImageLoadTemp" + i) != undefined);
tmc = targetMovie.createEmptyMovieClip("smoothImageLoadTemp" + i, targetMovie.getNextHighestDepth());
tmc.createEmptyMovieClip("ti", tmc.getNextHighestDepth());
tmc.tm = targetMovie;
with (tmc) {
tmcl.unloadClip();
var tmcl = new MovieClipLoader();
var tmclListener = new Object();
tmcl.addListener(tmclListener);
tmcl.onLoadComplete = function () {
caurina.transitions.Tweener.addTween(_parent._parent.videomask, {_width:_parent._parent.XMLdaten_width, time:0.7, transition:"easeInOutExpo"});
ti.onEnterFrame = function () {
pixelData = new flash.display.BitmapData(ti._width, ti._height);
pixelData.draw(ti);
tm.attachBitmap(pixelData, 1, true, true);
removeMovieClip(ti._parent);
};
};
tmcl.loadClip(path, tmc.ti);
}
};
removeCaption = function () {
caurina.transitions.Tweener.addTween(captionmc.cmask, {_x:Math.ceil(captionmc.txtmc._width) + 10, time:1, transition:"easeInOutQuint"});
caurina.transitions.Tweener.addTween(captionmc.txtmc, {_x:(-Math.ceil(captionmc.txtmc._width)) + 10, time:1, transition:"easeInOutQuint"});
};
startCaption = function () {
captionmc._alpha = 0;
captionmc.cmask._width = 0;
captionmc.cmask._x = 0;
captionmc.txtmc._x = Math.ceil(captionmc.txtmc._width) + 10;
captionmc._alpha = 100;
caurina.transitions.Tweener.addTween(captionmc.txtmc, {_x:5, time:1, transition:"easeOutQuint", delay:0.1});
caurina.transitions.Tweener.addTween(captionmc.cmask, {_width:Math.ceil(captionmc.txtmc._width) + 10, time:1, transition:"easeInOutQuint"});
};
startVideo = function () {
if (!alreadyLoaded) {
ns.play(XMLdaten_videourl);
ns.seek(0);
}
caurina.transitions.Tweener.addTween(videomask, {_width:0, time:0.7, transition:"easeInOutExpo"});
removeCaption();
alreadyLoaded = true;
};
XMLdaten.onLoad = function (success) {
if (success) {
XMLdaten_width = parseInt(XMLdaten.firstChild.attributes.width);
XMLdaten_height = parseInt(XMLdaten.firstChild.attributes.height);
XMLdaten_videourl = XMLdaten.firstChild.attributes.videourl;
XMLdaten_buffertime = parseInt(XMLdaten.firstChild.attributes.buffertime);
XMLdaten_autostart = XMLdaten.firstChild.attributes.autostart;
XMLdaten_scalemode = XMLdaten.firstChild.attributes.scalemode;
XMLdaten_videobgcolor = XMLdaten.firstChild.attributes.videobgcolor;
XMLdaten_highlightcolor = XMLdaten.firstChild.attributes.highlightcolor;
XMLdaten_previewimage = XMLdaten.firstChild.attributes.previewimage;
XMLdaten_controlshidetime = parseInt(XMLdaten.firstChild.attributes.controlshidetime);
XMLdaten_startingvolume = parseInt(XMLdaten.firstChild.attributes.startingvolume);
XMLdaten_captionfontsize = parseInt(XMLdaten.firstChild.attributes.captionfontsize);
XMLdaten_captionfontcolor = XMLdaten.firstChild.attributes.captionfontcolor;
XMLdaten_captionbgcolor = XMLdaten.firstChild.attributes.captionbgcolor;
XMLdaten_captionbgopacity = parseInt(XMLdaten.firstChild.attributes.captionbgopacity);
XMLdaten_caption = XMLdaten.firstChild.firstChild;
if (((XMLdaten_previewimage != undefined) && (XMLdaten_previewimage != "")) && (XMLdaten_autostart == "false")) {
loader(XMLdaten_previewimage, previewimage);
}
vol = XMLdaten_startingvolume;
volumevar = XMLdaten_startingvolume * 10;
xmlloaded = true;
var _local4 = new TextFormat();
_local4.size = XMLdaten_captionfontsize;
captionmc.txtmc.txt._y = captionmc.txtmc.txt._y + 1;
captionmc.txtmc.txt.autoSize = "left";
captionmc.txtmc.txt.setNewTextFormat(_local4);
captionmc.txtmc.txt.text = XMLdaten_caption;
caurina.transitions.Tweener.addTween(captionmc.txtmc, {_color:XMLdaten_captionfontcolor, time:0});
caurina.transitions.Tweener.addTween(captionmc.bg, {_color:XMLdaten_captionbgcolor, time:0});
captionmc.bg._alpha = XMLdaten_captionbgopacity;
captionmc.bg._width = Math.ceil(captionmc.txtmc._width) + 10;
captionmc.bg._height = Math.ceil(captionmc.txtmc._height) + 1;
captionmc.cmask._height = Math.ceil(captionmc.txtmc._height);
startCaption();
vidplayer._alpha = 0;
videomask._x = 0;
videomask._y = 0;
bigplaybtn._x = Math.ceil(XMLdaten_width / 2);
bigplaybtn._y = Math.ceil(XMLdaten_height / 2);
bigplaybtn._alpha = 0;
initVideo = function () {
vidplayer.attachVideo(ns);
caurina.transitions.Tweener.addTween(vidplayer, {_alpha:100, time:1, transition:"easeOutSine"});
ns.setBufferTime(XMLdaten_buffertime);
if (XMLdaten_autostart == "false") {
ns.pause();
} else if (XMLdaten_autostart == "true") {
hold = false;
pausevar = false;
container.btn_playpause.gotoAndStop(1);
caurina.transitions.Tweener.addTween(bigplaybtn, {_alpha:0, time:0.8, transition:"easeInOutExpo"});
startVideo();
}
container.videobar.time_mc.time_elapsed.text = "00:00";
container.videobar.time_mc.time_total.text = "00:00";
createEmptyMovieClip("videosound", _root.getNextHighestDepth());
videosound.attachAudio(ns);
var sound = new Sound(videosound);
sound.setVolume(volumevar);
videoInit = function () {
function fn(zahl) {
return(((zahl < 10) ? ("0" + zahl) : (zahl)));
}
function timedisplay(timed) {
sek = timed;
min = Math.floor(sek / 60);
sek2 = sek - (min * 60);
return((fn(min) + ":") + fn(sek2));
}
function vs() {
amountLoaded = ns.bytesLoaded / ns.bytesTotal;
scbg = container.videobar.scrub_bg._width;
caurina.transitions.Tweener.addTween(container.videobar.buffer_bar, {_width:Math.ceil(amountLoaded * scbg), time:0.5, transition:"easeOutExpo"});
if (!hold) {
container.videobar.scrub_bar._width = Math.ceil((ns.time / duration) * scbg);
container.videobar.dragdot._x = Math.floor(container.videobar.scrub_bar._width) + 10;
} else {
container.videobar.scrub_bar._width = 1;
container.videobar.dragdot._x = Math.floor(container.videobar.scrub_bar._width) + 10;
}
}
function ps() {
ns.seek(Math.floor((container.videobar.scrub_bar._width / container.videobar.scrub_bg._width) * duration));
}
var amountLoaded;
vi = setInterval(vs, 10);
container.videobar.scrub_bg.onRollOver = function () {
tooltip._alpha = 100;
};
container.videobar.scrub_bg.onRollOut = function () {
tooltip._alpha = 0;
};
container.videobar.scrub_bg.onPress = function () {
clearInterval(vi);
si = setInterval(ps, 10);
this.onEnterFrame = function () {
xm = container.videobar._xmouse - 10;
pbar = container.videobar.scrub_bar;
if (((xm >= (pbar._x - 10)) && (xm <= container.videobar.scrub_bg._width)) && (xm <= container.videobar.buffer_bar._width)) {
pbar._width = xm;
container.videobar.dragdot._x = container.videobar.scrub_bar._width + 11;
tooltip._alpha = 100;
} else {
tooltip._alpha = 0;
}
};
};
container.videobar.scrub_bg.onRelease = function () {
hold = false;
delete this.onEnterFrame;
clearInterval(si);
vi = setInterval(vs, 10);
};
container.videobar.scrub_bg.onReleaseOutside = function () {
hold = false;
tooltip._alpha = 0;
delete this.onEnterFrame;
clearInterval(si);
vi = setInterval(vs, 10);
};
btype.onRollOver = function () {
};
container.btn_playpause.onRollOver = function () {
caurina.transitions.Tweener.addTween(this.bg, {_width:24, _height:24, time:0.3, transition:"easeOutExpo"});
};
container.btn_playpause.onRollOut = function () {
caurina.transitions.Tweener.addTween(this.bg, {_width:30, _height:30, time:0.3, transition:"easeOutExpo"});
};
container.btn_playpause.onReleaseOutside = function () {
caurina.transitions.Tweener.addTween(this.bg, {_width:30, _height:30, time:0.3, transition:"easeOutExpo"});
};
container.btn_playpause.onPress = function () {
if (pausevar) {
hold = false;
pausevar = false;
this.gotoAndStop(1);
caurina.transitions.Tweener.addTween(container.btn_playpause.bgc, {_color:XMLdaten_videobgcolor, time:0});
ns.pause();
caurina.transitions.Tweener.addTween(bigplaybtn, {_alpha:0, time:0.5, transition:"easeInOutExpo"});
startVideo();
} else if (!pausevar) {
pausevar = true;
this.gotoAndStop(2);
caurina.transitions.Tweener.addTween(container.btn_playpause.bgc, {_color:XMLdaten_videobgcolor, time:0});
ns.pause();
caurina.transitions.Tweener.addTween(bigplaybtn, {_alpha:75, time:0.5, transition:"easeInOutExpo"});
startCaption();
}
};
videobg.useHandCursor = false;
videobg.onRollOver = function () {
if (pausevar) {
caurina.transitions.Tweener.addTween(bigplaybtn, {_alpha:100, time:0.3, transition:"easeOutSine"});
}
};
videobg.onRollOut = function () {
if (pausevar) {
caurina.transitions.Tweener.addTween(bigplaybtn, {_alpha:75, time:0.3, transition:"easeOutSine"});
}
};
videobg.onReleaseOutside = function () {
if (pausevar) {
caurina.transitions.Tweener.addTween(bigplaybtn, {_alpha:75, time:0.3, transition:"easeOutSine"});
}
};
videobg.onPress = function () {
if (pausevar) {
hold = false;
pausevar = false;
container.btn_playpause.gotoAndStop(1);
caurina.transitions.Tweener.addTween(container.btn_playpause.bgc, {_color:XMLdaten_videobgcolor, time:0});
ns.pause();
caurina.transitions.Tweener.addTween(bigplaybtn, {_alpha:0, time:0.8, transition:"easeInOutExpo"});
startVideo();
} else {
pausevar = true;
container.btn_playpause.gotoAndStop(2);
ns.pause();
caurina.transitions.Tweener.addTween(bigplaybtn, {_alpha:100, time:0.8, transition:"easeOutExpo"});
caurina.transitions.Tweener.addTween(container.btn_playpause.bgc, {_color:XMLdaten_videobgcolor, time:0});
startCaption();
}
};
container.btn_fullscreen.onRollOver = function () {
caurina.transitions.Tweener.addTween(this.bg, {_width:24, _height:24, time:0.3, transition:"easeOutExpo"});
};
container.btn_fullscreen.onRollOut = function () {
caurina.transitions.Tweener.addTween(this.bg, {_width:30, _height:30, time:0.3, transition:"easeOutExpo"});
};
container.btn_fullscreen.onReleaseOutside = function () {
caurina.transitions.Tweener.addTween(this.bg, {_width:30, _height:30, time:0.3, transition:"easeOutExpo"});
};
container.btn_fullscreen.onPress = function () {
caurina.transitions.Tweener.addTween(this.bg, {_width:30, _height:30, time:0.3, transition:"easeOutExpo"});
if (Stage.displayState == "fullScreen") {
Stage.displayState = "normal";
} else {
Stage.displayState = "fullScreen";
}
};
fsl = new Object();
fsl.onFullScreen = function (fs) {
if (fs) {
fsvar = true;
if (XMLdaten_controlshidetime > 0) {
caurina.transitions.Tweener.removeTweens(container.btn_playpause);
caurina.transitions.Tweener.removeTweens(container.videobar);
caurina.transitions.Tweener.removeTweens(container.btn_volume);
caurina.transitions.Tweener.removeTweens(container.btn_fullscreen);
caurina.transitions.Tweener.removeTweens(timesq);
timesq._width = 1;
caurina.transitions.Tweener.addTween(timesq, {_width:XMLdaten_width, time:XMLdaten_controlshidetime, transition:"linear", onComplete:hideControls});
}
container.btn_fullscreen.gotoAndStop(2);
caurina.transitions.Tweener.addTween(container.container.btn_fullscreen.bgc, {_color:XMLdaten_videobgcolor, time:0});
tooltip._y = Stage.height - 30;
container.btn_playpause._y = Stage.height;
container.videobar._y = Stage.height;
container.btn_fullscreen._y = Stage.height;
container.btn_volume._y = Stage.height;
videobg._x = Stage.width;
videobg._y = 0;
videobg._height = Stage.height;
videobg._width = Stage.width;
videomask._height = Stage.height;
if (pausevar == true) {
videomask._width = Stage.width;
} else {
videomask._width = 0;
}
controlsmask._width = Stage.width;
controlsmask._height = 30;
controlsmask._y = Stage.height - 30;
bigplaybtn._x = Stage.width / 2;
bigplaybtn._y = Stage.height / 2;
container.btn_volume._x = Stage.width - 101;
container.btn_fullscreen._x = Stage.width - 30;
container.videobar.videobarbg._width = Stage.width - 133;
container.videobar.scrub_bg._width = Stage.width - 228;
container.videobar.time_mc._x = Stage.width - 211;
vidoldw = vidplayer._width;
vidoldh = vidplayer._height;
vidplayer._width = Stage.width;
vidplayer._height = Stage.height;
if (XMLdaten_scalemode == "fit") {
ow = vidplayer.width / vidplayer.height;
oh = vidplayer.height / vidplayer.width;
if ((Stage.height / Stage.width) < oh) {
vidplayer._height = Stage.height;
vidplayer._width = ow * vidplayer._height;
previewimage._width = ow * vidplayer._height;
previewimage._height = Stage.height;
} else {
vidplayer._width = Stage.width;
vidplayer._height = oh * vidplayer._width;
previewimage._width = Stage.width;
previewimage._height = oh * vidplayer._width;
}
vidplayer._x = (previewimage._x = (Stage.width / 2) - (vidplayer._width / 2));
vidplayer._y = (previewimage._y = (Stage.height / 2) - (vidplayer._height / 2));
} else {
vidplayer._width = (previewimage._width = Stage.width);
vidplayer._height = (previewimage._height = Stage.height);
}
} else {
fsvar = false;
if (XMLdaten_controlshidetime > 0) {
caurina.transitions.Tweener.removeTweens(container.btn_playpause);
caurina.transitions.Tweener.removeTweens(container.videobar);
caurina.transitions.Tweener.removeTweens(container.btn_volume);
caurina.transitions.Tweener.removeTweens(container.btn_fullscreen);
caurina.transitions.Tweener.removeTweens(timesq);
timesq._width = 1;
caurina.transitions.Tweener.addTween(timesq, {_width:XMLdaten_width, time:XMLdaten_controlshidetime, transition:"linear", onComplete:hideControls});
}
container.btn_fullscreen.gotoAndStop(1);
caurina.transitions.Tweener.addTween(container.container.btn_fullscreen.bgc, {_color:XMLdaten_videobgcolor, time:0});
tooltip._y = XMLdaten_height - 30;
container.btn_playpause._y = XMLdaten_height;
container.videobar._y = XMLdaten_height;
container.btn_fullscreen._y = XMLdaten_height;
container.btn_volume._y = XMLdaten_height;
videobg._x = XMLdaten_width;
videobg._y = 0;
videobg._height = XMLdaten_height;
videobg._width = XMLdaten_width;
videomask._height = XMLdaten_height;
if (pausevar == true) {
videomask._width = XMLdaten_width;
} else {
videomask._width = 0;
}
controlsmask._width = XMLdaten_width;
controlsmask._height = 30;
controlsmask._y = XMLdaten_height - 30;
bigplaybtn._x = XMLdaten_width / 2;
bigplaybtn._y = XMLdaten_height / 2;
container.btn_volume._x = XMLdaten_width - 101;
container.btn_fullscreen._x = XMLdaten_width - 30;
container.videobar.videobarbg._width = XMLdaten_width - 133;
container.videobar.scrub_bg._width = XMLdaten_width - 228;
container.videobar.time_mc._x = XMLdaten_width - 211;
if (XMLdaten_scalemode == "fit") {
vidplayer._width = vidoldw;
vidplayer._height = vidoldh;
previewimage._width = vidoldw;
previewimage._height = vidoldh;
vidplayer._x = (XMLdaten_width / 2) - (vidplayer._width / 2);
vidplayer._y = (XMLdaten_height / 2) - (vidplayer._height / 2);
previewimage._x = vidplayer._x;
previewimage._y = vidplayer._y;
} else {
vidplayer._width = XMLdaten_width;
vidplayer._height = XMLdaten_height;
previewimage._width = XMLdaten_width;
previewimage._height = XMLdaten_height;
vidplayer._x = (XMLdaten_width / 2) - (vidplayer._width / 2);
vidplayer._y = (XMLdaten_height / 2) - (vidplayer._height / 2);
previewimage._x = vidplayer._x;
previewimage._y = vidplayer._y;
}
}
};
Stage.addListener(fsl);
volumeSetter = function (ivar) {
vol = ivar * 10;
sound.setVolume(vol);
volumevar = vol;
};
volumeFunction = function (btn) {
btn.isPressed = false;
btn.onRollOver = function () {
i = 0;
while (i <= this.ivar) {
if (container.btn_volume["vl" + i].isPressed == false) {
caurina.transitions.Tweener.addTween(container.btn_volume["vl" + i].sline, {_height:9, time:1, transition:"easeOutElastic"});
caurina.transitions.Tweener.addTween(container.btn_volume["vl" + i].sline, {_color:XMLdaten_highlightcolor, time:0.3, transition:"easeOutExpo"});
caurina.transitions.Tweener.addTween(container.btn_volume.vl0.spk, {_color:0, time:0.3, transition:"easeOutExpo"});
}
i++;
}
};
btn.onRollOut = function () {
i = 0;
while (i <= this.ivar) {
if (container.btn_volume["vl" + i].isPressed == false) {
caurina.transitions.Tweener.addTween(container.btn_volume["vl" + i].sline, {_height:5, time:1, transition:"easeOutElastic"});
caurina.transitions.Tweener.addTween(container.btn_volume["vl" + i].sline, {_color:10066329, time:0.3, transition:"easeOutExpo"});
}
if (volumevar == 0) {
caurina.transitions.Tweener.addTween(container.btn_volume.vl0.spk, {_color:10066329, time:0.3, transition:"easeOutExpo"});
}
i++;
}
};
btn.onReleaseOutside = function () {
i = 0;
while (i <= this.ivar) {
if (container.btn_volume["vl" + i].isPressed == false) {
caurina.transitions.Tweener.addTween(container.btn_volume["vl" + i].sline, {_height:5, time:1, transition:"easeOutElastic"});
caurina.transitions.Tweener.addTween(container.btn_volume["vl" + i].sline, {_color:10066329, time:0.3, transition:"easeOutExpo"});
}
if (volumevar == 0) {
caurina.transitions.Tweener.addTween(container.btn_volume.vl0.spk, {_color:10066329, time:0.3, transition:"easeOutExpo"});
}
i++;
}
};
btn.onPress = function () {
volumeSetter(this.ivar);
i = 0;
while (i <= this.ivar) {
container.btn_volume["vl" + i].isPressed = true;
if (this.ivar != 0) {
caurina.transitions.Tweener.addTween(container.btn_volume["vl" + i].sline, {_height:9, time:1, transition:"easeOutElastic"});
caurina.transitions.Tweener.addTween(container.btn_volume["vl" + i].sline, {_color:XMLdaten_highlightcolor, time:0.3, transition:"easeOutExpo"});
} else {
caurina.transitions.Tweener.addTween(container.btn_volume.vl0.spk, {_color:10066329, time:0.3, transition:"easeOutExpo"});
}
i++;
}
p = this.ivar + 1;
while (p < 11) {
container.btn_volume["vl" + p].isPressed = false;
caurina.transitions.Tweener.addTween(container.btn_volume["vl" + p].sline, {_height:5, time:1, transition:"easeOutElastic"});
caurina.transitions.Tweener.addTween(container.btn_volume["vl" + p].sline, {_color:10066329, time:0.3, transition:"easeOutExpo"});
p++;
}
};
};
i = 0;
while (i < 11) {
container.btn_volume["vl" + i].ivar = i;
volumeFunction(container.btn_volume["vl" + i]);
if (i > vol) {
caurina.transitions.Tweener.addTween(container.btn_volume["vl" + i].sline, {_height:5, time:1, transition:"easeOutElastic"});
} else {
container.btn_volume["vl" + i].isPressed = true;
caurina.transitions.Tweener.addTween(container.btn_volume["vl" + i].sline, {_height:9, time:1, transition:"easeOutElastic"});
caurina.transitions.Tweener.addTween(container.btn_volume["vl" + i].sline, {_color:XMLdaten_highlightcolor, time:0.3, transition:"easeOutExpo"});
}
if (vol == 0) {
caurina.transitions.Tweener.addTween(container.btn_volume.vl0.spk, {_color:10066329, time:0.3, transition:"easeOutExpo"});
} else {
caurina.transitions.Tweener.addTween(container.btn_volume.vl0.spk, {_color:0, time:0.3, transition:"easeOutExpo"});
}
i++;
}
volumeSetter(vol);
onEnterFrame = function () {
tv = Math.floor(((tooltip._x - 40) / container.videobar.scrub_bg._width) * duration);
tooltip.txt.text = timedisplay(tv);
tooltip._x = _xmouse;
container.videobar.time_mc.time_elapsed.text = timedisplay(Math.floor(ns.time));
container.videobar.time_mc.time_total.text = timedisplay(Math.floor(duration));
};
};
ns.onStatus = function (info) {
if (info.code == "NetStream.Play.Stop") {
pausevar = true;
hold = true;
trace("seek02");
ns.seek(0);
ns.pause();
container.btn_playpause.gotoAndStop(2);
caurina.transitions.Tweener.addTween(bigplaybtn, {_alpha:75, time:0.5, transition:"easeInOutExpo"});
startCaption();
if (fsvar == false) {
caurina.transitions.Tweener.addTween(videomask, {_width:XMLdaten_width, time:0.7, transition:"easeInOutExpo"});
} else if (fsvar == true) {
caurina.transitions.Tweener.addTween(videomask, {_width:Stage.width, time:0.7, transition:"easeInOutExpo"});
}
}
if (info.code == "NetStream.Buffer.Full") {
}
if (info.code == "NetStream.Buffer.Empty") {
}
};
var duration;
duration = 0;
var metaRecieved = false;
ns.onMetaData = function (obj) {
if (!metaRecieved) {
metaRecieved = true;
duration = obj.duration;
if (XMLdaten_scalemode == "fit") {
if (obj.width && (obj.height)) {
ow = obj.width / obj.height;
oh = obj.height / obj.width;
if ((XMLdaten_height / XMLdaten_width) < oh) {
vidplayer._height = XMLdaten_height;
vidplayer._width = ow * vidplayer._height;
} else {
vidplayer._width = XMLdaten_width;
vidplayer._height = oh * vidplayer._width;
}
vidplayer._x = (XMLdaten_width / 2) - (vidplayer._width / 2);
vidplayer._y = (XMLdaten_height / 2) - (vidplayer._height / 2);
}
} else {
vidplayer._width = XMLdaten_width;
vidplayer._height = XMLdaten_height;
}
}
};
videoInit();
if (XMLdaten_autostart == "false") {
caurina.transitions.Tweener.addTween(bigplaybtn, {_alpha:75, time:1, transition:"easeInOutExpo"});
}
};
caurina.transitions.Tweener.addTween(container.btn_playpause.bgc, {_color:XMLdaten_videobgcolor, time:0});
caurina.transitions.Tweener.addTween(container.videobar.bgc, {_color:XMLdaten_videobgcolor, time:0});
caurina.transitions.Tweener.addTween(container.btn_volume.bgc, {_color:XMLdaten_videobgcolor, time:0});
caurina.transitions.Tweener.addTween(container.btn_fullscreen.bgc, {_color:XMLdaten_videobgcolor, time:0});
caurina.transitions.Tweener.addTween(videobg, {_color:XMLdaten_videobgcolor, time:0});
videobg._x = XMLdaten_width;
videobg._y = 0;
controlsmask._width = XMLdaten_width;
controlsmask._height = 30;
controlsmask._y = XMLdaten_height - 30;
videomask._height = XMLdaten_height;
videomask._width = 0;
videobg._height = XMLdaten_height;
videobg._width = XMLdaten_width;
videobg._alpha = 100;
container.btn_volume._x = XMLdaten_width - 101;
container.btn_fullscreen._x = XMLdaten_width - 30;
container.btn_playpause._y = (container.videobar._y = (container.btn_volume._y = (container.btn_fullscreen._y = XMLdaten_height + 30)));
container._alpha = 100;
container.videobar.videobarbg.onRollOver = function () {
this.useHandCursor = false;
};
container.btn_volume.volumebg.onRollOver = function () {
this.useHandCursor = false;
};
tooltip._y = XMLdaten_height - 30;
container.btn_playpause.gotoAndStop(2);
container.videobar.videobarbg._width = XMLdaten_width - 133;
container.videobar.bgc._width = XMLdaten_width - 132;
container.videobar.scrub_bg._width = XMLdaten_width - 228;
container.videobar.time_mc._x = XMLdaten_width - 211;
caurina.transitions.Tweener.addTween(container.videobar.scrub_bar, {_color:XMLdaten_highlightcolor, time:0});
caurina.transitions.Tweener.addTween(tooltip.tpbg, {_color:XMLdaten_highlightcolor, time:0});
caurina.transitions.Tweener.addTween(container.btn_playpause, {_y:XMLdaten_height, time:0.5, transition:"easeOutSine"});
caurina.transitions.Tweener.addTween(container.videobar, {_y:XMLdaten_height, time:0.5, transition:"easeOutSine", delay:0.1});
caurina.transitions.Tweener.addTween(container.btn_volume, {_y:XMLdaten_height, time:0.5, transition:"easeOutSine", delay:0.2});
caurina.transitions.Tweener.addTween(container.btn_fullscreen, {_y:XMLdaten_height, time:0.5, transition:"easeOutSine", delay:0.3, onComplete:initVideo});
if (XMLdaten_controlshidetime > 0) {
hideControls = function () {
if (fsvar == false) {
cpos = XMLdaten_height;
} else if (fsvar == true) {
cpos = Stage.height;
}
caurina.transitions.Tweener.addTween(container.btn_playpause, {_y:cpos + 30, time:0.1, transition:"easeInSine"});
caurina.transitions.Tweener.addTween(container.videobar, {_y:cpos + 30, time:0.1, transition:"easeInSine", delay:0.1});
caurina.transitions.Tweener.addTween(container.btn_volume, {_y:cpos + 30, time:0.1, transition:"easeInSine", delay:0.2});
caurina.transitions.Tweener.addTween(container.btn_fullscreen, {_y:cpos + 30, time:0.1, transition:"easeInSine", delay:0.3});
};
caurina.transitions.Tweener.addTween(timesq, {_width:XMLdaten_width, time:XMLdaten_controlshidetime, transition:"linear", onComplete:hideControls});
videobg.onMouseMove = function () {
if ((((!caurina.transitions.Tweener.isTweening(container.btn_playpause)) && (!caurina.transitions.Tweener.isTweening(container.videobar))) && (!caurina.transitions.Tweener.isTweening(container.btn_volume))) && (!caurina.transitions.Tweener.isTweening(container.btn_fullscreen))) {
caurina.transitions.Tweener.removeTweens(timesq);
caurina.transitions.Tweener.removeTweens(container.btn_playpause);
caurina.transitions.Tweener.removeTweens(container.videobar);
caurina.transitions.Tweener.removeTweens(container.btn_volume);
caurina.transitions.Tweener.removeTweens(container.btn_fullscreen);
timesq._width = 1;
if (fsvar == false) {
cpos = XMLdaten_height;
} else if (fsvar == true) {
cpos = Stage.height;
}
caurina.transitions.Tweener.addTween(timesq, {_width:XMLdaten_width, time:XMLdaten_controlshidetime, transition:"linear", onComplete:hideControls});
caurina.transitions.Tweener.addTween(container.btn_playpause, {_y:cpos, time:0.1, transition:"easeOutSine"});
caurina.transitions.Tweener.addTween(container.videobar, {_y:cpos, time:0.1, transition:"easeOutSine", delay:0.1});
caurina.transitions.Tweener.addTween(container.btn_volume, {_y:cpos, time:0.1, transition:"easeOutSine", delay:0.2});
caurina.transitions.Tweener.addTween(container.btn_fullscreen, {_y:cpos, time:0.1, transition:"easeOutSine", delay:0.3});
}
};
}
} else {
xmlloaded = false;
}
};
Symbol 9 MovieClip [btn_playpause] Frame 1
stop();
Symbol 18 MovieClip Frame 1
stop();
Symbol 38 MovieClip [btn_volume] Frame 1
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 2
stop();
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 2
stop();
Symbol 66 MovieClip Frame 1
stop();
Symbol 67 MovieClip [__Packages.caurina.transitions.properties.ColorShortcuts] Frame 0
class caurina.transitions.properties.ColorShortcuts
{
function ColorShortcuts () {
trace("This is an static class and should not be instantiated.");
}
static function init() {
caurina.transitions.Tweener.registerSpecialProperty("_color_ra", _oldColor_property_get, _oldColor_property_set, ["ra"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_rb", _oldColor_property_get, _oldColor_property_set, ["rb"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_ga", _oldColor_property_get, _oldColor_property_set, ["ga"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_gb", _oldColor_property_get, _oldColor_property_set, ["gb"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_ba", _oldColor_property_get, _oldColor_property_set, ["ba"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_bb", _oldColor_property_get, _oldColor_property_set, ["bb"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_aa", _oldColor_property_get, _oldColor_property_set, ["aa"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_ab", _oldColor_property_get, _oldColor_property_set, ["ab"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_redMultiplier", _color_property_get, _color_property_set, ["redMultiplier"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_redOffset", _color_property_get, _color_property_set, ["redOffset"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_greenMultiplier", _color_property_get, _color_property_set, ["greenMultiplier"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_greenOffset", _color_property_get, _color_property_set, ["greenOffset"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_blueMultiplier", _color_property_get, _color_property_set, ["blueMultiplier"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_blueOffset", _color_property_get, _color_property_set, ["blueOffset"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_alphaMultiplier", _color_property_get, _color_property_set, ["alphaMultiplier"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_alphaOffset", _color_property_get, _color_property_set, ["alphaOffset"]);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_color", _color_splitter);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_colorTransform", _colorTransform_splitter);
caurina.transitions.Tweener.registerSpecialProperty("_brightness", _brightness_get, _brightness_set, [false]);
caurina.transitions.Tweener.registerSpecialProperty("_tintBrightness", _brightness_get, _brightness_set, [true]);
caurina.transitions.Tweener.registerSpecialProperty("_contrast", _contrast_get, _contrast_set);
caurina.transitions.Tweener.registerSpecialProperty("_hue", _hue_get, _hue_set);
caurina.transitions.Tweener.registerSpecialProperty("_saturation", _saturation_get, _saturation_set, [false]);
caurina.transitions.Tweener.registerSpecialProperty("_dumbSaturation", _saturation_get, _saturation_set, [true]);
}
static function _color_splitter(p_value, p_parameters) {
var _local1 = new Array();
if (p_value == null) {
_local1.push({name:"_color_redMultiplier", value:1});
_local1.push({name:"_color_redOffset", value:0});
_local1.push({name:"_color_greenMultiplier", value:1});
_local1.push({name:"_color_greenOffset", value:0});
_local1.push({name:"_color_blueMultiplier", value:1});
_local1.push({name:"_color_blueOffset", value:0});
} else {
_local1.push({name:"_color_redMultiplier", value:0});
_local1.push({name:"_color_redOffset", value:caurina.transitions.AuxFunctions.numberToR(p_value)});
_local1.push({name:"_color_greenMultiplier", value:0});
_local1.push({name:"_color_greenOffset", value:caurina.transitions.AuxFunctions.numberToG(p_value)});
_local1.push({name:"_color_blueMultiplier", value:0});
_local1.push({name:"_color_blueOffset", value:caurina.transitions.AuxFunctions.numberToB(p_value)});
}
return(_local1);
}
static function _colorTransform_splitter(p_value, p_parameters) {
var _local2 = new Array();
if (p_value == null) {
_local2.push({name:"_color_redMultiplier", value:1});
_local2.push({name:"_color_redOffset", value:0});
_local2.push({name:"_color_greenMultiplier", value:1});
_local2.push({name:"_color_greenOffset", value:0});
_local2.push({name:"_color_blueMultiplier", value:1});
_local2.push({name:"_color_blueOffset", value:0});
} else {
if (p_value.ra != undefined) {
_local2.push({name:"_color_ra", value:p_value.ra});
}
if (p_value.rb != undefined) {
_local2.push({name:"_color_rb", value:p_value.rb});
}
if (p_value.ga != undefined) {
_local2.push({name:"_color_ba", value:p_value.ba});
}
if (p_value.gb != undefined) {
_local2.push({name:"_color_bb", value:p_value.bb});
}
if (p_value.ba != undefined) {
_local2.push({name:"_color_ga", value:p_value.ga});
}
if (p_value.bb != undefined) {
_local2.push({name:"_color_gb", value:p_value.gb});
}
if (p_value.aa != undefined) {
_local2.push({name:"_color_aa", value:p_value.aa});
}
if (p_value.ab != undefined) {
_local2.push({name:"_color_ab", value:p_value.ab});
}
if (p_value.redMultiplier != undefined) {
_local2.push({name:"_color_redMultiplier", value:p_value.redMultiplier});
}
if (p_value.redOffset != undefined) {
_local2.push({name:"_color_redOffset", value:p_value.redOffset});
}
if (p_value.blueMultiplier != undefined) {
_local2.push({name:"_color_blueMultiplier", value:p_value.blueMultiplier});
}
if (p_value.blueOffset != undefined) {
_local2.push({name:"_color_blueOffset", value:p_value.blueOffset});
}
if (p_value.greenMultiplier != undefined) {
_local2.push({name:"_color_greenMultiplier", value:p_value.greenMultiplier});
}
if (p_value.greenOffset != undefined) {
_local2.push({name:"_color_greenOffset", value:p_value.greenOffset});
}
if (p_value.alphaMultiplier != undefined) {
_local2.push({name:"_color_alphaMultiplier", value:p_value.alphaMultiplier});
}
if (p_value.alphaOffset != undefined) {
_local2.push({name:"_color_alphaOffset", value:p_value.alphaOffset});
}
}
return(_local2);
}
static function _oldColor_property_get(p_obj, p_parameters) {
return(new Color(p_obj).getTransform()[p_parameters[0]]);
}
static function _oldColor_property_set(p_obj, p_value, p_parameters) {
var _local1 = new Object();
_local1[p_parameters[0]] = p_value;
new Color(p_obj).setTransform(_local1);
}
static function _color_property_get(p_obj, p_parameters) {
return(p_obj.transform.colorTransform[p_parameters[0]]);
}
static function _color_property_set(p_obj, p_value, p_parameters) {
var _local1 = p_obj.transform.colorTransform;
_local1[p_parameters[0]] = p_value;
p_obj.transform.colorTransform = _local1;
}
static function _brightness_get(p_obj, p_parameters) {
var _local4 = p_parameters[0];
var _local1 = new Color(p_obj).getTransform();
var _local3 = 1 - (((_local1.ra + _local1.ga) + _local1.ba) / 300);
var _local2 = ((_local1.rb + _local1.gb) + _local1.bb) / 3;
if (_local4) {
return(((_local2 > 0) ? (_local2 / 255) : (-_local3)));
}
return(_local2 / 100);
}
static function _brightness_set(p_obj, p_value, p_parameters) {
var _local5 = p_parameters[0];
var _local2;
var _local1;
if (_local5) {
_local2 = 1 - Math.abs(p_value);
_local1 = ((p_value > 0) ? (Math.round(p_value * 255)) : 0);
} else {
_local2 = 1;
_local1 = Math.round(p_value * 100);
}
var _local4 = {ra:_local2 * 100, rb:_local1, ga:_local2 * 100, gb:_local1, ba:_local2 * 100, bb:_local1};
new Color(p_obj).setTransform(_local4);
}
static function _saturation_get(p_obj, p_parameters) {
var _local1 = getObjectMatrix(p_obj);
var _local5 = p_parameters[0];
var _local2 = (_local5 ? 0.333333333333333 : (LUMINANCE_R));
var _local4 = (_local5 ? 0.333333333333333 : (LUMINANCE_G));
var _local3 = (_local5 ? 0.333333333333333 : (LUMINANCE_B));
var _local6 = ((((_local1[0] - _local2) / (1 - _local2)) + ((_local1[6] - _local4) / (1 - _local4))) + ((_local1[12] - _local3) / (1 - _local3))) / 3;
var _local7 = 1 - (((((((_local1[1] / _local4) + (_local1[2] / _local3)) + (_local1[5] / _local2)) + (_local1[7] / _local3)) + (_local1[10] / _local2)) + (_local1[11] / _local4)) / 6);
return((_local6 + _local7) / 2);
}
static function _saturation_set(p_obj, p_value, p_parameters) {
var _local3 = p_parameters[0];
var _local7 = (_local3 ? 0.333333333333333 : (LUMINANCE_R));
var _local10 = (_local3 ? 0.333333333333333 : (LUMINANCE_G));
var _local8 = (_local3 ? 0.333333333333333 : (LUMINANCE_B));
var _local1 = p_value;
var _local5 = 1 - _local1;
var _local2 = _local7 * _local5;
var _local4 = _local10 * _local5;
var _local6 = _local8 * _local5;
var _local9 = [_local2 + _local1, _local4, _local6, 0, 0, _local2, _local4 + _local1, _local6, 0, 0, _local2, _local4, _local6 + _local1, 0, 0, 0, 0, 0, 1, 0];
setObjectMatrix(p_obj, _local9);
}
static function _contrast_get(p_obj, p_parameters) {
var _local1 = new Color(p_obj).getTransform();
var _local3;
var _local2;
_local3 = (((_local1.ra + _local1.ga) + _local1.ba) / 300) - 1;
_local2 = (((_local1.rb + _local1.gb) + _local1.bb) / 3) / -128;
return((_local3 + _local2) / 2);
}
static function _contrast_set(p_obj, p_value, p_parameters) {
var _local2;
var _local1;
_local2 = p_value + 1;
_local1 = Math.round(p_value * -128);
var _local3 = {ra:_local2 * 100, rb:_local1, ga:_local2 * 100, gb:_local1, ba:_local2 * 100, bb:_local1};
new Color(p_obj).setTransform(_local3);
}
static function _hue_get(p_obj, p_parameters) {
var _local4 = getObjectMatrix(p_obj);
var _local1 = [];
_local1[0] = {angle:-179.9, matrix:getHueMatrix(-179.9)};
_local1[1] = {angle:180, matrix:getHueMatrix(180)};
var _local3 = 0;
while (_local3 < _local1.length) {
_local1[_local3].distance = getHueDistance(_local4, _local1[_local3].matrix);
_local3++;
}
var _local5 = 15;
var _local2;
_local3 = 0;
while (_local3 < _local5) {
if (_local1[0].distance < _local1[1].distance) {
_local2 = 1;
} else {
_local2 = 0;
}
_local1[_local2].angle = (_local1[0].angle + _local1[1].angle) / 2;
_local1[_local2].matrix = getHueMatrix(_local1[_local2].angle);
_local1[_local2].distance = getHueDistance(_local4, _local1[_local2].matrix);
_local3++;
}
return(_local1[_local2].angle);
}
static function _hue_set(p_obj, p_value, p_parameters) {
setObjectMatrix(p_obj, getHueMatrix(p_value));
}
static function getHueDistance(mtx1, mtx2) {
return((Math.abs(mtx1[0] - mtx2[0]) + Math.abs(mtx1[1] - mtx2[1])) + Math.abs(mtx1[2] - mtx2[2]));
}
static function getHueMatrix(hue) {
var _local6 = (hue * Math.PI) / 180;
var _local3 = LUMINANCE_R;
var _local5 = LUMINANCE_G;
var _local4 = LUMINANCE_B;
var _local1 = Math.cos(_local6);
var _local2 = Math.sin(_local6);
var _local7 = [(_local3 + (_local1 * (1 - _local3))) + (_local2 * (-_local3)), (_local5 + (_local1 * (-_local5))) + (_local2 * (-_local5)), (_local4 + (_local1 * (-_local4))) + (_local2 * (1 - _local4)), 0, 0, (_local3 + (_local1 * (-_local3))) + (_local2 * 0.143), (_local5 + (_local1 * (1 - _local5))) + (_local2 * 0.14), (_local4 + (_local1 * (-_local4))) + (_local2 * -0.283), 0, 0, (_local3 + (_local1 * (-_local3))) + (_local2 * (-(1 - _local3))), (_local5 + (_local1 * (-_local5))) + (_local2 * _local5), (_local4 + (_local1 * (1 - _local4))) + (_local2 * _local4), 0, 0, 0, 0, 0, 1, 0];
return(_local7);
}
static function getObjectMatrix(p_obj) {
var _local1 = 0;
while (_local1 < p_obj.filters.length) {
if (p_obj.filters[_local1] instanceof flash.filters.ColorMatrixFilter) {
return(p_obj.filters[_local1].matrix.concat());
}
_local1++;
}
return([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]);
}
static function setObjectMatrix(p_obj, p_matrix) {
var _local2 = p_obj.filters.concat();
var _local3 = false;
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1] instanceof flash.filters.ColorMatrixFilter) {
_local2[_local1].matrix = p_matrix.concat();
_local3 = true;
}
_local1++;
}
if (!_local3) {
var _local5 = new flash.filters.ColorMatrixFilter(p_matrix);
_local2[_local2.length] = _local5;
}
p_obj.filters = _local2;
}
static var LUMINANCE_R = 0.212671;
static var LUMINANCE_G = 0.71516;
static var LUMINANCE_B = 0.072169;
}
Symbol 68 MovieClip [__Packages.caurina.transitions.Tweener] Frame 0
class caurina.transitions.Tweener
{
static var _specialPropertySplitterList, _specialPropertyModifierList, _specialPropertyList, _transitionList, _currentTimeFrame, _currentTime, _tweenList;
function Tweener () {
trace("Tweener is an static class and should not be instantiated.");
}
static function addTween(p_scopes, p_parameters) {
if (p_scopes == undefined) {
return(false);
}
var _local3;
var _local7;
var _local2;
var _local11;
if (p_scopes instanceof Array) {
_local11 = p_scopes.concat();
} else {
_local11 = [p_scopes];
}
var _local5 = caurina.transitions.TweenListObj.makePropertiesChain(p_parameters);
if (!_inited) {
init();
}
if ((!_engineExists) || (_root[getControllerName()] == undefined)) {
startEngine();
}
var _local19 = (isNaN(_local5.time) ? 0 : (_local5.time));
var _local12 = (isNaN(_local5.delay) ? 0 : (_local5.delay));
var _local4 = new Object();
var _local24 = {time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true, quickAdd:true};
var _local13 = new Object();
for (_local2 in _local5) {
if (!_local24[_local2]) {
if (_specialPropertySplitterList[_local2] != undefined) {
var _local8 = _specialPropertySplitterList[_local2].splitValues(_local5[_local2], _specialPropertySplitterList[_local2].parameters);
_local3 = 0;
while (_local3 < _local8.length) {
if (_specialPropertySplitterList[_local8[_local3].name] != undefined) {
var _local9 = _specialPropertySplitterList[_local8[_local3].name].splitValues(_local8[_local3].value, _specialPropertySplitterList[_local8[_local3].name].parameters);
_local7 = 0;
while (_local7 < _local9.length) {
_local4[_local9[_local7].name] = {valueStart:undefined, valueComplete:_local9[_local7].value, arrayIndex:_local9[_local7].arrayIndex, isSpecialProperty:false};
_local7++;
}
} else {
_local4[_local8[_local3].name] = {valueStart:undefined, valueComplete:_local8[_local3].value, arrayIndex:_local8[_local3].arrayIndex, isSpecialProperty:false};
}
_local3++;
}
} else if (_specialPropertyModifierList[_local2] != undefined) {
var _local10 = _specialPropertyModifierList[_local2].modifyValues(_local5[_local2]);
_local3 = 0;
while (_local3 < _local10.length) {
_local13[_local10[_local3].name] = {modifierParameters:_local10[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local2].getValue};
_local3++;
}
} else {
_local4[_local2] = {valueStart:undefined, valueComplete:_local5[_local2]};
}
}
}
for (_local2 in _local4) {
if (_specialPropertyList[_local2] != undefined) {
_local4[_local2].isSpecialProperty = true;
} else if (_local11[0][_local2] == undefined) {
printError(((("The property '" + _local2) + "' doesn't seem to be a normal object property of ") + _local11[0].toString()) + " or a registered special property.");
}
}
for (_local2 in _local13) {
if (_local4[_local2] != undefined) {
_local4[_local2].modifierParameters = _local13[_local2].modifierParameters;
_local4[_local2].modifierFunction = _local13[_local2].modifierFunction;
}
}
var _local21;
if (typeof(_local5.transition) == "string") {
var _local26 = _local5.transition.toLowerCase();
_local21 = _transitionList[_local26];
} else {
_local21 = _local5.transition;
}
if (_local21 == undefined) {
_local21 = _transitionList.easeoutexpo;
}
var _local14;
var _local6;
var _local20;
_local3 = 0;
while (_local3 < _local11.length) {
_local14 = new Object();
for (_local2 in _local4) {
_local14[_local2] = new caurina.transitions.PropertyInfoObj(_local4[_local2].valueStart, _local4[_local2].valueComplete, _local4[_local2].valueComplete, _local4[_local2].arrayIndex, {}, _local4[_local2].isSpecialProperty, _local4[_local2].modifierFunction, _local4[_local2].modifierParameters);
}
if (_local5.useFrames == true) {
_local6 = new caurina.transitions.TweenListObj(_local11[_local3], _currentTimeFrame + (_local12 / _timeScale), _currentTimeFrame + ((_local12 + _local19) / _timeScale), true, _local21, _local5.transitionParams);
} else {
_local6 = new caurina.transitions.TweenListObj(_local11[_local3], _currentTime + ((_local12 * 1000) / _timeScale), _currentTime + (((_local12 * 1000) + (_local19 * 1000)) / _timeScale), false, _local21, _local5.transitionParams);
}
_local6.properties = _local14;
_local6.onStart = _local5.onStart;
_local6.onUpdate = _local5.onUpdate;
_local6.onComplete = _local5.onComplete;
_local6.onOverwrite = _local5.onOverwrite;
_local6.onError = _local5.onError;
_local6.onStartParams = _local5.onStartParams;
_local6.onUpdateParams = _local5.onUpdateParams;
_local6.onCompleteParams = _local5.onCompleteParams;
_local6.onOverwriteParams = _local5.onOverwriteParams;
_local6.onStartScope = _local5.onStartScope;
_local6.onUpdateScope = _local5.onUpdateScope;
_local6.onCompleteScope = _local5.onCompleteScope;
_local6.onOverwriteScope = _local5.onOverwriteScope;
_local6.onErrorScope = _local5.onErrorScope;
_local6.rounded = _local5.rounded;
_local6.skipUpdates = _local5.skipUpdates;
if (!_local5.quickAdd) {
removeTweensByTime(_local6.scope, _local6.properties, _local6.timeStart, _local6.timeComplete);
}
_tweenList.push(_local6);
if ((_local19 == 0) && (_local12 == 0)) {
_local20 = _tweenList.length - 1;
updateTweenByIndex(_local20);
removeTweenByIndex(_local20);
}
_local3++;
}
return(true);
}
static function addCaller(p_scopes, p_parameters) {
if (p_scopes == undefined) {
return(false);
}
var _local5;
var _local6;
if (p_scopes instanceof Array) {
_local6 = p_scopes.concat();
} else {
_local6 = [p_scopes];
}
var _local3 = p_parameters;
if (!_inited) {
init();
}
if ((!_engineExists) || (_root[getControllerName()] == undefined)) {
startEngine();
}
var _local7 = (isNaN(_local3.time) ? 0 : (_local3.time));
var _local4 = (isNaN(_local3.delay) ? 0 : (_local3.delay));
var _local9;
if (typeof(_local3.transition) == "string") {
var _local11 = _local3.transition.toLowerCase();
_local9 = _transitionList[_local11];
} else {
_local9 = _local3.transition;
}
if (_local9 == undefined) {
_local9 = _transitionList.easeoutexpo;
}
var _local2;
var _local8;
_local5 = 0;
while (_local5 < _local6.length) {
if (_local3.useFrames == true) {
_local2 = new caurina.transitions.TweenListObj(_local6[_local5], _currentTimeFrame + (_local4 / _timeScale), _currentTimeFrame + ((_local4 + _local7) / _timeScale), true, _local9, _local3.transitionParams);
} else {
_local2 = new caurina.transitions.TweenListObj(_local6[_local5], _currentTime + ((_local4 * 1000) / _timeScale), _currentTime + (((_local4 * 1000) + (_local7 * 1000)) / _timeScale), false, _local9, _local3.transitionParams);
}
_local2.properties = undefined;
_local2.onStart = _local3.onStart;
_local2.onUpdate = _local3.onUpdate;
_local2.onComplete = _local3.onComplete;
_local2.onOverwrite = _local3.onOverwrite;
_local2.onStartParams = _local3.onStartParams;
_local2.onUpdateParams = _local3.onUpdateParams;
_local2.onCompleteParams = _local3.onCompleteParams;
_local2.onOverwriteParams = _local3.onOverwriteParams;
_local2.onStartScope = _local3.onStartScope;
_local2.onUpdateScope = _local3.onUpdateScope;
_local2.onCompleteScope = _local3.onCompleteScope;
_local2.onOverwriteScope = _local3.onOverwriteScope;
_local2.onErrorScope = _local3.onErrorScope;
_local2.isCaller = true;
_local2.count = _local3.count;
_local2.waitFrames = _local3.waitFrames;
_tweenList.push(_local2);
if ((_local7 == 0) && (_local4 == 0)) {
_local8 = _tweenList.length - 1;
updateTweenByIndex(_local8);
removeTweenByIndex(_local8);
}
_local5++;
}
return(true);
}
static function removeTweensByTime(p_scope, p_properties, p_timeStart, p_timeComplete) {
var _local5 = false;
var _local4;
var _local1;
var _local7 = _tweenList.length;
var _local2;
_local1 = 0;
while (_local1 < _local7) {
if (p_scope == _tweenList[_local1].scope) {
if ((p_timeComplete > _tweenList[_local1].timeStart) && (p_timeStart < _tweenList[_local1].timeComplete)) {
_local4 = false;
for (_local2 in _tweenList[_local1].properties) {
if (p_properties[_local2] != undefined) {
if (_tweenList[_local1].onOverwrite != undefined) {
var _local3 = ((_tweenList[_local1].onOverwriteScope != undefined) ? (_tweenList[_local1].onOverwriteScope) : (_tweenList[_local1].scope));
try {
_tweenList[_local1].onOverwrite.apply(_local3, _tweenList[_local1].onOverwriteParams);
} catch(e:Error) {
handleError(_tweenList[_local1], e, "onOverwrite");
}
}
_tweenList[_local1].properties[_local2] = undefined;
delete _tweenList[_local1].properties[_local2];
_local4 = true;
_local5 = true;
}
}
if (_local4) {
if (caurina.transitions.AuxFunctions.getObjectLength(_tweenList[_local1].properties) == 0) {
removeTweenByIndex(_local1);
}
}
}
}
_local1++;
}
return(_local5);
}
static function removeTweens(p_scope) {
var _local5 = new Array();
var _local3;
_local3 = 1;
while (_local3 < arguments.length) {
if ((typeof(arguments[_local3]) == "string") && (!caurina.transitions.AuxFunctions.isInArray(arguments[_local3], _local5))) {
if (_specialPropertySplitterList[arguments[_local3]]) {
var _local6 = _specialPropertySplitterList[arguments[_local3]];
var _local4 = _local6.splitValues(p_scope, null);
var _local2 = 0;
while (_local2 < _local4.length) {
_local5.push(_local4[_local2].name);
_local2++;
}
} else {
_local5.push(arguments[_local3]);
}
}
_local3++;
}
return(affectTweens(removeTweenByIndex, p_scope, _local5));
}
static function removeAllTweens() {
var _local2 = false;
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
removeTweenByIndex(_local1);
_local2 = true;
_local1++;
}
return(_local2);
}
static function pauseTweens(p_scope) {
var _local3 = new Array();
var _local2;
_local2 = 1;
while (_local2 < arguments.length) {
if ((typeof(arguments[_local2]) == "string") && (!caurina.transitions.AuxFunctions.isInArray(arguments[_local2], _local3))) {
_local3.push(arguments[_local2]);
}
_local2++;
}
return(affectTweens(pauseTweenByIndex, p_scope, _local3));
}
static function pauseAllTweens() {
var _local2 = false;
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
pauseTweenByIndex(_local1);
_local2 = true;
_local1++;
}
return(_local2);
}
static function resumeTweens(p_scope) {
var _local3 = new Array();
var _local2;
_local2 = 1;
while (_local2 < arguments.length) {
if ((typeof(arguments[_local2]) == "string") && (!caurina.transitions.AuxFunctions.isInArray(arguments[_local2], _local3))) {
_local3.push(arguments[_local2]);
}
_local2++;
}
return(affectTweens(resumeTweenByIndex, p_scope, _local3));
}
static function resumeAllTweens() {
var _local2 = false;
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
resumeTweenByIndex(_local1);
_local2 = true;
_local1++;
}
return(_local2);
}
static function affectTweens(p_affectFunction, p_scope, p_properties) {
var _local5 = false;
var _local2;
if (!_tweenList) {
return(false);
}
_local2 = 0;
while (_local2 < _tweenList.length) {
if (_tweenList[_local2].scope == p_scope) {
if (p_properties.length == 0) {
p_affectFunction(_local2);
_local5 = true;
} else {
var _local4 = new Array();
var _local1;
_local1 = 0;
while (_local1 < p_properties.length) {
if (_tweenList[_local2].properties[p_properties[_local1]] != undefined) {
_local4.push(p_properties[_local1]);
}
_local1++;
}
if (_local4.length > 0) {
var _local7 = caurina.transitions.AuxFunctions.getObjectLength(_tweenList[_local2].properties);
if (_local7 == _local4.length) {
p_affectFunction(_local2);
_local5 = true;
} else {
var _local8 = splitTweens(_local2, _local4);
p_affectFunction(_local8);
_local5 = true;
}
}
}
}
_local2++;
}
return(_local5);
}
static function splitTweens(p_tween, p_properties) {
var _local6 = _tweenList[p_tween];
var _local5 = _local6.clone(false);
var _local1;
var _local2;
_local1 = 0;
while (_local1 < p_properties.length) {
_local2 = p_properties[_local1];
if (_local6.properties[_local2] != undefined) {
_local6.properties[_local2] = undefined;
delete _local6.properties[_local2];
}
_local1++;
}
var _local4;
for (_local2 in _local5.properties) {
_local4 = false;
_local1 = 0;
while (_local1 < p_properties.length) {
if (p_properties[_local1] == _local2) {
_local4 = true;
break;
}
_local1++;
}
if (!_local4) {
_local5.properties[_local2] = undefined;
delete _local5.properties[_local2];
}
}
_tweenList.push(_local5);
return(_tweenList.length - 1);
}
static function updateTweens() {
if (_tweenList.length == 0) {
return(false);
}
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
if (!_tweenList[_local1].isPaused) {
if (!updateTweenByIndex(_local1)) {
removeTweenByIndex(_local1);
}
if (_tweenList[_local1] == null) {
removeTweenByIndex(_local1, true);
_local1--;
}
}
_local1++;
}
return(true);
}
static function removeTweenByIndex(p_tween, p_finalRemoval) {
_tweenList[p_tween] = null;
if (p_finalRemoval) {
_tweenList.splice(p_tween, 1);
}
return(true);
}
static function pauseTweenByIndex(p_tween) {
var _local1 = _tweenList[p_tween];
if ((_local1 == null) || (_local1.isPaused)) {
return(false);
}
_local1.timePaused = getCurrentTweeningTime(_local1);
_local1.isPaused = true;
return(true);
}
static function resumeTweenByIndex(p_tween) {
var _local1 = _tweenList[p_tween];
if ((_local1 == null) || (!_local1.isPaused)) {
return(false);
}
var _local2 = getCurrentTweeningTime(_local1);
_local1.timeStart = _local1.timeStart + (_local2 - _local1.timePaused);
_local1.timeComplete = _local1.timeComplete + (_local2 - _local1.timePaused);
_local1.timePaused = undefined;
_local1.isPaused = false;
return(true);
}
static function updateTweenByIndex(i) {
var _local1 = _tweenList[i];
if ((_local1 == null) || (!_local1.scope)) {
return(false);
}
var _local13 = false;
var _local14;
var _local3;
var _local7;
var _local10;
var _local9;
var _local6;
var _local2;
var _local12;
var _local5;
var _local8 = getCurrentTweeningTime(_local1);
var _local4;
if (_local8 >= _local1.timeStart) {
_local5 = _local1.scope;
if (_local1.isCaller) {
do {
_local7 = ((_local1.timeComplete - _local1.timeStart) / _local1.count) * (_local1.timesCalled + 1);
_local10 = _local1.timeStart;
_local9 = _local1.timeComplete - _local1.timeStart;
_local6 = _local1.timeComplete - _local1.timeStart;
_local3 = _local1.transition(_local7, _local10, _local9, _local6, _local1.transitionParams);
if (_local8 >= _local3) {
if (_local1.onUpdate != undefined) {
_local12 = ((_local1.onUpdateScope != undefined) ? (_local1.onUpdateScope) : (_local5));
try {
_local1.onUpdate.apply(_local12, _local1.onUpdateParams);
} catch(e:Error) {
handleError(_local1, e, "onUpdate");
}
}
_local1.timesCalled++;
if (_local1.timesCalled >= _local1.count) {
_local13 = true;
break;
}
if (_local1.waitFrames) {
break;
}
}
} while (_local8 >= _local3);
} else {
_local14 = ((_local1.skipUpdates < 1) || (_local1.skipUpdates == undefined)) || (_local1.updatesSkipped >= _local1.skipUpdates);
if (_local8 >= _local1.timeComplete) {
_local13 = true;
_local14 = true;
}
if (!_local1.hasStarted) {
if (_local1.onStart != undefined) {
_local12 = ((_local1.onStartScope != undefined) ? (_local1.onStartScope) : (_local5));
try {
_local1.onStart.apply(_local12, _local1.onStartParams);
} catch(e:Error) {
handleError(_local1, e, "onStart");
}
}
var _local11;
for (_local2 in _local1.properties) {
if (_local1.properties[_local2].isSpecialProperty) {
if (_specialPropertyList[_local2].preProcess != undefined) {
_local1.properties[_local2].valueComplete = _specialPropertyList[_local2].preProcess(_local5, _specialPropertyList[_local2].parameters, _local1.properties[_local2].originalValueComplete, _local1.properties[_local2].extra);
}
_local11 = _specialPropertyList[_local2].getValue(_local5, _specialPropertyList[_local2].parameters, _local1.properties[_local2].extra);
} else {
_local11 = _local5[_local2];
}
_local1.properties[_local2].valueStart = (isNaN(_local11) ? (_local1.properties[_local2].valueComplete) : (_local11));
}
_local14 = true;
_local1.hasStarted = true;
}
if (_local14) {
for (_local2 in _local1.properties) {
_local4 = _local1.properties[_local2];
if (_local13) {
_local3 = _local4.valueComplete;
} else if (_local4.hasModifier) {
_local7 = _local8 - _local1.timeStart;
_local6 = _local1.timeComplete - _local1.timeStart;
_local3 = _local1.transition(_local7, 0, 1, _local6, _local1.transitionParams);
_local3 = _local4.modifierFunction(_local4.valueStart, _local4.valueComplete, _local3, _local4.modifierParameters);
} else {
_local7 = _local8 - _local1.timeStart;
_local10 = _local4.valueStart;
_local9 = _local4.valueComplete - _local4.valueStart;
_local6 = _local1.timeComplete - _local1.timeStart;
_local3 = _local1.transition(_local7, _local10, _local9, _local6, _local1.transitionParams);
}
if (_local1.rounded) {
_local3 = Math.round(_local3);
}
if (_local4.isSpecialProperty) {
_specialPropertyList[_local2].setValue(_local5, _local3, _specialPropertyList[_local2].parameters, _local1.properties[_local2].extra);
} else {
_local5[_local2] = _local3;
}
}
_local1.updatesSkipped = 0;
if (_local1.onUpdate != undefined) {
_local12 = ((_local1.onUpdateScope != undefined) ? (_local1.onUpdateScope) : (_local5));
try {
_local1.onUpdate.apply(_local12, _local1.onUpdateParams);
} catch(e:Error) {
handleError(_local1, e, "onUpdate");
}
}
} else {
_local1.updatesSkipped++;
}
}
if (_local13 && (_local1.onComplete != undefined)) {
_local12 = ((_local1.onCompleteScope != undefined) ? (_local1.onCompleteScope) : (_local5));
try {
_local1.onComplete.apply(_local12, _local1.onCompleteParams);
} catch(e:Error) {
handleError(_local1, e, "onComplete");
}
}
return(!_local13);
}
return(true);
}
static function init() {
_inited = true;
_transitionList = new Object();
caurina.transitions.Equations.init();
_specialPropertyList = new Object();
_specialPropertyModifierList = new Object();
_specialPropertySplitterList = new Object();
}
static function registerTransition(p_name, p_function) {
if (!_inited) {
init();
}
_transitionList[p_name] = p_function;
}
static function registerSpecialProperty(p_name, p_getFunction, p_setFunction, p_parameters, p_preProcessFunction) {
if (!_inited) {
init();
}
var _local1 = new caurina.transitions.SpecialProperty(p_getFunction, p_setFunction, p_parameters, p_preProcessFunction);
_specialPropertyList[p_name] = _local1;
}
static function registerSpecialPropertyModifier(p_name, p_modifyFunction, p_getFunction) {
if (!_inited) {
init();
}
var _local1 = new caurina.transitions.SpecialPropertyModifier(p_modifyFunction, p_getFunction);
_specialPropertyModifierList[p_name] = _local1;
}
static function registerSpecialPropertySplitter(p_name, p_splitFunction, p_parameters) {
if (!_inited) {
init();
}
var _local1 = new caurina.transitions.SpecialPropertySplitter(p_splitFunction, p_parameters);
_specialPropertySplitterList[p_name] = _local1;
}
static function startEngine() {
_engineExists = true;
_tweenList = new Array();
var _local2 = Math.floor(Math.random() * 999999);
var _local3 = _root.createEmptyMovieClip(getControllerName(), 31338 + _local2);
_local3.onEnterFrame = function () {
caurina.transitions.Tweener.onEnterFrame();
};
_currentTimeFrame = 0;
updateTime();
}
static function stopEngine() {
_engineExists = false;
_tweenList = null;
_currentTime = 0;
_currentTimeFrame = 0;
delete _root[getControllerName()].onEnterFrame;
_root[getControllerName()].removeMovieClip();
}
static function updateTime() {
_currentTime = getTimer();
}
static function updateFrame() {
_currentTimeFrame++;
}
static function onEnterFrame() {
updateTime();
updateFrame();
var _local1 = false;
_local1 = updateTweens();
if (!_local1) {
stopEngine();
}
}
static function setTimeScale(p_time) {
var _local1;
var _local2;
if (isNaN(p_time)) {
p_time = 1;
}
if (p_time < 1E-5) {
p_time = 1E-5;
}
if (p_time != _timeScale) {
_local1 = 0;
while (_local1 < _tweenList.length) {
_local2 = getCurrentTweeningTime(_tweenList[_local1]);
_tweenList[_local1].timeStart = _local2 - (((_local2 - _tweenList[_local1].timeStart) * _timeScale) / p_time);
_tweenList[_local1].timeComplete = _local2 - (((_local2 - _tweenList[_local1].timeComplete) * _timeScale) / p_time);
if (_tweenList[_local1].timePaused != undefined) {
_tweenList[_local1].timePaused = _local2 - (((_local2 - _tweenList[_local1].timePaused) * _timeScale) / p_time);
}
_local1++;
}
_timeScale = p_time;
}
}
static function isTweening(p_scope) {
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
if (_tweenList[_local1].scope == p_scope) {
return(true);
}
_local1++;
}
return(false);
}
static function getTweens(p_scope) {
var _local1;
var _local2;
var _local3 = new Array();
_local1 = 0;
while (_local1 < _tweenList.length) {
if (_tweenList[_local1].scope == p_scope) {
for (_local2 in _tweenList[_local1].properties) {
_local3.push(_local2);
}
}
_local1++;
}
return(_local3);
}
static function getTweenCount(p_scope) {
var _local1;
var _local2 = 0;
_local1 = 0;
while (_local1 < _tweenList.length) {
if (_tweenList[_local1].scope == p_scope) {
_local2 = _local2 + caurina.transitions.AuxFunctions.getObjectLength(_tweenList[_local1].properties);
}
_local1++;
}
return(_local2);
}
static function handleError(pTweening, pError, pCallBackName) {
if ((pTweening.onError != undefined) && (typeof(pTweening.onError == "function"))) {
var _local3 = ((pTweening.onErrorScope != undefined) ? (pTweening.onErrorScope) : (pTweening.scope));
try {
pTweening.onError.apply(_local3, [pTweening.scope, pError]);
} catch(metaError:Error) {
printError((((pTweening.scope.toString() + " raised an error while executing the 'onError' handler. Original error:\n ") + pError) + "\nonError error: ") + metaError);
}
} else if (pTweening.onError == undefined) {
printError((((pTweening.scope.toString() + " raised an error while executing the '") + pCallBackName.toString()) + "'handler. \n") + pError);
}
}
static function getCurrentTweeningTime(p_tweening) {
return((p_tweening.useFrames ? (_currentTimeFrame) : (_currentTime)));
}
static function getVersion() {
return("AS2 1.31.74");
}
static function getControllerName() {
return("__tweener_controller__" + getVersion());
}
static function printError(p_message) {
trace("## [Tweener] Error: " + p_message);
}
static var _engineExists = false;
static var _inited = false;
static var _timeScale = 1;
}
Symbol 69 MovieClip [__Packages.caurina.transitions.TweenListObj] Frame 0
class caurina.transitions.TweenListObj
{
var scope, timeStart, timeComplete, useFrames, transition, transitionParams, properties, isPaused, timePaused, isCaller, updatesSkipped, timesCalled, skipUpdates, hasStarted, onStart, onUpdate, onComplete, onOverwrite, onError, onStartParams, onUpdateParams, onCompleteParams, onOverwriteParams, onStartScope, onUpdateScope, onCompleteScope, onOverwriteScope, onErrorScope, rounded, count, waitFrames;
function TweenListObj (p_scope, p_timeStart, p_timeComplete, p_useFrames, p_transition, p_transitionParams) {
scope = p_scope;
timeStart = p_timeStart;
timeComplete = p_timeComplete;
useFrames = p_useFrames;
transition = p_transition;
transitionParams = p_transitionParams;
properties = new Object();
isPaused = false;
timePaused = undefined;
isCaller = false;
updatesSkipped = 0;
timesCalled = 0;
skipUpdates = 0;
hasStarted = false;
}
function clone(omitEvents) {
var _local2 = new caurina.transitions.TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams);
_local2.properties = new Object();
for (var _local3 in properties) {
_local2.properties[_local3] = properties[_local3].clone();
}
_local2.skipUpdates = skipUpdates;
_local2.updatesSkipped = updatesSkipped;
if (!omitEvents) {
_local2.onStart = onStart;
_local2.onUpdate = onUpdate;
_local2.onComplete = onComplete;
_local2.onOverwrite = onOverwrite;
_local2.onError = onError;
_local2.onStartParams = onStartParams;
_local2.onUpdateParams = onUpdateParams;
_local2.onCompleteParams = onCompleteParams;
_local2.onOverwriteParams = onOverwriteParams;
_local2.onStartScope = onStartScope;
_local2.onUpdateScope = onUpdateScope;
_local2.onCompleteScope = onCompleteScope;
_local2.onOverwriteScope = onOverwriteScope;
_local2.onErrorScope = onErrorScope;
}
_local2.rounded = rounded;
_local2.isPaused = isPaused;
_local2.timePaused = timePaused;
_local2.isCaller = isCaller;
_local2.count = count;
_local2.timesCalled = timesCalled;
_local2.waitFrames = waitFrames;
_local2.hasStarted = hasStarted;
return(_local2);
}
function toString() {
var _local2 = "\n[TweenListObj ";
_local2 = _local2 + ("scope:" + String(scope));
_local2 = _local2 + ", properties:";
var _local3 = true;
for (var _local4 in properties) {
if (!_local3) {
_local2 = _local2 + ",";
}
_local2 = _local2 + ("[name:" + properties[_local4].name);
_local2 = _local2 + (",valueStart:" + properties[_local4].valueStart);
_local2 = _local2 + (",valueComplete:" + properties[_local4].valueComplete);
_local2 = _local2 + "]";
_local3 = false;
}
_local2 = _local2 + (", timeStart:" + String(timeStart));
_local2 = _local2 + (", timeComplete:" + String(timeComplete));
_local2 = _local2 + (", useFrames:" + String(useFrames));
_local2 = _local2 + (", transition:" + String(transition));
_local2 = _local2 + (", transitionParams:" + String(transitionParams));
if (skipUpdates) {
_local2 = _local2 + (", skipUpdates:" + String(skipUpdates));
}
if (updatesSkipped) {
_local2 = _local2 + (", updatesSkipped:" + String(updatesSkipped));
}
if (onStart) {
_local2 = _local2 + (", onStart:" + String(onStart));
}
if (onUpdate) {
_local2 = _local2 + (", onUpdate:" + String(onUpdate));
}
if (onComplete) {
_local2 = _local2 + (", onComplete:" + String(onComplete));
}
if (onOverwrite) {
_local2 = _local2 + (", onOverwrite:" + String(onOverwrite));
}
if (onError) {
_local2 = _local2 + (", onError:" + String(onError));
}
if (onStartParams) {
_local2 = _local2 + (", onStartParams:" + String(onStartParams));
}
if (onUpdateParams) {
_local2 = _local2 + (", onUpdateParams:" + String(onUpdateParams));
}
if (onCompleteParams) {
_local2 = _local2 + (", onCompleteParams:" + String(onCompleteParams));
}
if (onOverwriteParams) {
_local2 = _local2 + (", onOverwriteParams:" + String(onOverwriteParams));
}
if (onStartScope) {
_local2 = _local2 + (", onStartScope:" + String(onStartScope));
}
if (onUpdateScope) {
_local2 = _local2 + (", onUpdateScope:" + String(onUpdateScope));
}
if (onCompleteScope) {
_local2 = _local2 + (", onCompleteScope:" + String(onCompleteScope));
}
if (onOverwriteScope) {
_local2 = _local2 + (", onOverwriteScope:" + String(onOverwriteScope));
}
if (onErrorScope) {
_local2 = _local2 + (", onErrorScope:" + String(onErrorScope));
}
if (rounded) {
_local2 = _local2 + (", rounded:" + String(rounded));
}
if (isPaused) {
_local2 = _local2 + (", isPaused:" + String(isPaused));
}
if (timePaused) {
_local2 = _local2 + (", timePaused:" + String(timePaused));
}
if (isCaller) {
_local2 = _local2 + (", isCaller:" + String(isCaller));
}
if (count) {
_local2 = _local2 + (", count:" + String(count));
}
if (timesCalled) {
_local2 = _local2 + (", timesCalled:" + String(timesCalled));
}
if (waitFrames) {
_local2 = _local2 + (", waitFrames:" + String(waitFrames));
}
if (hasStarted) {
_local2 = _local2 + (", hasStarted:" + String(hasStarted));
}
_local2 = _local2 + "]\n";
return(_local2);
}
static function makePropertiesChain(p_obj) {
var _local6 = p_obj.base;
if (_local6) {
var _local5 = {};
var _local2;
if (_local6 instanceof Array) {
_local2 = [];
var _local3 = 0;
while (_local3 < _local6.length) {
_local2.push(_local6[_local3]);
_local3++;
}
} else {
_local2 = [_local6];
}
_local2.push(p_obj);
var _local4;
var _local7 = _local2.length;
var _local1 = 0;
while (_local1 < _local7) {
if (_local2[_local1].base) {
_local4 = caurina.transitions.AuxFunctions.concatObjects(makePropertiesChain(_local2[_local1].base), _local2[_local1]);
} else {
_local4 = _local2[_local1];
}
_local5 = caurina.transitions.AuxFunctions.concatObjects(_local5, _local4);
_local1++;
}
if (_local5.base) {
delete _local5.base;
}
return(_local5);
}
return(p_obj);
}
}
Symbol 70 MovieClip [__Packages.caurina.transitions.AuxFunctions] Frame 0
class caurina.transitions.AuxFunctions
{
function AuxFunctions () {
}
static function numberToR(p_num) {
return((p_num & 16711680) >> 16);
}
static function numberToG(p_num) {
return((p_num & 65280) >> 8);
}
static function numberToB(p_num) {
return(p_num & 255);
}
static function isInArray(p_string, p_array) {
var _local2 = p_array.length;
var _local1 = 0;
while (_local1 < _local2) {
if (p_array[_local1] == p_string) {
return(true);
}
_local1++;
}
return(false);
}
static function getObjectLength(p_object) {
var _local1 = 0;
for (var _local2 in p_object) {
_local1++;
}
return(_local1);
}
static function concatObjects() {
var _local4 = {};
var _local2;
var _local3 = 0;
while (_local3 < arguments.length) {
_local2 = arguments[_local3];
for (var _local5 in _local2) {
if (_local2[_local5] == null) {
delete _local4[_local5];
} else {
_local4[_local5] = _local2[_local5];
}
}
_local3++;
}
return(_local4);
}
}
Symbol 71 MovieClip [__Packages.caurina.transitions.PropertyInfoObj] Frame 0
class caurina.transitions.PropertyInfoObj
{
var valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, hasModifier, modifierFunction, modifierParameters;
function PropertyInfoObj (p_valueStart, p_valueComplete, p_originalValueComplete, p_arrayIndex, p_extra, p_isSpecialProperty, p_modifierFunction, p_modifierParameters) {
valueStart = p_valueStart;
valueComplete = p_valueComplete;
originalValueComplete = p_originalValueComplete;
arrayIndex = p_arrayIndex;
extra = p_extra;
isSpecialProperty = p_isSpecialProperty;
hasModifier = p_modifierFunction != undefined;
modifierFunction = p_modifierFunction;
modifierParameters = p_modifierParameters;
}
function clone() {
var _local2 = new caurina.transitions.PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters);
return(_local2);
}
function toString() {
var _local2 = "\n[PropertyInfoObj ";
_local2 = _local2 + ("valueStart:" + String(valueStart));
_local2 = _local2 + ", ";
_local2 = _local2 + ("valueComplete:" + String(valueComplete));
_local2 = _local2 + ", ";
_local2 = _local2 + ("originalValueComplete:" + String(originalValueComplete));
_local2 = _local2 + ", ";
_local2 = _local2 + ("arrayIndex:" + String(arrayIndex));
_local2 = _local2 + ", ";
_local2 = _local2 + ("extra:" + String(extra));
_local2 = _local2 + ", ";
_local2 = _local2 + ("isSpecialProperty:" + String(isSpecialProperty));
_local2 = _local2 + ", ";
_local2 = _local2 + ("hasModifier:" + String(hasModifier));
_local2 = _local2 + ", ";
_local2 = _local2 + ("modifierFunction:" + String(modifierFunction));
_local2 = _local2 + ", ";
_local2 = _local2 + ("modifierParameters:" + String(modifierParameters));
_local2 = _local2 + "]\n";
return(_local2);
}
}
Symbol 72 MovieClip [__Packages.caurina.transitions.SpecialPropertySplitter] Frame 0
class caurina.transitions.SpecialPropertySplitter
{
var parameters;
function SpecialPropertySplitter (p_splitFunction, p_parameters) {
splitValues = p_splitFunction;
parameters = p_parameters;
}
function splitValues(p_value, p_parameters) {
return([]);
}
function toString() {
var _local2 = "";
_local2 = _local2 + "[SpecialPropertySplitter ";
_local2 = _local2 + ("splitValues:" + splitValues.toString());
_local2 = _local2 + ", ";
_local2 = _local2 + ("parameters:" + parameters.toString());
_local2 = _local2 + "]";
return(_local2);
}
}
Symbol 73 MovieClip [__Packages.caurina.transitions.Equations] Frame 0
class caurina.transitions.Equations
{
function Equations () {
trace("Equations is a static class and should not be instantiated.");
}
static function init() {
caurina.transitions.Tweener.registerTransition("easenone", easeNone);
caurina.transitions.Tweener.registerTransition("linear", easeNone);
caurina.transitions.Tweener.registerTransition("easeinquad", easeInQuad);
caurina.transitions.Tweener.registerTransition("easeoutquad", easeOutQuad);
caurina.transitions.Tweener.registerTransition("easeinoutquad", easeInOutQuad);
caurina.transitions.Tweener.registerTransition("easeoutinquad", easeOutInQuad);
caurina.transitions.Tweener.registerTransition("easeincubic", easeInCubic);
caurina.transitions.Tweener.registerTransition("easeoutcubic", easeOutCubic);
caurina.transitions.Tweener.registerTransition("easeinoutcubic", easeInOutCubic);
caurina.transitions.Tweener.registerTransition("easeoutincubic", easeOutInCubic);
caurina.transitions.Tweener.registerTransition("easeinquart", easeInQuart);
caurina.transitions.Tweener.registerTransition("easeoutquart", easeOutQuart);
caurina.transitions.Tweener.registerTransition("easeinoutquart", easeInOutQuart);
caurina.transitions.Tweener.registerTransition("easeoutinquart", easeOutInQuart);
caurina.transitions.Tweener.registerTransition("easeinquint", easeInQuint);
caurina.transitions.Tweener.registerTransition("easeoutquint", easeOutQuint);
caurina.transitions.Tweener.registerTransition("easeinoutquint", easeInOutQuint);
caurina.transitions.Tweener.registerTransition("easeoutinquint", easeOutInQuint);
caurina.transitions.Tweener.registerTransition("easeinsine", easeInSine);
caurina.transitions.Tweener.registerTransition("easeoutsine", easeOutSine);
caurina.transitions.Tweener.registerTransition("easeinoutsine", easeInOutSine);
caurina.transitions.Tweener.registerTransition("easeoutinsine", easeOutInSine);
caurina.transitions.Tweener.registerTransition("easeincirc", easeInCirc);
caurina.transitions.Tweener.registerTransition("easeoutcirc", easeOutCirc);
caurina.transitions.Tweener.registerTransition("easeinoutcirc", easeInOutCirc);
caurina.transitions.Tweener.registerTransition("easeoutincirc", easeOutInCirc);
caurina.transitions.Tweener.registerTransition("easeinexpo", easeInExpo);
caurina.transitions.Tweener.registerTransition("easeoutexpo", easeOutExpo);
caurina.transitions.Tweener.registerTransition("easeinoutexpo", easeInOutExpo);
caurina.transitions.Tweener.registerTransition("easeoutinexpo", easeOutInExpo);
caurina.transitions.Tweener.registerTransition("easeinelastic", easeInElastic);
caurina.transitions.Tweener.registerTransition("easeoutelastic", easeOutElastic);
caurina.transitions.Tweener.registerTransition("easeinoutelastic", easeInOutElastic);
caurina.transitions.Tweener.registerTransition("easeoutinelastic", easeOutInElastic);
caurina.transitions.Tweener.registerTransition("easeinback", easeInBack);
caurina.transitions.Tweener.registerTransition("easeoutback", easeOutBack);
caurina.transitions.Tweener.registerTransition("easeinoutback", easeInOutBack);
caurina.transitions.Tweener.registerTransition("easeoutinback", easeOutInBack);
caurina.transitions.Tweener.registerTransition("easeinbounce", easeInBounce);
caurina.transitions.Tweener.registerTransition("easeoutbounce", easeOutBounce);
caurina.transitions.Tweener.registerTransition("easeinoutbounce", easeInOutBounce);
caurina.transitions.Tweener.registerTransition("easeoutinbounce", easeOutInBounce);
}
static function easeNone(t, b, c, d, p_params) {
return(((c * t) / d) + b);
}
static function easeInQuad(t, b, c, d, p_params) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOutQuad(t, b, c, d, p_params) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOutQuad(t, b, c, d, p_params) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static function easeOutInQuad(t, b, c, d, p_params) {
if (t < (d / 2)) {
return(easeOutQuad(t * 2, b, c / 2, d, p_params));
}
return(easeInQuad((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInCubic(t, b, c, d, p_params) {
t = t / d;
return((((c * t) * t) * t) + b);
}
static function easeOutCubic(t, b, c, d, p_params) {
t = (t / d) - 1;
return((c * (((t * t) * t) + 1)) + b);
}
static function easeInOutCubic(t, b, c, d, p_params) {
t = t / (d / 2);
if (t < 1) {
return(((((c / 2) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((t * t) * t) + 2)) + b);
}
static function easeOutInCubic(t, b, c, d, p_params) {
if (t < (d / 2)) {
return(easeOutCubic(t * 2, b, c / 2, d, p_params));
}
return(easeInCubic((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInQuart(t, b, c, d, p_params) {
t = t / d;
return(((((c * t) * t) * t) * t) + b);
}
static function easeOutQuart(t, b, c, d, p_params) {
t = (t / d) - 1;
return(((-c) * ((((t * t) * t) * t) - 1)) + b);
}
static function easeInOutQuart(t, b, c, d, p_params) {
t = t / (d / 2);
if (t < 1) {
return((((((c / 2) * t) * t) * t) * t) + b);
}
t = t - 2;
return((((-c) / 2) * ((((t * t) * t) * t) - 2)) + b);
}
static function easeOutInQuart(t, b, c, d, p_params) {
if (t < (d / 2)) {
return(easeOutQuart(t * 2, b, c / 2, d, p_params));
}
return(easeInQuart((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInQuint(t, b, c, d, p_params) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOutQuint(t, b, c, d, p_params) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOutQuint(t, b, c, d, p_params) {
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 function easeOutInQuint(t, b, c, d, p_params) {
if (t < (d / 2)) {
return(easeOutQuint(t * 2, b, c / 2, d, p_params));
}
return(easeInQuint((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInSine(t, b, c, d, p_params) {
return((((-c) * Math.cos((t / d) * (Math.PI/2))) + c) + b);
}
static function easeOutSine(t, b, c, d, p_params) {
return((c * Math.sin((t / d) * (Math.PI/2))) + b);
}
static function easeInOutSine(t, b, c, d, p_params) {
return((((-c) / 2) * (Math.cos((Math.PI * t) / d) - 1)) + b);
}
static function easeOutInSine(t, b, c, d, p_params) {
if (t < (d / 2)) {
return(easeOutSine(t * 2, b, c / 2, d, p_params));
}
return(easeInSine((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInExpo(t, b, c, d, p_params) {
return(((t == 0) ? (b) : (((c * Math.pow(2, 10 * ((t / d) - 1))) + b) - (c * 0.001))));
}
static function easeOutExpo(t, b, c, d, p_params) {
return(((t == d) ? (b + c) : (((c * 1.001) * ((-Math.pow(2, (-10 * t) / d)) + 1)) + b)));
}
static function easeInOutExpo(t, b, c, d, p_params) {
if (t == 0) {
return(b);
}
if (t == d) {
return(b + c);
}
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * Math.pow(2, 10 * (t - 1))) + b) - (c * 0.0005));
}
t--;
return((((c / 2) * 1.0005) * ((-Math.pow(2, -10 * t)) + 2)) + b);
}
static function easeOutInExpo(t, b, c, d, p_params) {
if (t < (d / 2)) {
return(easeOutExpo(t * 2, b, c / 2, d, p_params));
}
return(easeInExpo((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInCirc(t, b, c, d, p_params) {
t = t / d;
return(((-c) * (Math.sqrt(1 - (t * t)) - 1)) + b);
}
static function easeOutCirc(t, b, c, d, p_params) {
t = (t / d) - 1;
return((c * Math.sqrt(1 - (t * t))) + b);
}
static function easeInOutCirc(t, b, c, d, p_params) {
t = t / (d / 2);
if (t < 1) {
return((((-c) / 2) * (Math.sqrt(1 - (t * t)) - 1)) + b);
}
t = t - 2;
return(((c / 2) * (Math.sqrt(1 - (t * t)) + 1)) + b);
}
static function easeOutInCirc(t, b, c, d, p_params) {
if (t < (d / 2)) {
return(easeOutCirc(t * 2, b, c / 2, d, p_params));
}
return(easeInCirc((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInElastic(t, b, c, d, p_params) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
var _local2 = ((p_params.period == undefined) ? (d * 0.3) : (p_params.period));
var _local5;
var _local1 = p_params.amplitude;
if ((!_local1) || (_local1 < Math.abs(c))) {
_local1 = c;
_local5 = _local2 / 4;
} else {
_local5 = (_local2 / (Math.PI*2)) * Math.asin(c / _local1);
}
t = t - 1;
return((-((_local1 * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / _local2))) + b);
}
static function easeOutElastic(t, b, c, d, p_params) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
var _local3 = ((p_params.period == undefined) ? (d * 0.3) : (p_params.period));
var _local5;
var _local1 = p_params.amplitude;
if ((!_local1) || (_local1 < Math.abs(c))) {
_local1 = c;
_local5 = _local3 / 4;
} else {
_local5 = (_local3 / (Math.PI*2)) * Math.asin(c / _local1);
}
return((((_local1 * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / _local3)) + c) + b);
}
static function easeInOutElastic(t, b, c, d, p_params) {
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
var _local3 = ((p_params.period == undefined) ? (d * 0.45) : (p_params.period));
var _local5;
var _local1 = p_params.amplitude;
if ((!_local1) || (_local1 < Math.abs(c))) {
_local1 = c;
_local5 = _local3 / 4;
} else {
_local5 = (_local3 / (Math.PI*2)) * Math.asin(c / _local1);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((_local1 * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / _local3))) + b);
}
t = t - 1;
return(((((_local1 * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / _local3)) * 0.5) + c) + b);
}
static function easeOutInElastic(t, b, c, d, p_params) {
if (t < (d / 2)) {
return(easeOutElastic(t * 2, b, c / 2, d, p_params));
}
return(easeInElastic((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInBack(t, b, c, d, p_params) {
var _local1 = ((p_params.overshoot == undefined) ? 1.70158 : (p_params.overshoot));
t = t / d;
return((((c * t) * t) * (((_local1 + 1) * t) - _local1)) + b);
}
static function easeOutBack(t, b, c, d, p_params) {
var _local2 = ((p_params.overshoot == undefined) ? 1.70158 : (p_params.overshoot));
t = (t / d) - 1;
return((c * (((t * t) * (((_local2 + 1) * t) + _local2)) + 1)) + b);
}
static function easeInOutBack(t, b, c, d, p_params) {
var _local2 = ((p_params.overshoot == undefined) ? 1.70158 : (p_params.overshoot));
t = t / (d / 2);
if (t < 1) {
_local2 = _local2 * 1.525;
return(((c / 2) * ((t * t) * (((_local2 + 1) * t) - _local2))) + b);
}
t = t - 2;
_local2 = _local2 * 1.525;
return(((c / 2) * (((t * t) * (((_local2 + 1) * t) + _local2)) + 2)) + b);
}
static function easeOutInBack(t, b, c, d, p_params) {
if (t < (d / 2)) {
return(easeOutBack(t * 2, b, c / 2, d, p_params));
}
return(easeInBack((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInBounce(t, b, c, d, p_params) {
return((c - easeOutBounce(d - t, 0, c, d)) + b);
}
static function easeOutBounce(t, b, c, d, p_params) {
t = t / d;
if (t < 0.363636363636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.727272727272727) {
t = t - 0.545454545454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.909090909090909) {
t = t - 0.818181818181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.954545454545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeInOutBounce(t, b, c, d, p_params) {
if (t < (d / 2)) {
return((easeInBounce(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOutBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static function easeOutInBounce(t, b, c, d, p_params) {
if (t < (d / 2)) {
return(easeOutBounce(t * 2, b, c / 2, d, p_params));
}
return(easeInBounce((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
}
Symbol 74 MovieClip [__Packages.caurina.transitions.SpecialProperty] Frame 0
class caurina.transitions.SpecialProperty
{
var getValue, setValue, parameters, preProcess;
function SpecialProperty (p_getFunction, p_setFunction, p_parameters, p_preProcessFunction) {
getValue = p_getFunction;
setValue = p_setFunction;
parameters = p_parameters;
preProcess = p_preProcessFunction;
}
function toString() {
var _local2 = "";
_local2 = _local2 + "[SpecialProperty ";
_local2 = _local2 + ("getValue:" + getValue.toString());
_local2 = _local2 + ", ";
_local2 = _local2 + ("setValue:" + setValue.toString());
_local2 = _local2 + ", ";
_local2 = _local2 + ("parameters:" + parameters.toString());
_local2 = _local2 + ", ";
_local2 = _local2 + ("preProcess:" + preProcess.toString());
_local2 = _local2 + "]";
return(_local2);
}
}
Symbol 75 MovieClip [__Packages.caurina.transitions.SpecialPropertyModifier] Frame 0
class caurina.transitions.SpecialPropertyModifier
{
var modifyValues, getValue;
function SpecialPropertyModifier (p_modifyFunction, p_getFunction) {
modifyValues = p_modifyFunction;
getValue = p_getFunction;
}
function toString() {
var _local2 = "";
_local2 = _local2 + "[SpecialPropertyModifier ";
_local2 = _local2 + ("modifyValues:" + modifyValues.toString());
_local2 = _local2 + ", ";
_local2 = _local2 + ("getValue:" + getValue.toString());
_local2 = _local2 + "]";
return(_local2);
}
}
Symbol 76 MovieClip [__Packages.caurina.transitions.properties.FilterShortcuts] Frame 0
class caurina.transitions.properties.FilterShortcuts
{
function FilterShortcuts () {
trace("This is an static class and should not be instantiated.");
}
static function init() {
caurina.transitions.Tweener.registerSpecialPropertySplitter("_filter", _filter_splitter);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_angle", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "angle"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_blurX", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "blurX"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_blurY", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "blurY"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_distance", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "distance"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_highlightAlpha", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "highlightAlpha"]);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_Bevel_highlightColor", _generic_color_splitter, ["_Bevel_highlightColor_r", "_Bevel_highlightColor_g", "_Bevel_highlightColor_b"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_highlightColor_r", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "highlightColor", "color", "r"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_highlightColor_g", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "highlightColor", "color", "g"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_highlightColor_b", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "highlightColor", "color", "b"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_knockout", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "knockout"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_quality", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "quality"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_shadowAlpha", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "shadowAlpha"]);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_Bevel_shadowColor", _generic_color_splitter, ["_Bevel_shadowColor_r", "_Bevel_shadowColor_g", "_Bevel_shadowColor_b"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_shadowColor_r", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "shadowColor", "color", "r"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_shadowColor_g", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "shadowColor", "color", "g"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_shadowColor_b", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "shadowColor", "color", "b"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_strength", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "strength"]);
caurina.transitions.Tweener.registerSpecialProperty("_Bevel_type", _filter_property_get, _filter_property_set, [flash.filters.BevelFilter, "type"]);
caurina.transitions.Tweener.registerSpecialProperty("_Blur_blurX", _filter_property_get, _filter_property_set, [flash.filters.BlurFilter, "blurX"]);
caurina.transitions.Tweener.registerSpecialProperty("_Blur_blurY", _filter_property_get, _filter_property_set, [flash.filters.BlurFilter, "blurY"]);
caurina.transitions.Tweener.registerSpecialProperty("_Blur_quality", _filter_property_get, _filter_property_set, [flash.filters.BlurFilter, "quality"]);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_ColorMatrix_matrix", _generic_matrix_splitter, [[1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], ["_ColorMatrix_matrix_rr", "_ColorMatrix_matrix_rg", "_ColorMatrix_matrix_rb", "_ColorMatrix_matrix_ra", "_ColorMatrix_matrix_ro", "_ColorMatrix_matrix_gr", "_ColorMatrix_matrix_gg", "_ColorMatrix_matrix_gb", "_ColorMatrix_matrix_ga", "_ColorMatrix_matrix_go", "_ColorMatrix_matrix_br", "_ColorMatrix_matrix_bg", "_ColorMatrix_matrix_bb", "_ColorMatrix_matrix_ba", "_ColorMatrix_matrix_bo", "_ColorMatrix_matrix_ar", "_ColorMatrix_matrix_ag", "_ColorMatrix_matrix_ab", "_ColorMatrix_matrix_aa", "_ColorMatrix_matrix_ao"]]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_rr", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 0]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_rg", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 1]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_rb", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 2]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_ra", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 3]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_ro", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 4]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_gr", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 5]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_gg", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 6]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_gb", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 7]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_ga", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 8]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_go", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 9]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_br", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 10]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_bg", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 11]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_bb", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 12]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_ba", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 13]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_bo", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 14]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_ar", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 15]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_ag", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 16]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_ab", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 17]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_aa", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 18]);
caurina.transitions.Tweener.registerSpecialProperty("_ColorMatrix_matrix_ao", _filter_property_get, _filter_property_set, [flash.filters.ColorMatrixFilter, "matrix", "matrix", 19]);
caurina.transitions.Tweener.registerSpecialProperty("_Convolution_alpha", _filter_property_get, _filter_property_set, [flash.filters.ConvolutionFilter, "alpha"]);
caurina.transitions.Tweener.registerSpecialProperty("_Convolution_bias", _filter_property_get, _filter_property_set, [flash.filters.ConvolutionFilter, "bias"]);
caurina.transitions.Tweener.registerSpecialProperty("_Convolution_clamp", _filter_property_get, _filter_property_set, [flash.filters.ConvolutionFilter, "clamp"]);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_Convolution_color", _generic_color_splitter, ["_Convolution_color_r", "_Convolution_color_g", "_Convolution_color_b"]);
caurina.transitions.Tweener.registerSpecialProperty("_Convolution_color_r", _filter_property_get, _filter_property_set, [flash.filters.ConvolutionFilter, "color", "color", "r"]);
caurina.transitions.Tweener.registerSpecialProperty("_Convolution_color_g", _filter_property_get, _filter_property_set, [flash.filters.ConvolutionFilter, "color", "color", "g"]);
caurina.transitions.Tweener.registerSpecialProperty("_Convolution_color_b", _filter_property_get, _filter_property_set, [flash.filters.ConvolutionFilter, "color", "color", "b"]);
caurina.transitions.Tweener.registerSpecialProperty("_Convolution_divisor", _filter_property_get, _filter_property_set, [flash.filters.ConvolutionFilter, "divisor"]);
caurina.transitions.Tweener.registerSpecialProperty("_Convolution_matrixX", _filter_property_get, _filter_property_set, [flash.filters.ConvolutionFilter, "matrixX"]);
caurina.transitions.Tweener.registerSpecialProperty("_Convolution_matrixY", _filter_property_get, _filter_property_set, [flash.filters.ConvolutionFilter, "matrixY"]);
caurina.transitions.Tweener.registerSpecialProperty("_Convolution_preserveAlpha", _filter_property_get, _filter_property_set, [flash.filters.ConvolutionFilter, "preserveAlpha"]);
caurina.transitions.Tweener.registerSpecialProperty("_DisplacementMap_alpha", _filter_property_get, _filter_property_set, [flash.filters.DisplacementMapFilter, "alpha"]);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_DisplacementMap_color", _generic_color_splitter, ["_DisplacementMap_color_r", "_DisplacementMap_color_r", "_DisplacementMap_color_r"]);
caurina.transitions.Tweener.registerSpecialProperty("_DisplacementMap_color_r", _filter_property_get, _filter_property_set, [flash.filters.DisplacementMapFilter, "color", "color", "r"]);
caurina.transitions.Tweener.registerSpecialProperty("_DisplacementMap_color_g", _filter_property_get, _filter_property_set, [flash.filters.DisplacementMapFilter, "color", "color", "g"]);
caurina.transitions.Tweener.registerSpecialProperty("_DisplacementMap_color_b", _filter_property_get, _filter_property_set, [flash.filters.DisplacementMapFilter, "color", "color", "b"]);
caurina.transitions.Tweener.registerSpecialProperty("_DisplacementMap_componentX", _filter_property_get, _filter_property_set, [flash.filters.DisplacementMapFilter, "componentX"]);
caurina.transitions.Tweener.registerSpecialProperty("_DisplacementMap_componentY", _filter_property_get, _filter_property_set, [flash.filters.DisplacementMapFilter, "componentY"]);
caurina.transitions.Tweener.registerSpecialProperty("_DisplacementMap_mapBitmap", _filter_property_get, _filter_property_set, [flash.filters.DisplacementMapFilter, "mapBitmap"]);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_DisplacementMap_mapPoint", _generic_point_splitter, ["_DisplacementMap_mapPoint_x", "_DisplacementMap_mapPoint_y"]);
caurina.transitions.Tweener.registerSpecialProperty("_DisplacementMap_mapPoint_x", _filter_property_get, _filter_property_set, [flash.filters.DisplacementMapFilter, "mapPoint", "point", "x"]);
caurina.transitions.Tweener.registerSpecialProperty("_DisplacementMap_mapPoint_y", _filter_property_get, _filter_property_set, [flash.filters.DisplacementMapFilter, "mapPoint", "point", "y"]);
caurina.transitions.Tweener.registerSpecialProperty("_DisplacementMap_mode", _filter_property_get, _filter_property_set, [flash.filters.DisplacementMapFilter, "mode"]);
caurina.transitions.Tweener.registerSpecialProperty("_DisplacementMap_scaleX", _filter_property_get, _filter_property_set, [flash.filters.DisplacementMapFilter, "scaleX"]);
caurina.transitions.Tweener.registerSpecialProperty("_DisplacementMap_scaleY", _filter_property_get, _filter_property_set, [flash.filters.DisplacementMapFilter, "scaleY"]);
caurina.transitions.Tweener.registerSpecialProperty("_DropShadow_alpha", _filter_property_get, _filter_property_set, [flash.filters.DropShadowFilter, "alpha"]);
caurina.transitions.Tweener.registerSpecialProperty("_DropShadow_angle", _filter_property_get, _filter_property_set, [flash.filters.DropShadowFilter, "angle"]);
caurina.transitions.Tweener.registerSpecialProperty("_DropShadow_blurX", _filter_property_get, _filter_property_set, [flash.filters.DropShadowFilter, "blurX"]);
caurina.transitions.Tweener.registerSpecialProperty("_DropShadow_blurY", _filter_property_get, _filter_property_set, [flash.filters.DropShadowFilter, "blurY"]);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_DropShadow_color", _generic_color_splitter, ["_DropShadow_color_r", "_DropShadow_color_g", "_DropShadow_color_b"]);
caurina.transitions.Tweener.registerSpecialProperty("_DropShadow_color_r", _filter_property_get, _filter_property_set, [flash.filters.DropShadowFilter, "color", "color", "r"]);
caurina.transitions.Tweener.registerSpecialProperty("_DropShadow_color_g", _filter_property_get, _filter_property_set, [flash.filters.DropShadowFilter, "color", "color", "g"]);
caurina.transitions.Tweener.registerSpecialProperty("_DropShadow_color_b", _filter_property_get, _filter_property_set, [flash.filters.DropShadowFilter, "color", "color", "b"]);
caurina.transitions.Tweener.registerSpecialProperty("_DropShadow_distance", _filter_property_get, _filter_property_set, [flash.filters.DropShadowFilter, "distance"]);
caurina.transitions.Tweener.registerSpecialProperty("_DropShadow_hideObject", _filter_property_get, _filter_property_set, [flash.filters.DropShadowFilter, "hideObject"]);
caurina.transitions.Tweener.registerSpecialProperty("_DropShadow_inner", _filter_property_get, _filter_property_set, [flash.filters.DropShadowFilter, "inner"]);
caurina.transitions.Tweener.registerSpecialProperty("_DropShadow_knockout", _filter_property_get, _filter_property_set, [flash.filters.DropShadowFilter, "knockout"]);
caurina.transitions.Tweener.registerSpecialProperty("_DropShadow_quality", _filter_property_get, _filter_property_set, [flash.filters.DropShadowFilter, "quality"]);
caurina.transitions.Tweener.registerSpecialProperty("_DropShadow_strength", _filter_property_get, _filter_property_set, [flash.filters.DropShadowFilter, "strength"]);
caurina.transitions.Tweener.registerSpecialProperty("_Glow_alpha", _filter_property_get, _filter_property_set, [flash.filters.GlowFilter, "alpha"]);
caurina.transitions.Tweener.registerSpecialProperty("_Glow_blurX", _filter_property_get, _filter_property_set, [flash.filters.GlowFilter, "blurX"]);
caurina.transitions.Tweener.registerSpecialProperty("_Glow_blurY", _filter_property_get, _filter_property_set, [flash.filters.GlowFilter, "blurY"]);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_Glow_color", _generic_color_splitter, ["_Glow_color_r", "_Glow_color_g", "_Glow_color_b"]);
caurina.transitions.Tweener.registerSpecialProperty("_Glow_color_r", _filter_property_get, _filter_property_set, [flash.filters.GlowFilter, "color", "color", "r"]);
caurina.transitions.Tweener.registerSpecialProperty("_Glow_color_g", _filter_property_get, _filter_property_set, [flash.filters.GlowFilter, "color", "color", "g"]);
caurina.transitions.Tweener.registerSpecialProperty("_Glow_color_b", _filter_property_get, _filter_property_set, [flash.filters.GlowFilter, "color", "color", "b"]);
caurina.transitions.Tweener.registerSpecialProperty("_Glow_inner", _filter_property_get, _filter_property_set, [flash.filters.GlowFilter, "inner"]);
caurina.transitions.Tweener.registerSpecialProperty("_Glow_knockout", _filter_property_get, _filter_property_set, [flash.filters.GlowFilter, "knockout"]);
caurina.transitions.Tweener.registerSpecialProperty("_Glow_quality", _filter_property_get, _filter_property_set, [flash.filters.GlowFilter, "quality"]);
caurina.transitions.Tweener.registerSpecialProperty("_Glow_strength", _filter_property_get, _filter_property_set, [flash.filters.GlowFilter, "strength"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientBevel_angle", _filter_property_get, _filter_property_set, [flash.filters.GradientBevelFilter, "angle"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientBevel_blurX", _filter_property_get, _filter_property_set, [flash.filters.GradientBevelFilter, "blurX"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientBevel_blurY", _filter_property_get, _filter_property_set, [flash.filters.GradientBevelFilter, "blurY"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientBevel_distance", _filter_property_get, _filter_property_set, [flash.filters.GradientBevelFilter, "distance"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientBevel_quality", _filter_property_get, _filter_property_set, [flash.filters.GradientBevelFilter, "quality"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientBevel_strength", _filter_property_get, _filter_property_set, [flash.filters.GradientBevelFilter, "strength"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientBevel_type", _filter_property_get, _filter_property_set, [flash.filters.GradientBevelFilter, "type"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientGlow_angle", _filter_property_get, _filter_property_set, [flash.filters.GradientGlowFilter, "angle"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientGlow_blurX", _filter_property_get, _filter_property_set, [flash.filters.GradientGlowFilter, "blurX"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientGlow_blurY", _filter_property_get, _filter_property_set, [flash.filters.GradientGlowFilter, "blurY"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientGlow_distance", _filter_property_get, _filter_property_set, [flash.filters.GradientGlowFilter, "distance"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientGlow_knockout", _filter_property_get, _filter_property_set, [flash.filters.GradientGlowFilter, "knockout"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientGlow_quality", _filter_property_get, _filter_property_set, [flash.filters.GradientGlowFilter, "quality"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientGlow_strength", _filter_property_get, _filter_property_set, [flash.filters.GradientGlowFilter, "strength"]);
caurina.transitions.Tweener.registerSpecialProperty("_GradientGlow_type", _filter_property_get, _filter_property_set, [flash.filters.GradientGlowFilter, "type"]);
}
static function _generic_color_splitter(p_value, p_parameters) {
var _local1 = new Array();
_local1.push({name:p_parameters[0], value:caurina.transitions.AuxFunctions.numberToR(p_value)});
_local1.push({name:p_parameters[1], value:caurina.transitions.AuxFunctions.numberToG(p_value)});
_local1.push({name:p_parameters[2], value:caurina.transitions.AuxFunctions.numberToB(p_value)});
return(_local1);
}
static function _generic_point_splitter(p_value, p_parameters) {
var _local1 = new Array();
_local1.push({name:p_parameters[0], value:p_value.x});
_local1.push({name:p_parameters[1], value:p_value.y});
return(_local1);
}
static function _generic_matrix_splitter(p_value, p_parameters) {
if (p_value == null) {
p_value = p_parameters[0].concat();
}
var _local5 = new Array();
var _local1 = 0;
while (_local1 < p_value.length) {
_local5.push({name:p_parameters[1][_local1], value:p_value[_local1]});
_local1++;
}
return(_local5);
}
static function _filter_splitter(p_value) {
var _local2 = new Array();
if (p_value instanceof flash.filters.BevelFilter) {
_local2.push({name:"_Bevel_angle", value:flash.filters.BevelFilter(p_value).angle});
_local2.push({name:"_Bevel_blurX", value:flash.filters.BevelFilter(p_value).blurX});
_local2.push({name:"_Bevel_blurY", value:flash.filters.BevelFilter(p_value).blurY});
_local2.push({name:"_Bevel_distance", value:flash.filters.BevelFilter(p_value).distance});
_local2.push({name:"_Bevel_highlightAlpha", value:flash.filters.BevelFilter(p_value).highlightAlpha});
_local2.push({name:"_Bevel_highlightColor", value:flash.filters.BevelFilter(p_value).highlightColor});
_local2.push({name:"_Bevel_knockout", value:flash.filters.BevelFilter(p_value).knockout});
_local2.push({name:"_Bevel_quality", value:flash.filters.BevelFilter(p_value).quality});
_local2.push({name:"_Bevel_shadowAlpha", value:flash.filters.BevelFilter(p_value).shadowAlpha});
_local2.push({name:"_Bevel_shadowColor", value:flash.filters.BevelFilter(p_value).shadowColor});
_local2.push({name:"_Bevel_strength", value:flash.filters.BevelFilter(p_value).strength});
_local2.push({name:"_Bevel_type", value:flash.filters.BevelFilter(p_value).type});
} else if (p_value instanceof flash.filters.BlurFilter) {
_local2.push({name:"_Blur_blurX", value:flash.filters.BlurFilter(p_value).blurX});
_local2.push({name:"_Blur_blurY", value:flash.filters.BlurFilter(p_value).blurY});
_local2.push({name:"_Blur_quality", value:flash.filters.BlurFilter(p_value).quality});
} else if (p_value instanceof flash.filters.ColorMatrixFilter) {
_local2.push({name:"_ColorMatrix_matrix", value:flash.filters.ColorMatrixFilter(p_value).matrix});
} else if (p_value instanceof flash.filters.ConvolutionFilter) {
_local2.push({name:"_Convolution_alpha", value:flash.filters.ConvolutionFilter(p_value).alpha});
_local2.push({name:"_Convolution_bias", value:flash.filters.ConvolutionFilter(p_value).bias});
_local2.push({name:"_Convolution_clamp", value:flash.filters.ConvolutionFilter(p_value).clamp});
_local2.push({name:"_Convolution_color", value:flash.filters.ConvolutionFilter(p_value).color});
_local2.push({name:"_Convolution_divisor", value:flash.filters.ConvolutionFilter(p_value).divisor});
_local2.push({name:"_Convolution_matrixX", value:flash.filters.ConvolutionFilter(p_value).matrixX});
_local2.push({name:"_Convolution_matrixY", value:flash.filters.ConvolutionFilter(p_value).matrixY});
_local2.push({name:"_Convolution_preserveAlpha", value:flash.filters.ConvolutionFilter(p_value).preserveAlpha});
} else if (p_value instanceof flash.filters.DisplacementMapFilter) {
_local2.push({name:"_DisplacementMap_alpha", value:flash.filters.DisplacementMapFilter(p_value).alpha});
_local2.push({name:"_DisplacementMap_color", value:flash.filters.DisplacementMapFilter(p_value).color});
_local2.push({name:"_DisplacementMap_componentX", value:flash.filters.DisplacementMapFilter(p_value).componentX});
_local2.push({name:"_DisplacementMap_componentY", value:flash.filters.DisplacementMapFilter(p_value).componentY});
_local2.push({name:"_DisplacementMap_mapBitmap", value:flash.filters.DisplacementMapFilter(p_value).mapBitmap});
_local2.push({name:"_DisplacementMap_mapPoint", value:flash.filters.DisplacementMapFilter(p_value).mapPoint});
_local2.push({name:"_DisplacementMap_mode", value:flash.filters.DisplacementMapFilter(p_value).mode});
_local2.push({name:"_DisplacementMap_scaleX", value:flash.filters.DisplacementMapFilter(p_value).scaleX});
_local2.push({name:"_DisplacementMap_scaleY", value:flash.filters.DisplacementMapFilter(p_value).scaleY});
} else if (p_value instanceof flash.filters.DropShadowFilter) {
_local2.push({name:"_DropShadow_alpha", value:flash.filters.DropShadowFilter(p_value).alpha});
_local2.push({name:"_DropShadow_angle", value:flash.filters.DropShadowFilter(p_value).angle});
_local2.push({name:"_DropShadow_blurX", value:flash.filters.DropShadowFilter(p_value).blurX});
_local2.push({name:"_DropShadow_blurY", value:flash.filters.DropShadowFilter(p_value).blurY});
_local2.push({name:"_DropShadow_color", value:flash.filters.DropShadowFilter(p_value).color});
_local2.push({name:"_DropShadow_distance", value:flash.filters.DropShadowFilter(p_value).distance});
_local2.push({name:"_DropShadow_hideObject", value:flash.filters.DropShadowFilter(p_value).hideObject});
_local2.push({name:"_DropShadow_inner", value:flash.filters.DropShadowFilter(p_value).inner});
_local2.push({name:"_DropShadow_knockout", value:flash.filters.DropShadowFilter(p_value).knockout});
_local2.push({name:"_DropShadow_quality", value:flash.filters.DropShadowFilter(p_value).quality});
_local2.push({name:"_DropShadow_strength", value:flash.filters.DropShadowFilter(p_value).strength});
} else if (p_value instanceof flash.filters.GlowFilter) {
_local2.push({name:"_Glow_alpha", value:flash.filters.GlowFilter(p_value).alpha});
_local2.push({name:"_Glow_blurX", value:flash.filters.GlowFilter(p_value).blurX});
_local2.push({name:"_Glow_blurY", value:flash.filters.GlowFilter(p_value).blurY});
_local2.push({name:"_Glow_color", value:flash.filters.GlowFilter(p_value).color});
_local2.push({name:"_Glow_inner", value:flash.filters.GlowFilter(p_value).inner});
_local2.push({name:"_Glow_knockout", value:flash.filters.GlowFilter(p_value).knockout});
_local2.push({name:"_Glow_quality", value:flash.filters.GlowFilter(p_value).quality});
_local2.push({name:"_Glow_strength", value:flash.filters.GlowFilter(p_value).strength});
} else if (p_value instanceof flash.filters.GradientBevelFilter) {
_local2.push({name:"_GradientBevel_angle", value:flash.filters.GradientBevelFilter(p_value).strength});
_local2.push({name:"_GradientBevel_blurX", value:flash.filters.GradientBevelFilter(p_value).blurX});
_local2.push({name:"_GradientBevel_blurY", value:flash.filters.GradientBevelFilter(p_value).blurY});
_local2.push({name:"_GradientBevel_distance", value:flash.filters.GradientBevelFilter(p_value).distance});
_local2.push({name:"_GradientBevel_quality", value:flash.filters.GradientBevelFilter(p_value).quality});
_local2.push({name:"_GradientBevel_strength", value:flash.filters.GradientBevelFilter(p_value).strength});
_local2.push({name:"_GradientBevel_type", value:flash.filters.GradientBevelFilter(p_value).type});
} else if (p_value instanceof flash.filters.GradientGlowFilter) {
_local2.push({name:"_GradientGlow_angle", value:flash.filters.GradientGlowFilter(p_value).strength});
_local2.push({name:"_GradientGlow_blurX", value:flash.filters.GradientGlowFilter(p_value).blurX});
_local2.push({name:"_GradientGlow_blurY", value:flash.filters.GradientGlowFilter(p_value).blurY});
_local2.push({name:"_GradientGlow_distance", value:flash.filters.GradientGlowFilter(p_value).distance});
_local2.push({name:"_GradientGlow_knockout", value:flash.filters.GradientGlowFilter(p_value).knockout});
_local2.push({name:"_GradientGlow_quality", value:flash.filters.GradientGlowFilter(p_value).quality});
_local2.push({name:"_GradientGlow_strength", value:flash.filters.GradientGlowFilter(p_value).strength});
_local2.push({name:"_GradientGlow_type", value:flash.filters.GradientGlowFilter(p_value).type});
} else {
trace("Tweener FilterShortcuts Error :: Unknown filter class used");
}
return(_local2);
}
static function _filter_property_get(p_obj, p_parameters) {
var _local2 = p_obj.filters;
var _local1;
var _local8 = p_parameters[0];
var _local3 = p_parameters[1];
var _local6 = p_parameters[2];
_local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1] instanceof _local8) {
if (_local6 == "color") {
var _local4 = p_parameters[3];
if (_local4 == "r") {
return(caurina.transitions.AuxFunctions.numberToR(_local2[_local1][_local3]));
}
if (_local4 == "g") {
return(caurina.transitions.AuxFunctions.numberToG(_local2[_local1][_local3]));
}
if (_local4 == "b") {
return(caurina.transitions.AuxFunctions.numberToB(_local2[_local1][_local3]));
}
} else {
if (_local6 == "matrix") {
return(_local2[_local1][_local3][p_parameters[3]]);
}
if (_local6 == "point") {
return(_local2[_local1][_local3][p_parameters[3]]);
}
return(_local2[_local1][_local3]);
}
}
_local1++;
}
var _local7;
switch (_local8) {
case flash.filters.BevelFilter :
_local7 = {angle:NaN, blurX:0, blurY:0, distance:0, highlightAlpha:1, highlightColor:NaN, knockout:null, quality:NaN, shadowAlpha:1, shadowColor:NaN, strength:2, type:null};
break;
case flash.filters.BlurFilter :
_local7 = {blurX:0, blurY:0, quality:NaN};
break;
case flash.filters.ColorMatrixFilter :
_local7 = {matrix:[1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]};
break;
case flash.filters.ConvolutionFilter :
_local7 = {alpha:0, bias:0, clamp:null, color:NaN, divisor:1, matrix:[1], matrixX:1, matrixY:1, preserveAlpha:null};
break;
case flash.filters.DisplacementMapFilter :
_local7 = {alpha:0, color:NaN, componentX:null, componentY:null, mapBitmap:null, mapPoint:null, mode:null, scaleX:0, scaleY:0};
break;
case flash.filters.DropShadowFilter :
_local7 = {distance:0, angle:NaN, color:NaN, alpha:1, blurX:0, blurY:0, strength:1, quality:NaN, inner:null, knockout:null, hideObject:null};
break;
case flash.filters.GlowFilter :
_local7 = {alpha:1, blurX:0, blurY:0, color:NaN, inner:null, knockout:null, quality:NaN, strength:2};
break;
case flash.filters.GradientBevelFilter :
_local7 = {alphas:null, angle:NaN, blurX:0, blurY:0, colors:null, distance:0, knockout:null, quality:NaN, ratios:NaN, strength:1, type:null};
break;
case flash.filters.GradientGlowFilter :
_local7 = {alphas:null, angle:NaN, blurX:0, blurY:0, colors:null, distance:0, knockout:null, quality:NaN, ratios:NaN, strength:1, type:null};
}
if (_local6 == "color") {
return(NaN);
}
if (_local6 == "matrix") {
return(_local7[_local3][p_parameters[3]]);
}
if (_local6 == "point") {
return(_local7[_local3][p_parameters[3]]);
}
return(_local7[_local3]);
}
static function _filter_property_set(p_obj, p_value, p_parameters) {
var _local2 = p_obj.filters;
var _local1;
var _local12 = p_parameters[0];
var _local3 = p_parameters[1];
var _local9 = p_parameters[2];
_local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1] instanceof _local12) {
if (_local9 == "color") {
var _local5 = p_parameters[3];
if (_local5 == "r") {
_local2[_local1][_local3] = (_local2[_local1][_local3] & 65535) | (p_value << 16);
}
if (_local5 == "g") {
_local2[_local1][_local3] = (_local2[_local1][_local3] & 16711935) | (p_value << 8);
}
if (_local5 == "b") {
_local2[_local1][_local3] = (_local2[_local1][_local3] & 16776960) | p_value;
}
} else if (_local9 == "matrix") {
var _local6 = _local2[_local1][_local3];
_local6[p_parameters[3]] = p_value;
_local2[_local1][_local3] = _local6;
} else if (_local9 == "point") {
var _local7 = flash.geom.Point(_local2[_local1][_local3]);
_local7[p_parameters[3]] = p_value;
_local2[_local1][_local3] = _local7;
} else {
_local2[_local1][_local3] = p_value;
}
p_obj.filters = _local2;
return(undefined);
}
_local1++;
}
if (_local2 == undefined) {
_local2 = new Array();
}
var _local10;
switch (_local12) {
case flash.filters.BevelFilter :
_local10 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, 0);
break;
case flash.filters.BlurFilter :
_local10 = new flash.filters.BlurFilter(0, 0);
break;
case flash.filters.ColorMatrixFilter :
_local10 = new flash.filters.ColorMatrixFilter([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]);
break;
case flash.filters.ConvolutionFilter :
_local10 = new flash.filters.ConvolutionFilter(1, 1, [1], 1, 0, true, true, 0, 0);
break;
case flash.filters.DisplacementMapFilter :
_local10 = new flash.filters.DisplacementMapFilter(new flash.display.BitmapData(10, 10), new flash.geom.Point(0, 0), 0, 1, 0, 0);
break;
case flash.filters.DropShadowFilter :
_local10 = new flash.filters.DropShadowFilter(0, 45, 0, 1, 0, 0);
break;
case flash.filters.GlowFilter :
_local10 = new flash.filters.GlowFilter(16711680, 1, 0, 0);
break;
case flash.filters.GradientBevelFilter :
_local10 = new flash.filters.GradientBevelFilter(0, 45, [16777215, 0], [1, 1], [32, 223], 0, 0);
break;
case flash.filters.GradientGlowFilter :
_local10 = new flash.filters.GradientGlowFilter(0, 45, [16777215, 0], [1, 1], [32, 223], 0, 0);
}
_local2.push(_local10);
p_obj.filters = _local2;
_filter_property_set(p_obj, p_value, p_parameters);
}
}