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

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

Vantage Point Instant Recall.swf

This is the info page for
Flash #24991

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


Text
CLOSE

VANTAGE POINT

Instant

Recall

ENTER

Secret Service Agents must have an infallible attention to detail.
Remembering faces in a crowd of chaos is a necessity.
Play this game to test your memory skills.

MEMORIZE THIS FACE AND CLICK
ON "READY" TO CONTINUE.

SHARPEN YOUR EYES AND
CONCENTRATE ON THE FACE.

READY

?

DONE

CLICK "DONE" WHEN YOU ARE
SATISFIED WITH THE OUTCOME.

CLICK ON THE QUESTION MARKS
UNTIL YOU ARE ABLE TO RE-
CREATE THE CORRECT FACE.



CORRECT

PLAY AGAIN

1 OUT OFF 6

YOU GOT

SEE ORIGINAL

SEE YOURS

ActionScript [AS1/AS2]

Frame 2
ifFrameLoaded (6) { this.gotoAndPlay("load"); }
Frame 3
this.gotoAndPlay(this._currentframe - 1);
Frame 5
movie_bytes = this.getBytesTotal(); movie_loaded = this.getBytesLoaded(); var isNumMovieBytes = isNaN(movie_bytes); var isNumMovieLoaded = isNaN(movie_loaded); if ((!isNumMovieBytes) && (!isNumMovieLoaded)) { if ((movie_bytes != 0) && (movie_loaded != 0)) { var totalBytes = movie_bytes; var totalLoaded = movie_loaded; var percent_done = int((totalLoaded / totalBytes) * 100); loaderBar.bar_mc.gotoAndStop(percent_done); ifFrameLoaded (371) { gotoAndPlay (11); } } }
Frame 6
gotoAndPlay(_currentframe - 1);
Frame 11
Instance of Symbol 14 MovieClip [elements.Close] in Frame 11
/* no clip actions */
Frame 12
play();
Frame 13
var gGame = (new app.SketchManager(this));
Frame 14
gGame.fReset();
Instance of Symbol 53 MovieClip in Frame 133
onClipEvent (load) { this.pRoll = false; this.onRollOver = function () { this.pRoll = true; }; this.onRollOut = function () { this.fLeave(); }; this.onReleaseOutside = function () { this.fLeave(); }; this.fLeave = function () { this.pRoll = false; }; this.onRelease = function () { this._parent.gotoAndPlay("goInterna"); }; }
Instance of Symbol 53 MovieClip in Frame 142
onClipEvent (load) { this.pRoll = false; this.onRollOver = function () { this.pRoll = true; }; this.onRollOut = function () { this.fLeave(); }; this.onReleaseOutside = function () { this.fLeave(); }; this.fLeave = function () { this.pRoll = false; }; this.onRelease = function () { gotoAndPlay ("click"); this._parent.gotoAndPlay("goInterna"); }; }
Frame 143
stop();
Frame 194
gotoAndPlay ("interna1");
Instance of Symbol 75 MovieClip in Frame 204
onClipEvent (load) { this.useHandCursor = false; this.onPress = function () { }; this.onRelease = function () { }; this.onRollOver = function () { }; this.onRollOut = function () { }; }
Frame 275
gGame.fReset(); gGame.fSetFace();
Frame 276
stop();
Frame 294
gGame.fStartPuzzle();
Frame 306
stop();
Frame 330
gGame.fShowResults();
Instance of Symbol 149 MovieClip in Frame 330
onClipEvent (load) { this.pRoll = false; this.onRollOver = function () { this.pRoll = true; }; this.onRollOut = function () { this.fLeave(); }; this.onReleaseOutside = function () { this.fLeave(); }; this.fLeave = function () { this.pRoll = false; }; this.onRelease = function () { this.gotoAndPlay("click"); this._parent.gotoAndPlay("interna5"); }; }
Frame 340
gGame.fShowResults();
Frame 341
stop();
Frame 349
gGame.fShowGabarito();
Instance of Symbol 151 MovieClip in Frame 349
onClipEvent (load) { this.pRoll = false; this.onRollOver = function () { this.pRoll = true; }; this.onRollOut = function () { this.fLeave(); }; this.onReleaseOutside = function () { this.fLeave(); }; this.fLeave = function () { this.pRoll = false; }; this.onRelease = function () { this.gotoAndPlay("click"); this._parent.gotoAndPlay("back4"); }; }
Frame 350
stop();
Symbol 152 MovieClip [__Packages.app.views.elements.Close] Frame 0
class app.views.elements.Close extends MovieClip { var larva, _alpha, onRelease, onRollOver, onRollOut, beforeClose, gotoAndPlay; function Close () { super(); trace("novo botao crose"); init(); } function init() { setTriggers(); fadeIn(); } function fadeIn(callback) { larva = new as.dragonfly.body.core.Larva(this); var _local2; _alpha = 0; _local2 = larva.alpha(0, 100, 500, 0, com.robertpenner.easing.Linear.easeNone); _local2.onComplete = callback; } function fadeOut(callback) { larva = new as.dragonfly.body.core.Larva(this); larva.alpha(null, 0, 500, 0, com.robertpenner.easing.Linear.easeNone); } function setTriggers() { onRelease = as.cocktail.utils.Delegate.create(onCloseRelease, this); onRollOver = as.cocktail.utils.Delegate.create(onCloseRollOver, this); onRollOut = as.cocktail.utils.Delegate.create(onCloseRollOut, this); } function onCloseRelease() { if (beforeClose && (!beforeClose())) { return(undefined); } app.App.closeLoadedFile(); } function onCloseRollOut() { gotoAndPlay("out"); } function onCloseRollOver() { gotoAndPlay("in"); } }
Symbol 153 MovieClip [__Packages.as.dragonfly.body.core.Larva] Frame 0
class as.dragonfly.body.core.Larva { var _eggs, _target, _filtersManager, _defaultLLarva; function Larva (target) { _eggs = new Object(); _target = target; _filtersManager = new as.dragonfly.body.core.FiltersManager(_target); } static function createLLarva() { return(new as.dragonfly.body.listeners.LLarva()); } function setDefaultLLarva(llarva) { _defaultLLarva = llarva; } function get defaultLLarva() { return(_defaultLLarva); } function addTarget() { } function removeTarget() { } function get target() { return(_target); } function get active() { var _local2; var _local3; for (_local2 in _eggs) { if (_eggs[_local2].active) { return(true); } } return(false); } function hold() { var _local2; var _local3; for (_local2 in _eggs) { _local3 = _eggs[_local2]; _local3.hold(); } } function unhold() { var _local2; var _local3; for (_local2 in _eggs) { _local3 = _eggs[_local2]; _local3.unhold(); } } function pushEgg(egg) { egg.addListener(this); _eggs[egg.__get__id()] = egg; return(egg.__get__llarva()); } function friesEgg(egg) { var _local2; _local2 = egg.id; egg.removeListener(this); egg.fries(); _eggs[_local2] = null; delete _eggs[_local2]; } function frieEggs() { var _local2; var _local3; for (_local2 in _eggs) { _local3 = _eggs[_local2]; friesEgg(_local3); } } function friesPrevEggs(procceed, eggType, egg) { var _local3; var _local2; if (!(procceed === true)) { return(undefined); } for (_local3 in _eggs) { _local2 = as.dragonfly.body.core.Egg(_eggs[_local3]); if (((_local2.__get__type() == eggType) && (!(_local2 === egg))) && (_local2.__get__active())) { friesEgg(_local2); } } } function onEggStart(egg) { friesPrevEggs(true, egg.__get__type(), egg); } function onEggUpdate(egg) { } function onEggComplete(egg) { friesEgg(egg); } function fly(prop, start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { friesPrevEggs(clearPrevCalls, prop); return(pushEgg(as.dragonfly.body.eggs.GenericEgg.lay(this, prop, start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit))); } function x(start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { friesPrevEggs(clearPrevCalls, "_x"); return(pushEgg(as.dragonfly.body.eggs.MovieClipEgg.lay(this, "_x", start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit))); } function y(start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { friesPrevEggs(clearPrevCalls, "_y"); return(pushEgg(as.dragonfly.body.eggs.MovieClipEgg.lay(this, "_y", start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit))); } function xy(startX, startY, endX, endY, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { x(startX, endX, duration, delay, equation, equationArgs, clearPrevCalls, forceInit); return(y(startY, endY, duration, delay, equation, equationArgs, clearPrevCalls, forceInit)); } function xscale(start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { friesPrevEggs(clearPrevCalls, "_xscale"); return(pushEgg(as.dragonfly.body.eggs.MovieClipEgg.lay(this, "_xscale", start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit))); } function yscale(start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { friesPrevEggs(clearPrevCalls, "_yscale"); return(pushEgg(as.dragonfly.body.eggs.MovieClipEgg.lay(this, "_yscale", start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit))); } function xyscale(startX, startY, endX, endY, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { xscale(startX, endX, duration, delay, equation, equationArgs, clearPrevCalls, forceInit); return(yscale(startY, endY, duration, delay, equation, equationArgs, clearPrevCalls, forceInit)); } function width(start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { friesPrevEggs(clearPrevCalls, "_width"); return(pushEgg(as.dragonfly.body.eggs.MovieClipEgg.lay(this, "_width", start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit))); } function height(start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { friesPrevEggs(clearPrevCalls, "_height"); return(pushEgg(as.dragonfly.body.eggs.MovieClipEgg.lay(this, "_height", start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit))); } function alpha(start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { friesPrevEggs(clearPrevCalls, "_alpha"); return(pushEgg(as.dragonfly.body.eggs.MovieClipEgg.lay(this, "_alpha", start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit))); } function rotation(start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { friesPrevEggs(clearPrevCalls, "_rotation"); return(pushEgg(as.dragonfly.body.eggs.MovieClipEgg.lay(this, "_rotation", start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit))); } function color(start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { friesPrevEggs(clearPrevCalls, "_color"); return(pushEgg(as.dragonfly.body.eggs.ColorEgg.lay(this, "_color", start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit))); } function frame(start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { friesPrevEggs(clearPrevCalls, "_frame"); return(pushEgg(as.dragonfly.body.eggs.FrameEgg.lay(this, "_frame", start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit))); } function xblur(start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { friesPrevEggs(clearPrevCalls, "_xblur"); return(pushEgg(as.dragonfly.body.eggs.BlurEgg.lay(this, _filtersManager, "_xblur", start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit))); } function yblur(start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { friesPrevEggs(clearPrevCalls, "_yblur"); return(pushEgg(as.dragonfly.body.eggs.BlurEgg.lay(this, _filtersManager, "_yblur", start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit))); } function xyblur(startX, startY, endX, endY, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { xblur(startX, endX, duration, delay, equation, equationArgs, clearPrevCalls, forceInit); return(yblur(startY, endY, duration, delay, equation, equationArgs, clearPrevCalls, forceInit)); } }
Symbol 154 MovieClip [__Packages.as.dragonfly.body.core.FiltersManager] Frame 0
class as.dragonfly.body.core.FiltersManager { var _target, blur; function FiltersManager (target) { _target = target; blur = new flash.filters.BlurFilter(0, 0, 1); } function refresh() { var _local2 = new Array(); _local2.push(blur); _target.filters = _local2; } function setProperty(property, value) { switch (property) { case "_yblur" : blur.blurY = value; break; case "_xblur" : blur.blurX = value; break; case "_saturation" : blur.blurX = value; } refresh(); } function getProperty(property, value) { switch (property) { case "_yblur" : return(blur.blurY); case "_xblur" : return(blur.blurX); } } }
Symbol 155 MovieClip [__Packages.as.dragonfly.body.listeners.LLarva] Frame 0
class as.dragonfly.body.listeners.LLarva { var _type; function LLarva (type) { _type = type; AsBroadcaster.initialize(this); } function get type() { return(_type); } function cloneFrom(llarva) { onStart = llarva.onStart; onUpdate = llarva.onUpdate; onComplete = llarva.onComplete; } function onStart(type) { } function onUpdate(values, type) { } function onComplete(type) { } }
Symbol 156 MovieClip [__Packages.as.dragonfly.body.core.Egg] Frame 0
class as.dragonfly.body.core.Egg { var _type, _target, _llarva, _id, _legg, _nymph, _shokeTimeout; function Egg (type, larva, llarva) { _type = type; _target = larva.target; _llarva = llarva; _id = _idcounter++; _legg = new as.dragonfly.body.listeners.LEgg(); _legg.onStart = as.cocktail.utils.Delegate.create(onEggStart, this); _legg.onUpdate = as.cocktail.utils.Delegate.create(onEggUpdate, this); _legg.onComplete = as.cocktail.utils.Delegate.create(onEggComplete, this); AsBroadcaster.initialize(this); } function broadcastMessage(message) { } function addListener(listener) { } function removeListener(listener) { } function get id() { return(_id); } function get active() { return(_nymph.__get__active()); } function get type() { return(_type); } function get llarva() { return(_llarva); } function hold() { _nymph.hold(); } function unhold() { _nymph.unhold(); } function reset() { _nymph.reset(); } function fries() { _shokeTimeout.abort(); _nymph.hold(); } function updateEgg(values) { } function onEggStart() { _llarva.onStart(type); broadcastMessage("onEggStart", this); } function onEggUpdate(values) { updateEgg(values); _llarva.onUpdate(values, type); broadcastMessage("onEggUpdate", this); } function onEggComplete() { _llarva.onComplete(type); broadcastMessage("onEggComplete", this); } static var _idcounter = 0; }
Symbol 157 MovieClip [__Packages.as.dragonfly.body.listeners.LEgg] Frame 0
class as.dragonfly.body.listeners.LEgg { function LEgg () { } function LEggs() { AsBroadcaster.initialize(this); } function onStart(Void) { } function onUpdate(values) { } function onComplete(Void) { } }
Symbol 158 MovieClip [__Packages.as.cocktail.utils.SetTimeout] Frame 0
class as.cocktail.utils.SetTimeout { var totalTime, startTime, scope, callback, passed, args, ID, _status; function SetTimeout (callback, interval, scope, args) { totalTime = interval; startTime = getTimer(); this.scope = scope; this.callback = callback; totalTime = totalTime; passed = 0; this.args = args; schedule(); } function schedule() { ID = setInterval(as.cocktail.utils.Delegate.create(dispatch, this), totalTime - passed); _status = STATUS_ARMED; } function dispatch() { callback.apply(scope, args); abort(); _status = STATUS_DISPATCHED; } function getTimeLeft() { if (_status == STATUS_HOLDED) { return(totalTime - passed); } if (_status == STATUS_ARMED) { return((totalTime - passed) - (getTimer() - startTime)); } } function hold() { if (_status == STATUS_ARMED) { _status = STATUS_HOLDED; clearInterval(ID); passed = passed + (getTimer() - startTime); } } function unhold() { if (_status == STATUS_HOLDED) { startTime = getTimer(); schedule(); } } function fire() { if (_status != STATUS_DISPATCHED) { dispatch(); } } function abort() { callback = undefined; clearInterval(ID); _status = STATUS_ABORTED; } function get status() { return(_status); } static var STATUS_ARMED = "armed"; static var STATUS_DISPATCHED = "dispatched"; static var STATUS_HOLDED = "holded"; static var STATUS_ABORTED = "aborted"; }
Symbol 159 MovieClip [__Packages.as.cocktail.utils.Delegate] Frame 0
class as.cocktail.utils.Delegate { function Delegate () { } static function create(func, scope, args) { var _local2; _local2 = function () { var _local2 = arguments.callee; return(_local2.func.apply(_local2.scope, _local2.args.concat(arguments))); }; _local2.func = func; _local2.scope = scope; _local2.args = [].concat(((args == undefined) ? ([]) : (args))); return(_local2); } }
Symbol 160 MovieClip [__Packages.as.dragonfly.body.core.Nymphs] Frame 0
class as.dragonfly.body.core.Nymphs { var start, end, duration, equation, legg, equationArgs, fps, hasMultipleValues, timer, _active, updating; function Nymphs (start, end, duration, equation, legg, equationArgs, fps) { this.start = [].concat(start); this.end = [].concat(end); this.duration = Math.max(duration, 1); this.equation = equation; this.legg = legg; this.equationArgs = equationArgs; this.fps = (isNaN(fps) ? 10 : (fps)); hasMultipleValues = this.start.length > 1; timer = 0; init(); } function get active() { return(_active); } function setActive(status) { _active = status; } function hold() { stopUpdater(); } function unhold() { startUpdater(); } function reset() { timer = 0; stopUpdater(); } function init() { legg.onStart(); startUpdater(); } function startUpdater() { setActive(true); updating = setInterval(as.cocktail.utils.Delegate.create(updater, this), fps); } function stopUpdater() { setActive(false); clearInterval(updating); } function updater() { var _local2; var _local6; var _local4; var _local7; var _local5; var _local3; _local6 = new Array(); _local7 = new Array(); for (_local3 in start) { _local5 = Math.min(timer, duration); _local2 = new Array(_local5, start[_local3], end[_local3] - start[_local3], duration); _local2 = _local2.concat(equationArgs); _local4 = Number(equation.apply(this, _local2)); _local6.push(_local4); } _local7 = [(hasMultipleValues ? (_local6) : (_local6[0]))]; legg.onUpdate.apply(this, _local7); if (timer >= duration) { stopUpdater(); legg.onComplete(); } else { timer = timer + fps; } } }
Symbol 161 MovieClip [__Packages.as.dragonfly.body.eggs.GenericEgg] Frame 0
class as.dragonfly.body.eggs.GenericEgg extends as.dragonfly.body.core.Egg { var __get__type, _target, onEggStart, onEggUpdate, onEggComplete, _shokeTimeout, _nymph, _legg; function GenericEgg (type, larva, llarva) { super(type, larva, llarva); } static function lay(larva, type, start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { var _local2; var _local1; _local1 = new as.dragonfly.body.listeners.LLarva(type); _local1.cloneFrom(larva.__get__defaultLLarva()); _local2 = new as.dragonfly.body.eggs.GenericEgg(type, larva, _local1); _local2.shoke(start, end, duration, delay, equation, equationArgs, forceInit); return(_local2); } function updateEgg(value) { _target[__get__type()] = value; } function shoke(start, end, duration, delay, equation, equationArgs, forceInit) { if (forceInit && (!isNaN(start))) { updateEgg(start); } if (as.dragonfly.DragonFly.__get__basicConfigEnabled()) { duration = as.dragonfly.DragonFly.__get__basicConfig().duration; delay = 1; } else if (!as.dragonfly.DragonFly.__get__enabled()) { onEggStart(); onEggUpdate(end); onEggComplete(); return(undefined); } _shokeTimeout = new as.cocktail.utils.SetTimeout(shokeMe, delay, this, [start, end, duration, equation, equationArgs]); } function shokeMe(start, end, duration, equation, equationArgs) { var _local3; _local3 = _target[__get__type()]; start = (isNaN(start) ? (_local3) : (start)); end = (isNaN(end) ? (_local3) : (end)); _nymph = new as.dragonfly.body.core.Nymphs(start, end, duration, equation, _legg, equationArgs); } }
Symbol 162 MovieClip [__Packages.as.dragonfly.body.transitions.Transitions] Frame 0
class as.dragonfly.body.transitions.Transitions { function Transitions () { } static var X = "x"; static var Y = "y"; static var XY = "xy"; static var XSCALE = "xScale"; static var YSCALE = "ySscale"; static var XYSCALE = "xyScale"; static var WIDTH = "width"; static var HEIGHT = "height"; static var ALPHA = "alpha"; static var ROTATION = "rotation"; static var COLOR = "color"; static var FRAME = "frame"; static var XBLUR = "xBlur"; static var YBLUR = "yBlur"; static var BLUR = "blur"; }
Symbol 163 MovieClip [__Packages.as.dragonfly.DragonFly] Frame 0
class as.dragonfly.DragonFly { function DragonFly () { } static function get basicConfig() { var _local1; _local1 = new Object(); _local1.start = _basicStart; _local1.end = _basicEnd; _local1.duration = _basicDuration; _local1.transition = _basicTransition; return(_local1); } static function setBasicConfig(start, end, duration, transition) { if (isNaN(start)) { _basicStart = start; } if (isNaN(end)) { _basicEnd = end; } if (isNaN(duration)) { _basicDuration = duration; } if (transition.length) { _basicTransition = transition; } } static function get defaultFps() { return(_defaultFps); } static function setDefaultFps(fps) { _defaultFps = fps; } static function get enabled() { return(_enabled); } static function enable() { _enabled = true; } static function disable(enableBasicConfig) { if (enableBasicConfig === null) { as.dragonfly.DragonFly.enableBasicConfig(); } _enabled = false; } static function get basicConfigEnabled() { return(_useBasicConfig); } static function enableBasicConfig() { _useBasicConfig = true; } static function disableBasicConfig() { _useBasicConfig = false; } static function cloneLarva(target) { return(new as.dragonfly.body.core.Larva(target)); } static function killLarva(larva) { larva = null; } static var _larvas = new Array(); static var _basicStart = 0; static var _basicEnd = 100; static var _basicDuration = 300; static var _basicTransition = as.dragonfly.body.transitions.Transitions.ALPHA; static var _defaultFps = 10; static var _enabled = true; static var _useBasicConfig = false; }
Symbol 164 MovieClip [__Packages.as.dragonfly.body.eggs.MovieClipEgg] Frame 0
class as.dragonfly.body.eggs.MovieClipEgg extends as.dragonfly.body.core.Egg { var __get__type, _target, onEggStart, onEggUpdate, onEggComplete, _shokeTimeout, _nymph, _legg; function MovieClipEgg (type, larva, llarva) { super(type, larva, llarva); } static function lay(larva, type, start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { var _local2; var _local1; _local1 = new as.dragonfly.body.listeners.LLarva(type); _local1.cloneFrom(larva.__get__defaultLLarva()); _local2 = new as.dragonfly.body.eggs.MovieClipEgg(type, larva, _local1); _local2.shoke(start, end, duration, delay, equation, equationArgs, forceInit); return(_local2); } function updateEgg(value) { _target[__get__type()] = value; } function shoke(start, end, duration, delay, equation, equationArgs, forceInit) { if (forceInit && (!isNaN(start))) { updateEgg(start); } if (as.dragonfly.DragonFly.__get__basicConfigEnabled()) { duration = as.dragonfly.DragonFly.__get__basicConfig().duration; delay = 1; } else if (!as.dragonfly.DragonFly.__get__enabled()) { onEggStart(); onEggUpdate(end); onEggComplete(); return(undefined); } _shokeTimeout = new as.cocktail.utils.SetTimeout(shokeMe, delay, this, [start, end, duration, equation, equationArgs]); } function shokeMe(start, end, duration, equation, equationArgs) { var _local3; _local3 = _target[__get__type()]; start = (isNaN(start) ? (_local3) : (start)); end = (isNaN(end) ? (_local3) : (end)); _nymph = new as.dragonfly.body.core.Nymphs(start, end, duration, equation, _legg, equationArgs); } }
Symbol 165 MovieClip [__Packages.as.dragonfly.body.eggs.ColorEgg] Frame 0
class as.dragonfly.body.eggs.ColorEgg extends as.dragonfly.body.core.Egg { var _color, _target, onEggStart, onEggUpdate, onEggComplete, _shokeTimeout, _nymph, _legg; function ColorEgg (type, larva, llarva) { super(type, larva, llarva); _color = new Color(_target); } function rgb2hex(rgb) { return(((rgb[0] << 16) | (rgb[1] << 8)) | rgb[2]); } function hex2rgb(hex) { return(new Array(hex >> 16, (hex >> 8) & 255, hex & 255)); } static function lay(larva, type, start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { var _local2; var _local1; var _local10; _local1 = new as.dragonfly.body.listeners.LLarva(type); _local1.cloneFrom(larva.__get__defaultLLarva()); _local2 = new as.dragonfly.body.eggs.ColorEgg(type, larva, _local1); _local2.shoke(start, end, duration, delay, equation, equationArgs, forceInit); return(_local2); } function updateEgg(values) { _color.setRGB(rgb2hex(values)); } function shoke(start, end, duration, delay, equation, equationArgs, forceInit) { if (forceInit && (!isNaN(start))) { updateEgg(hex2rgb(start)); } if (as.dragonfly.DragonFly.__get__basicConfigEnabled()) { duration = as.dragonfly.DragonFly.__get__basicConfig().duration; delay = 1; } else if (!as.dragonfly.DragonFly.__get__enabled()) { onEggStart(); onEggUpdate(end); onEggComplete(); return(undefined); } _shokeTimeout = new as.cocktail.utils.SetTimeout(shokeMe, delay, this, [start, end, duration, equation, equationArgs]); } function shokeMe(start, end, duration, equation, equationArgs) { var _local3; _local3 = _color.getRGB(); start = (isNaN(start) ? (_local3) : (start)); end = (isNaN(end) ? (_local3) : (end)); _nymph = new as.dragonfly.body.core.Nymphs(hex2rgb(start), hex2rgb(end), duration, equation, _legg, equationArgs); } }
Symbol 166 MovieClip [__Packages.as.dragonfly.body.eggs.FrameEgg] Frame 0
class as.dragonfly.body.eggs.FrameEgg extends as.dragonfly.body.core.Egg { var _target, onEggStart, onEggUpdate, onEggComplete, _shokeTimeout, _nymph, _legg; function FrameEgg (type, larva, llarva) { super(type, larva, llarva); } static function lay(larva, type, start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { var _local2; var _local1; var _local10; _local1 = new as.dragonfly.body.listeners.LLarva(type); _local1.cloneFrom(larva.__get__defaultLLarva()); _local2 = new as.dragonfly.body.eggs.FrameEgg(type, larva, _local1); _local2.shoke(start, end, duration, delay, equation, equationArgs, forceInit); return(_local2); } function updateEgg(frame) { _target.gotoAndStop(Math.round(frame)); } function shoke(start, end, duration, delay, equation, equationArgs, forceInit) { if (forceInit && (!isNaN(start))) { updateEgg(start); } if (as.dragonfly.DragonFly.__get__basicConfigEnabled()) { duration = as.dragonfly.DragonFly.__get__basicConfig().duration; delay = 1; } else if (!as.dragonfly.DragonFly.__get__enabled()) { onEggStart(); onEggUpdate(end); onEggComplete(); } else { _shokeTimeout = new as.cocktail.utils.SetTimeout(shokeMe, delay, this, [start, end, duration, equation, equationArgs]); } } function shokeMe(start, end, duration, equation, equationArgs) { var _local3; _local3 = _target._currentFrame; start = (isNaN(start) ? (_local3) : (start)); end = (isNaN(end) ? (_local3) : (end)); _nymph = new as.dragonfly.body.core.Nymphs(start, end, duration, equation, _legg, equationArgs); } }
Symbol 167 MovieClip [__Packages.as.dragonfly.body.eggs.BlurEgg] Frame 0
class as.dragonfly.body.eggs.BlurEgg extends as.dragonfly.body.core.Egg { var _filtersManager, __get__type, onEggStart, onEggUpdate, onEggComplete, _shokeTimeout, _nymph, _legg; function BlurEgg (type, filtersManager, larva, llarva) { super(type, larva, llarva); _filtersManager = filtersManager; } static function lay(larva, filtersManager, type, start, end, duration, delay, equation, equationArgs, clearPrevCalls, forceInit) { var _local2; var _local1; var _local11; _local1 = new as.dragonfly.body.listeners.LLarva(type); _local1.cloneFrom(larva.__get__defaultLLarva()); _local2 = new as.dragonfly.body.eggs.BlurEgg(type, filtersManager, larva, _local1); _local2.shoke(start, end, duration, delay, equation, equationArgs, forceInit); return(_local2); } function updateEgg(value) { _filtersManager.setProperty(__get__type(), value); } function shoke(start, end, duration, delay, equation, equationArgs, forceInit) { if (forceInit && (!isNaN(start))) { updateEgg(start); } if (as.dragonfly.DragonFly.__get__basicConfigEnabled()) { duration = as.dragonfly.DragonFly.__get__basicConfig().duration; delay = 1; } else if (!as.dragonfly.DragonFly.__get__enabled()) { onEggStart(); onEggUpdate(end); onEggComplete(); } else { _shokeTimeout = new as.cocktail.utils.SetTimeout(shokeMe, delay, this, [start, end, duration, equation, equationArgs]); } } function shokeMe(start, end, duration, equation, equationArgs) { var _local3; _local3 = _filtersManager.getProperty(__get__type()); start = (isNaN(start) ? (_local3) : (start)); end = (isNaN(end) ? (_local3) : (end)); _nymph = new as.dragonfly.body.core.Nymphs(start, end, duration, equation, _legg, equationArgs); } }
Symbol 168 MovieClip [__Packages.com.robertpenner.easing.Linear] Frame 0
class com.robertpenner.easing.Linear { function Linear () { } static function easeNone(t, b, c, d) { return(((c * t) / d) + b); } static function easeIn(t, b, c, d) { return(((c * t) / d) + b); } static function easeOut(t, b, c, d) { return(((c * t) / d) + b); } static function easeInOut(t, b, c, d) { return(((c * t) / d) + b); } }
Symbol 169 MovieClip [__Packages.app.App] Frame 0
class app.App { static var initialized, root; function App () { } static function main(mc) { if (initialized) { return(undefined); } mc.timestamp = mc.timestamp || 0; root = mc; init(); } static function init() { var _local1; AsBroadcaster.initialize(app.App); initialized = true; _local1 = System.capabilities.playerType; if ((_local1 == "PlugIn") || (_local1 == "ActiveX")) { as.vento.Config.loadConfig("xml/config.xml"); } else { as.vento.Config.loadConfig("../xml/config.xml"); } app.Config.onXmlsLoaded = as.cocktail.utils.Delegate.create(config, app.App); } static function config() { app.Word.setLanguagesXml(app.Config.getXmlByName("languages")); app.Word.setCurrentLanguage("en"); } static function launch() { root.gotoAndStop(5); } static function load(sessionId, frame) { var _local1; _local1 = app.views.intro.SubMenu(app.Assets.getInstance("submenu")); app.views.intro.Loader.loadSwf(_local1.getItemNodeById(sessionId).src, frame); } static function closeLoadedFile(callback) { var _local2; var _local1; _local2 = app.views.intro.SubMenu(app.Assets.getInstance("submenu")); _local1 = as.cocktail.utils.Delegate.create(_local2.close, _local2, callback); unlockPanorama(); if (!app.views.quiz.Quiz.__get___visible()) { app.views.intro.Loader.unLoadSwf(_local1); } else { app.views.quiz.Quiz.hideQuiz(_local1); } } static function showPanorama() { closeLoadedFile(); } static function lockPanorama() { var _local1; _local1 = app.views.intro.panorama.Panorama(app.Assets.getInstance("gPanorama")); _local1.disable(); } static function unlockPanorama() { if (app.views.quiz.Quiz.__get___visible()) { return(undefined); } var _local1; _local1 = app.views.intro.panorama.Panorama(app.Assets.getInstance("gPanorama")); _local1.enable(); app.Assets.getInstance("soundPlayer").fChangeStatus("panorama"); } }
Symbol 170 MovieClip [__Packages.as.vento.Config] Frame 0
class as.vento.Config { static var instance; var xml, xmls, onXmlsLoaded; function Config (xml, file) { this.xml = xml; xmls = {}; loadStageProps(xml.app.stage.attributes); onXmlsLoaded = as.cocktail.utils.Delegate.create(app.Config.init, app.Config); loadXmls(); } function loadStageProps(props) { Stage.scaleMode = props.scaleMode; Stage.showMenu = eval (props.showMenu); } function loadXmls() { var _local4; var _local8; var _local2; var _local3; _local4 = 0; _local8 = [].concat(xml.app.xmls.xml); while (_local2 = _local8[_local4].attributes , _local2 != undefined) { if (!_local2.src) { _local2.src = _local2.name + ".xml"; } xmls[_local2.name] = {obj:null, path:app.Config.getXmlPath() + _local2.src, loaded:false}; _local3 = new as.cocktail.utils.XmlObject(_local2.name); _local3.onLoad = as.cocktail.utils.Delegate.create(onXmlLoaded, this); _local3.load(xmls[_local2.name].path); _local4++; } } function onXmlLoaded(xmlObject, name) { xmls[name].xml = xmlObject; xmls[name].loaded = true; if (isAllXmlsLoaded()) { onXmlsLoaded(); } } function isAllXmlsLoaded() { var _local2; for (_local2 in xmls) { if (!xmls[_local2].loaded) { return(false); } } return(true); } static function loadConfig(file) { if (!file) { return(false); } var _local1; _local1 = new as.cocktail.utils.XmlObject(file); _local1.onLoad = as.cocktail.utils.Delegate.create(onConfigLoad, as.vento.Config); _local1.load(file); return(true); } static function onConfigLoad(xmlObject, file) { trace(("as.vento.Config :: config for ( " + xmlObject.config.app.attributes.name) + " ) loaded"); xmlObject = xmlObject.config; app.Config.setConfigXml(xmlObject); instance = new as.vento.Config(xmlObject, file); } static function get isConfigLoaded() { return(instance != undefined); } static function getXmlByName(name) { return(instance.xmls[name].xml); } }
Symbol 171 MovieClip [__Packages.app.Config] Frame 0
class app.Config { static var onXmlsLoaded, xml; function Config () { } static function init() { onXmlsLoaded(); } static function setConfigXml(configXml) { xml = configXml; } static function getPath() { var _local2; var _local1; _local1 = System.capabilities.playerType; if ((_local1 == "PlugIn") || (_local1 == "ActiveX")) { return(getPathByName("dev")); } return(getPathByName("ide")); } static function getGatewayByName(name) { var _local2; var _local3; var _local1; _local2 = 0; _local3 = [].concat(xml.app.gateways.gateway); while (_local1 = _local3[_local2].attributes , _local1 != undefined) { if (_local1.name == name) { return(_local1.path); } _local2++; } } static function getPathByName(name) { var _local2; var _local3; var _local1; _local2 = 0; _local3 = [].concat(xml.app.document_root.path); while (_local1 = _local3[_local2].attributes , _local1 != undefined) { if (_local1.name == name) { return(_local1.path); } _local2++; } } static function getXmlPath() { return(getPath() + xml.app.xmls.attributes.path); } static function getXmlByName(name) { return(as.vento.Config.getXmlByName(name)); } }
Symbol 172 MovieClip [__Packages.as.cocktail.utils.XmlObject] Frame 0
class as.cocktail.utils.XmlObject { var xml, extraArgs, output, onLoad, onParse; function XmlObject (extraArgs) { xml = new XML(); xml.ignoreWhite = true; xml.onLoad = as.cocktail.utils.Delegate.create(onXmlLoad, this); this.extraArgs = extraArgs; } function load(file) { output = {}; xml.load(file); } function getBytesLoaded() { return(xml.getBytesLoaded()); } function getBytesTotal() { return(xml.getBytesTotal()); } function onXmlLoad() { var _local2 = [output]; if (extraArgs != undefined) { _local2.push(extraArgs); } parseSource(output, xml); onLoad.apply(this, _local2); } function parse(node) { output = output || ({}); var _local2 = [output]; if (extraArgs != undefined) { _local2.push(extraArgs); } parseSource(output, node); onParse.apply(this, _local2); } function parseSource(target, node) { var _local3; var _local5; var _local8; var _local2; var _local4; _local8 = node.childNodes; _local5 = node.childNodes.length; _local3 = 0; while (_local3 < _local5) { _local2 = node.childNodes[_local3]; _local4 = parseNode(target, _local2, _local2.nodeName); if (_local2.hasChildNodes()) { parseSource(_local4, _local2); } _local3++; } } function parseNode(target, node, name) { var _local2; var _local6; var _local7; if (name == undefined) { return(undefined); } if (target[name] == undefined) { target = (target[name] = {}); } else { if (!(target[name] instanceof Array)) { target[name] = [target[name]]; } target = (target[name][target[name].length] = {}); } _local2 = node.attributes; for (var _local5 in _local2) { if (target.attributes == undefined) { target.attributes = {}; } target.attributes[_local5] = _local2[_local5]; } _local6 = node.firstChild.nodeValue; if (_local6 != undefined) { target.value = _local6; } return(target); } }
Symbol 173 MovieClip [__Packages.app.Word] Frame 0
class app.Word { static var language, xmlObj, broadcastMessage; function Word () { } static function init() { if (initialized) { return(true); } AsBroadcaster.initialize(app.Word); return(true); } static function $(word) { var _local2; var _local3; var _local1; _local3 = word.split("/"); _local2 = xmlObj[language]; _local1 = 0; while (_local1 < _local3.length) { _local2 = _local2[_local3[_local1]]; _local1++; } return(_local2.value); } static function setLanguagesXml(xmlObject) { if (xmlObject.languages) { broadcastMessage("onDictionaryUpdate"); xmlObj = xmlObject.languages; } else { trace("as.vento.Word.setLanguagesXml : The xml doesn't match the required structure"); } } static function setCurrentLanguage(language) { if (language.length < 2) { return(false); } if (xmlObj[language] != undefined) { app.Word.language = language; broadcastMessage("onChangeLanguage", language); return(true); } trace(("as.vento.Word.setCurrentLanguage : The xml don't have the language ( " + language) + " )"); return(false); } static var initialized = init(); }
Symbol 174 MovieClip [__Packages.app.views.intro.SubMenu] Frame 0
class app.views.intro.SubMenu extends MovieClip { var xml, larva, useHandCursor, _visible, _alpha, _y, onRollOver, selectedIndex, selectedFrame, _currentframe, gotoAndStop, outTimeout, onEnterFrame, _ymouse; function SubMenu () { super(); app.Assets.addInstance("submenu", this); xml = app.Config.getXmlByName("submenu").submenu; init(); } function init() { larva = new as.dragonfly.body.core.Larva(this); useHandCursor = false; _visible = false; _alpha = 0; _y = INIT_Y; } function disable() { onRollOver = function () { }; useHandCursor = false; } function enable() { delete onRollOver; } function close(callback) { selectedIndex = undefined; selectedFrame = undefined; onItemRollOver(-1); hide(callback); } function beforeShow(frame) { if ((_y == FINAL_Y) && (_alpha == 100)) { if (_currentframe != frame) { hide(as.cocktail.utils.Delegate.create(show, this, frame)); } else { hide(); } return(false); } if (!_visible) { _visible = true; } gotoAndStop(frame); enable(); outTimeout.abort(); var _local2; _local2 = app.views.intro.panorama.Panorama(app.Assets.getInstance("gPanorama")); _local2.deactiveMouseSeek(); return(true); } function show(frame) { if (!beforeShow(frame)) { return(undefined); } var _local2; larva.alpha(null, 100, 150, 0, com.robertpenner.easing.Linear.easeNone); _local2 = larva.y(null, FINAL_Y, 200, 0, com.robertpenner.easing.Expo.easeOut); _local2.onComplete = as.cocktail.utils.Delegate.create(afterShow, this, frame); } function afterShow(frame) { setItensTriggers(); if ((selectedIndex != undefined) && (selectedFrame == 1)) { return(undefined); } onRollOver = as.cocktail.utils.FunctionHelper.join([as.cocktail.utils.Delegate.create(startWhatchMouse, this), as.cocktail.utils.Delegate.create(enable, this)]); } function beforeHide() { disable(); if ((!app.views.quiz.Quiz.__get___visible()) && (selectedFrame != 2)) { app.App.unlockPanorama(); var _local2; _local2 = app.views.intro.panorama.Panorama(app.Assets.getInstance("gPanorama")); _local2.activeMouseSeek(); } return(true); } function hide(callback) { if (!beforeHide()) { return(undefined); } var _local2; larva.alpha(null, 0, 250, 0, com.robertpenner.easing.Linear.easeNone); _local2 = larva.y(null, INIT_Y, 150, 0, com.robertpenner.easing.Expo.easeIn); _local2.onComplete = as.cocktail.utils.Delegate.create(afterHide, this, callback); } function afterHide(callback) { _visible = false; callback.call(); } function setItensTriggers() { var _local3; var _local4; var _local2; _local2 = 0; while (_local3 = this["item" + _local2] , _local3 != undefined) { _local4 = this["over" + _local2]; if (_local4) { _local3.onRollOver = as.cocktail.utils.Delegate.create(onItemRollOver, this, _local2); _local3.onRollOut = as.cocktail.utils.Delegate.create(onItemRollOut, this, _local2); } if (getItemNodeById(_local2).src) { _local3.onRelease = as.cocktail.utils.Delegate.create(onItemRelease, this, _local2); } else { _local3.useHandCursor = false; } _local2++; } } function onItemRollOut(id) { if ((id == selectedIndex) && (selectedFrame == _currentframe)) { return(undefined); } var _local4; var _local3; var _local2; _local4 = this["item" + id]; _local3 = this["over" + id]; _local2 = "out"; _local4.status = _local2; _local3.status = _local2; _local4.gotoAndPlay(_local2); _local3.gotoAndPlay(_local2); } function onItemRollOver(id) { var _local3; var _local6; var _local4; var _local2; _local2 = 0; while (_local3 = this["item" + _local2] , _local3 != undefined) { _local6 = this["over" + _local2]; _local4 = ((_local2 == id) ? "in" : "out"); if (_local2 == id) { if (id != selectedIndex) { _local3.status = _local4; _local3.gotoAndPlay("in"); _local6.gotoAndPlay("in"); } } else if ((_local3.status != _local4) && (_local3.status != undefined)) { onItemRollOut(_local2); } _local2++; } } function onItemRelease(id) { selectedIndex = id; selectedFrame = _currentframe; onItemRollOver(id); app.App.load(id, _currentframe); app.App.lockPanorama(); if (_currentframe == 2) { afterShow(_currentframe); } } function startWhatchMouse() { outTimeout.abort(); onEnterFrame = as.cocktail.utils.Delegate.create(checkMousePosition, this); } function stopWatchMouse() { onEnterFrame = null; } function checkMousePosition() { if ((selectedIndex != undefined) && (selectedFrame == 1)) { stopWatchMouse(); } if (outTimeout.__get__status() == as.cocktail.utils.SetTimeout.STATUS_DISPATCHED) { stopWatchMouse(); delete outTimeout; return(undefined); } if ((_ymouse < 0) || ((_ymouse > 100) && (selectedIndex == undefined))) { if (outTimeout.__get__status() != as.cocktail.utils.SetTimeout.STATUS_ARMED) { outTimeout = new as.cocktail.utils.SetTimeout(hide, 300, this); } } else { outTimeout.abort(); } } function getItemNodeById(id) { var _local3; var _local2; _local3 = 0; while (_local2 = xml.item[_local3].attributes , _local2 != undefined) { if (_local2.id == (String(_currentframe) + id)) { return(new app.models.dataobjects.SubMenuItemDAO(_local2.id, _local2.title, _local2.src)); } _local3++; } } var INIT_Y = 0; var FINAL_Y = -100; }
Symbol 175 MovieClip [__Packages.app.Assets] Frame 0
class app.Assets { static var instances; function Assets () { throw new Error("Assets is a static class and should not be instantiated."); } static function init(force) { if ((!initialized) || (force)) { trace("[Assets] init();"); instances = new Object(); return(true); } return(false); } static function getInstance(key) { return(instances[key]); } static function addInstance(key, value) { instances[key] = value; } static function removeInstance(key) { delete instances[key]; } static function addLinkedInstance(idLinkage, newInstanceKey, targetInstanceKey, extendClass, data) { var _local2; var _local4; var _local7; var _local1; var _local8; _local2 = getInstance(targetInstanceKey); if (typeof(_local2) != "movieclip") { _local1 = _local1 + "\r\r!!! WARNING !!!\r"; _local1 = _local1 + "[Assets.addLinkedInstance()]:\r"; _local1 = _local1 + (("The given `targetInstanceKey` (" + targetInstanceKey) + ") should "); _local1 = _local1 + "be a refference for a MovieClip instance item.\r\r"; trace(_local1); } if (extendClass instanceof Function) { Object.registerClass(idLinkage, extendClass); } _local7 = (isNaN(data.depth) ? (_local2.getNextHighestDepth()) : (data.depth)); _local4 = ((data.name == undefined) ? ((newInstanceKey + "_AT_") + targetInstanceKey) : (data.name)); _local8 = _local2.attachMovie(idLinkage, _local4, _local7, data.init); addInstance(newInstanceKey, _local8); return(getInstance(newInstanceKey)); } static var initialized = init(); }
Symbol 176 MovieClip [__Packages.app.views.intro.panorama.Panorama] Frame 0
class app.views.intro.panorama.Panorama { var pZoomLock, pViewArea, pViewFinder, pPanImg, pZoomImage, pGridImage, pVAreaRect, pImage, pTransferImage, pVFImageRect, pImageHold, pXFactor, pYFactor, pVFHalfW, pVFHalfH, pVFMaxX, pVFMaxY, pMouseX, pMouseY, pEasy, _seekMouse, _enabled, pInterval; function Panorama () { app.Assets.addInstance("gPanorama", this); } function fInit() { activeMouseSeek(); pZoomLock = false; pViewArea = MovieClip(app.Assets.getInstance("viewArea")); pViewFinder = MovieClip(app.Assets.getInstance("viewFinder")); var _local3 = pViewFinder.vfImage_mc; pPanImg = new flash.display.BitmapData(); pPanImg = flash.display.BitmapData.loadBitmap("panorama"); pZoomImage = new flash.display.BitmapData(); pZoomImage = flash.display.BitmapData.loadBitmap("panZoom"); pGridImage = flash.display.BitmapData.loadBitmap("pontilhado"); pVAreaRect = new flash.geom.Rectangle(pViewArea._x, pViewArea._y, pViewArea._width, pViewArea._height); pImage = new flash.display.BitmapData(pVAreaRect.width, pVAreaRect.height); pTransferImage = new flash.display.BitmapData(pVAreaRect.width, pVAreaRect.height); pVFImageRect = new flash.geom.Rectangle(_local3._x, _local3._y, _local3._width, _local3._height); pImageHold = new flash.display.BitmapData(pVFImageRect.width, pVFImageRect.height); pViewArea.attachBitmap(pImage, 10); var _local9 = pPanImg.width; var _local7 = pPanImg.height; var _local5 = _local9 - pVAreaRect.width; var _local4 = _local7 - pVAreaRect.height; var _local8 = pVAreaRect.width - pViewFinder.hit_mc._width; var _local6 = pVAreaRect.height - pViewFinder.hit_mc._height; pXFactor = _local5 / _local8; pYFactor = _local4 / _local6; pVFHalfW = pViewFinder.hit_mc._width / 2; pVFHalfH = pViewFinder.hit_mc._height / 2; pVFMaxX = pVAreaRect.right - pViewFinder.hit_mc._width; pVFMaxY = pVAreaRect.bottom - pViewFinder.hit_mc._height; pMouseX = _root._xmouse - pVFHalfW; pMouseY = _root._ymouse - pVFHalfH; fCheckPos(); pMouseX = 485; pMouseY = -400; fSetPos(); } function fCheckPos() { var _local5; var _local4; var _local3; var _local6; pEasy = 0.1; _local4 = 485; _local3 = 285; _local6 = true; if (isEnabled) { if (pViewArea.hitTest(_root._xmouse, _root._ymouse) && (_seekMouse)) { pEasy = 0.3; _local4 = _root._xmouse - pVFHalfW; _local3 = _root._ymouse - pVFHalfH; _local6 = false; } } _local5 = fFit(_local4, _local3); pMouseX = _local5.x; pMouseY = _local5.y; fSetPos(); if (_local6) { Mouse.show(); } else { Mouse.hide(); } } function fFit(wX, wY) { var _local2 = new Object(); _local2.x = ((wX < pVAreaRect.x) ? (pVAreaRect.x) : (wX)); _local2.y = ((wY < pVAreaRect.y) ? (pVAreaRect.y) : (wY)); _local2.x = ((_local2.x > pVFMaxX) ? (pVFMaxX) : (_local2.x)); _local2.y = ((_local2.y > pVFMaxY) ? (pVFMaxY) : (_local2.y)); return(_local2); } function fSetPos() { var _local9; var _local7; _local9 = (pMouseX - pViewFinder._x) * pEasy; _local7 = (pMouseY - pViewFinder._y) * pEasy; var _local15 = Math.abs(_local9) > 0.05; var _local17 = Math.abs(_local7) > 0.05; if (_local15 || (_local17)) { pViewFinder._x = pViewFinder._x + _local9; pViewFinder._y = pViewFinder._y + _local7; var _local6 = (pViewFinder._x - pVAreaRect.x) * pXFactor; var _local4 = (pViewFinder._y - pVAreaRect.y) * pYFactor; var _local8 = pVAreaRect.width; var _local5 = pVAreaRect.height; var _local10 = new flash.geom.Rectangle(_local6, _local4, _local8, _local5); var _local3; var _local2; var _local11; var _local13; var _local12; pImage.copyPixels(pPanImg, _local10, new flash.geom.Point(0, 0)); pImage.applyFilter(pImage, pVAreaRect, new flash.geom.Point(0, 0), new flash.filters.BlurFilter(_local9 * 0.5, _local7 * 0.5, 1)); if (!pZoomLock) { _local3 = pViewFinder._x - pVAreaRect.x; _local2 = pViewFinder._y - pVAreaRect.y; _local11 = pVFImageRect.width; _local13 = pVFImageRect.height; _local12 = new flash.geom.Rectangle(_local3, _local2, _local11, _local13); pImageHold.copyPixels(pImage, _local12, new flash.geom.Point(0, 0)); } else { _local6 = (pViewFinder._x - pVAreaRect.x) * pXFactor; _local4 = (pViewFinder._y - pVAreaRect.y) * pYFactor; _local8 = pVAreaRect.width; _local5 = pVAreaRect.height; _local10 = new flash.geom.Rectangle(_local6, _local4, _local8, _local5); pTransferImage.copyPixels(pZoomImage, _local10, new flash.geom.Point(0, 0)); _local3 = pViewFinder._x - pVAreaRect.x; _local2 = pViewFinder._y - pVAreaRect.y; _local11 = pVFImageRect.width; _local13 = pVFImageRect.height; _local12 = new flash.geom.Rectangle(_local3, _local2, _local11, _local13); pImageHold.copyPixels(pTransferImage, _local12, new flash.geom.Point(0, 0)); } var _local19 = pVAreaRect.x; var _local18 = pVAreaRect.y; var _local16 = pVAreaRect.width; var _local20 = pVAreaRect.height; var _local14 = new flash.geom.Rectangle(_local19, _local18, _local16, _local20); pImage.copyPixels(pGridImage, _local14, new flash.geom.Point(0, 0), undefined, undefined, true); pImage.copyPixels(pImageHold, _local14, new flash.geom.Point(_local3, _local2), undefined, undefined, true); } } function get isEnabled() { return(_enabled); } function enable() { clearInterval(pInterval); pInterval = setInterval(this, "fCheckPos", 30); return((_enabled = true)); } function disable() { clearInterval(pInterval); Mouse.show(); return((_enabled = false)); } function fZoom(wZoom) { pZoomLock = wZoom; } function activeMouseSeek() { _seekMouse = true; } function deactiveMouseSeek() { _seekMouse = false; } }
Symbol 177 MovieClip [__Packages.com.robertpenner.easing.Expo] Frame 0
class com.robertpenner.easing.Expo { function Expo () { } static function easeIn(t, b, c, d) { return(((t == 0) ? (b) : ((c * Math.pow(2, 10 * ((t / d) - 1))) + b))); } static function easeOut(t, b, c, d) { return(((t == d) ? (b + c) : ((c * ((-Math.pow(2, (-10 * t) / d)) + 1)) + b))); } static function easeInOut(t, b, c, d) { 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); } t--; return(((c / 2) * ((-Math.pow(2, -10 * t)) + 2)) + b); } }
Symbol 178 MovieClip [__Packages.as.cocktail.utils.FunctionHelper] Frame 0
class as.cocktail.utils.FunctionHelper { function FunctionHelper () { } static function join(functions) { var _local3; _local3 = function (funcs) { var _local1; var _local2; _local1 = 0; while (_local2 = funcs[_local1] , _local2 != undefined) { _local2(); _local1++; } }; return(as.cocktail.utils.Delegate.create(_local3, null, [functions])); } static function copyObj(source, target, overwrite) { var _local3; overwrite = ((overwrite == undefined) ? true : (overwrite)); _local3 = function (props) { var _local2; for (_local2 in props) { if (_local2 == "__remove__") { switch (typeof(this)) { case "movieclip" : _local2 = "removeMovieClip"; break; default : _local2 = "removeTextField"; } } if (typeof(this[_local2]) != "function") { this[_local2] = ((((!(this[_local2] === undefined)) && (overwrite)) || (this[_local2] === undefined)) ? (props[_local2]) : (this[_local2])); } else { this[_local2].apply(this, [].concat(props[_local2])); } } }; return(as.cocktail.utils.Delegate.create(_local3, target, source)); } static function copyProps(props, items, overwrite) { var _local4; var _local1; items = [].concat(items); _local4 = new Array(); _local1 = 0; while (_local1 < items.length) { _local4.push(copyObj(((props instanceof Array) ? (props[_local1]) : (props)), items[_local1], overwrite)); _local1++; } return(join(_local4)); } static function gd(def, obj) { return(((def === undefined) ? (obj) : (def))); } }
Symbol 179 MovieClip [__Packages.app.views.quiz.Quiz] Frame 0
class app.views.quiz.Quiz extends MovieClip { static var mc, background, results, question, _selectedId, _selectedAnswer, form; var close_mc; function Quiz () { super(); close_mc._visible = false; app.Assets.addInstance("Quiz", this); var _local4 = new as.cocktail.utils.SetTimeout(registerAssets, 30, app.views.quiz.Quiz); var _local3 = new as.cocktail.utils.SetTimeout(setTriggers, 30, this); mc = this; } static function init() { if (_initialized) { return(false); } _initialized = true; } static function registerAssets() { background = app.views.quiz.Background(app.Assets.getInstance(app.views.quiz.Background.KEY)); results = app.views.quiz.Results(app.Assets.getInstance(app.views.quiz.Results.KEY)); question = app.views.quiz.Question(app.Assets.getInstance(app.views.quiz.Question.KEY)); } static function showQuiz(id) { if (app.views.intro.Loader.__get__isLoaded()) { app.App.closeLoadedFile(as.cocktail.utils.Delegate.create(showQuiz, app.views.quiz.Quiz, id)); return(undefined); } if ((results.status == "sliding") || (question.status == "sliding")) { return(undefined); } if (id == 8) { trace("\r\r prevented \r\r"); hideQuiz(); return(undefined); } var _local3 = ["AgentTaylor", "AgentBarnes", "Howard", "Suarez", "Enrique", "Javier", "Veronica", "Rex", "PresidentAshton"]; var _local4 = _local3[id]; app.Track.addTrack("255~home~5~Film+VANTAGEPOINT+pool_" + _local4); _selectedId = id; background.load(id); mc.show(); showQuestion(); var _local2; _local2 = app.views.intro.panorama.Panorama(app.Assets.getInstance("gPanorama")); _local2.deactiveMouseSeek(); app.Assets.getInstance("menu").pIsQuiz = true; app.Assets.getInstance("menu").updateRollOvers(); app.Assets.getInstance("soundPlayer").fChangeStatus("quiz"); } static function hideQuiz(callback) { var _local1; var _local3; app.Assets.getInstance("menu").pIsQuiz = false; _local1 = app.views.intro.panorama.Panorama(app.Assets.getInstance("gPanorama")); if (results.isVisible()) { results.hide(callback); } if (question.isVisible()) { question.hide(callback); } question.slideDown(); _selectedId = undefined; _selectedAnswer = undefined; background.hide(as.cocktail.utils.Delegate.create(_local1.activeMouseSeek, _local1)); mc.hide(); app.Assets.getInstance("menu").updateRollOvers(); } static function showQuestion(callback) { if (results.isVisible()) { results.hide(as.cocktail.utils.Delegate.create(question.show, question, callback)); } else if (results.isVisible()) { question.hide(as.cocktail.utils.Delegate.create(question.show, question, callback)); } else { question.show(callback); } } static function showResults() { if (question.isVisible()) { question.hide(as.cocktail.utils.Delegate.create(results.show, results)); } else { results.show(); } } static function vote(answer_id) { form = new app.forms.VoteForm(); form.answer_id = answer_id; form.character_id = selectedId; form.onLoad = function (form) { if (Number(form.success) < 1) { trace("Quiz : Error trying to post the answer"); trace(("using script ( " + (app.Config.getGatewayByName("php") + "vote.php")) + " )"); app.Assets.getInstance(app.views.quiz.QuestionBody.KEY).submit_btn.enabled = true; } else { app.views.quiz.Quiz.form = form; app.views.quiz.Quiz.showResults(); } }; _selectedAnswer = answer_id - 1; form.sendAndLoad(app.Config.getGatewayByName("php") + "vote.php"); } static function getBackgroundById(id) { return(getPath() + getCharacterById(id).background_src); } static function getZoomById(id) { return(getPath() + getCharacterById(id).zoom_src); } static function getNameById(id) { return(getCharacterById(id).name); } static function getPath() { return(app.Config.getXmlByName("quiz").quiz.characters.attributes.path); } static function getCharacterById(id) { var _local2; var _local1; var _local5; var _local3; _local3 = app.Config.getXmlByName("quiz").quiz.characters; _local5 = _local3.attributes.path; _local2 = 0; while (_local1 = _local3.character[_local2].attributes , _local1 != undefined) { if (_local1.id == id) { return(_local1); } _local2++; } return(undefined); } static function get _visible() { return(question.isVisible() || (results.isVisible())); } static function get selectedId() { return(_selectedId); } static function get selectedAnswer() { return(_selectedAnswer); } function setTriggers() { var _local2; _local2 = function (c) { c.call(); return(false); }; close_mc.beforeClose = as.cocktail.utils.Delegate.create(_local2, undefined, as.cocktail.utils.Delegate.create(hideQuiz, app.views.quiz.Quiz)); } function show(callback) { close_mc.fadeIn(callback); } function hide(callback) { var _local2; _local2 = function (o, c) { o._visible = false; c.call(); }; close_mc.fadeOut(as.cocktail.utils.Delegate.create(_local2, undefined, [close_mc, callback])); } static var _initialized = init(); }
Symbol 180 MovieClip [__Packages.app.views.quiz.Background] Frame 0
class app.views.quiz.Background extends MovieClip { var stop, xml, larva, timeline, _alpha, mcl, status, loader, mask_mc; function Background () { super(); app.Assets.addInstance(KEY, this); stop(); xml = app.Config.getXmlByName("quiz").quiz.characters; init(); } function init() { larva = new as.dragonfly.body.core.Larva(this); timeline = new as.cocktail.utils.TimelineControl(this); _alpha = 0; mcl = new MovieClipLoader(); mcl.addListener({onLoadInit:as.cocktail.utils.Delegate.create(show, this)}); } function show(callback) { if (app.views.quiz.Quiz.question.isVisible() || (!app.views.quiz.Quiz.results.isVisible())) { return(undefined); } if (status == "show") { hide(as.cocktail.utils.Delegate.create(show, this, callback)); return(undefined); } status = "show"; loader.setMask(mask_mc); if (_alpha != 100) { var _local3; _local3 = larva.alpha(null, 100, 200, 0, com.robertpenner.easing.Linear.easeNone); _local3.onComplete = callback; } else { callback.call(); } } function hide(callback) { status = "hide"; if (_alpha) { var _local2; _local2 = larva.alpha(null, 0, 300, 0, com.robertpenner.easing.Linear.easeNone); _local2.onComplete = callback; } else { callback.call(); } } function isBackgroundVisible() { return(_alpha != 0); } function load(id) { if (isBackgroundVisible()) { hide(as.cocktail.utils.Delegate.create(arguments.callee, this, arguments)); return(undefined); } mcl.loadClip(app.Config.getPath() + app.views.quiz.Quiz.getBackgroundById(id), loader); } function getBackgroundById(id) { var _local3; var _local2; var _local4; xml = app.Config.getXmlByName("quiz").quiz.characters; _local4 = xml.attributes.path; _local3 = 0; while (_local2 = xml.character[_local3].attributes , _local2 != undefined) { if (_local2.id == id) { return(_local4 + _local2.background_src); } _local3++; } return(undefined); } static var KEY = "quizBackground"; }
Symbol 181 MovieClip [__Packages.as.cocktail.utils.TimelineControl] Frame 0
class as.cocktail.utils.TimelineControl { var mc, speed, frameFunctions, onEnterFrame, isOnFirstFrame, isOnLastFrame, isOnTargetFrame, loopFrom, loopTo, yoyo, looping, targetFrame, onFrame, onReach, onFirstFrame, onLastFrame; function TimelineControl (mcToControl, speed) { if (mcToControl == undefined) { trace("[TimelineControl] >> ERROR - mcToControl not specified!"); return; } mc = mcToControl; mx.transitions.OnEnterFrameBeacon.init(); _global.MovieClip.addListener(this); if (speed) { this.speed = speed; } else { this.speed = 1; } frameFunctions = new Object(); onEnterFrame = enterFrame; } function addFrameFunction(frameNumber, frameFunction, scope, args, removeAfterExec) { if (frameFunctions[frameNumber] == undefined) { frameFunctions[frameNumber] = new Array(); } frameFunctions[frameNumber].push({frameFunction:frameFunction, scope:scope, args:args, removeAfterExec:removeAfterExec}); } function removeFrameFunction(frameNumber, frameFunction) { if (frameFunctions[frameNumber] != undefined) { var _local5; var _local2 = 0; var _local4 = frameFunctions[frameNumber].length; while (_local2 < _local4) { _local5 = frameFunctions[frameNumber][_local2]; if ((_local5.frameFunction == frameFunction) || (frameFunction == undefined)) { frameFunctions[frameNumber].splice(_local2, 1); } _local2++; } } } function loop(fromFrame, toFrame, isYoyo) { isOnFirstFrame = false; isOnLastFrame = false; isOnTargetFrame = false; loopFrom = (((fromFrame == undefined) || (fromFrame == null)) ? 1 : (fromFrame)); loopTo = (((toFrame == undefined) || (toFrame == null)) ? (mc._totalframes) : (toFrame)); yoyo = (((isYoyo == undefined) || (isYoyo == false)) ? false : true); gotoAndStop(loopFrom); looping = true; targetFrame = loopTo; } function gotoAndPlay(frame) { isOnFirstFrame = false; isOnLastFrame = false; isOnTargetFrame = false; looping = false; mc.gotoAndPlay(frame); } function gotoAndStop(frame) { isOnFirstFrame = false; isOnLastFrame = false; isOnTargetFrame = false; looping = false; targetFrame = null; mc.gotoAndStop(frame); } function stop(Void) { looping = false; targetFrame = null; mc.stop(); } function play(Void) { isOnFirstFrame = false; isOnLastFrame = false; isOnTargetFrame = false; looping = false; mc.play(); } function get targetMovieClip() { return(mc); } function playBackwards() { animateToFrame(1); } function animateToFrame(number, callback, scope, args) { isOnFirstFrame = false; isOnLastFrame = false; isOnTargetFrame = false; looping = false; mc.stop(); targetFrame = number; if (callback) { addFrameFunction(number, callback, scope, args, true); } } function get _currentframe() { return(mc._currentframe); } function get _totalframes() { return(mc._totalframes); } function get _speed() { return(speed); } function set _speed(speed) { this.speed = Math.ceil(speed); //return(_speed); } function enterFrame(Void) { if (_frame != _currentframe) { _frame = _currentframe; onFrame(_frame); execFrameFunction(_currentframe); } if (targetFrame != null) { var _local2 = ((targetFrame > mc._currentframe) ? (speed) : (-speed)); if (_local2 > 0) { if ((mc._currentframe + _local2) > targetFrame) { _local2 = targetFrame - mc._currentframe; } } else if ((mc._currentframe + _local2) < targetFrame) { _local2 = targetFrame - mc._currentframe; } if (mc._currentFrame != targetFrame) { isOnTargetFrame = false; mc.gotoAndStop(mc._currentframe + _local2); } if (mc._currentFrame == targetFrame) { if (!isOnTargetFrame) { onReach(mc._currentframe); isOnTargetFrame = true; targetFrame = null; } if (looping) { if (!yoyo) { gotoAndStop(loopFrom); looping = true; targetFrame = loopTo; } else { targetFrame = ((_currentframe == loopFrom) ? (loopTo) : (loopFrom)); } } } } if (mc._currentframe == 1) { if (!isOnFirstFrame) { onFirstFrame(); isOnFirstFrame = true; } } else { isOnFirstFrame = false; } if (mc._currentframe == mc._totalframes) { if (!isOnLastFrame) { onLastFrame(); isOnLastFrame = true; } } else { isOnLastFrame = false; } } function execFrameFunction(frameNumber, removeAfterExec) { removeAfterExec = removeAfterExec || false; var _local2; if (!frameFunctions[frameNumber].length) { return(undefined); } var _local3 = 0; var _local5 = frameFunctions[frameNumber].length; while (_local3 < _local5) { _local2 = frameFunctions[frameNumber][_local3]; _local2.frameFunction.apply(_local2.scope, _local2.args); if (_local2.removeAfterExec) { removeFrameFunction(frameNumber, _local2.frameFunction); } _local3++; } if (removeAfterExec) { frameFunctions[frameNumber] = new Array(); } } var _frame = 0; }
Symbol 182 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon { function OnEnterFrameBeacon () { } static function init() { var _local4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(_local4); var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876); _local3.onEnterFrame = function () { _global.MovieClip.broadcastMessage("onEnterFrame"); }; } } static var version = "1.1.0.52"; }
Symbol 183 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX { var _listeners; function BroadcasterMX () { } static function initialize(o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } } function addListener(o) { removeListener(o); if (broadcastMessage == undefined) { broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return(_listeners.push(o)); } function removeListener(o) { var _local2 = _listeners; var _local3 = _local2.length; while (_local3--) { if (_local2[_local3] == o) { _local2.splice(_local3, 1); if (!_local2.length) { broadcastMessage = undefined; } return(true); } } return(false); } function broadcastMessage() { var _local5 = String(arguments.shift()); var _local4 = _listeners.concat(); var _local6 = _local4.length; var _local3 = 0; while (_local3 < _local6) { _local4[_local3][_local5].apply(_local4[_local3], arguments); _local3++; } } static var version = "1.1.0.52"; }
Symbol 184 MovieClip [__Packages.app.views.quiz.ViewBox] Frame 0
class app.views.quiz.ViewBox extends MovieClip { var stop, larva, timeline, _y, status, body_mc, mask_mc, gotoAndStop; function ViewBox () { super(); stop(); larva = new as.dragonfly.body.core.Larva(this); timeline = new as.cocktail.utils.TimelineControl(this); _y = INIT_Y; status = "hided"; } function setBodyMask() { body_mc.setMask(mask_mc); } function load(id) { } function beforeShow(callback) { if (status == "show") { hide(as.cocktail.utils.Delegate.create(show, this, callback)); return(false); } gotoAndStop(1); timeline.addFrameFunction(3, setBodyMask, this, null, true); load(app.views.quiz.Quiz.__get__selectedId()); return(true); } function show(callback) { if (!beforeShow()) { return(undefined); } var _local2; status = "sliding"; _local2 = larva.y(null, FINAL_Y, 500, 0, com.robertpenner.easing.Expo.easeOut); _local2.onComplete = as.cocktail.utils.Delegate.create(afterShow, this, callback); } function afterShow(callback) { status = "show"; callback.call(); } function beforeHide() { return(true); } function hide(callback) { if (!beforeHide()) { return(undefined); } status = "sliding"; slideDown(callback); } function slideDown(callback) { var _local2; _local2 = larva.y(null, INIT_Y, 500, 150, com.robertpenner.easing.Expo.easeOut); _local2.onComplete = as.cocktail.utils.Delegate.create(afterHide, this, callback); } function afterHide(callback) { status = "hided"; callback.call(); } function isVisible() { return(status != "hided"); } var INIT_Y = 561; var FINAL_Y = 300; }
Symbol 185 MovieClip [__Packages.app.views.quiz.Results] Frame 0
class app.views.quiz.Results extends app.views.quiz.ViewBox { var body_mc, beforeShow, status, _y, _alpha, larva, beforeHide, afterHide, timeline; function Results () { super(); app.Assets.addInstance(KEY, this); } function load(id) { body_mc.load(id); } function show(callback) { if (!beforeShow()) { return(undefined); } var _local2; status = "show"; _y = FINAL_Y; _alpha = 0; _local2 = larva.alpha(null, 100, 500, 0, com.robertpenner.easing.Expo.easeOut); _local2.onComplete = as.cocktail.utils.Delegate.create(afterShow, this, callback); } function afterShow(callback) { body_mc.animate(); super.afterShow(callback); } function hide(callback) { if (!beforeHide()) { return(undefined); } var _local2; status = "hide"; _local2 = larva.alpha(null, 0, 50, 0, com.robertpenner.easing.Linear.easeNone); _local2.onComplete = as.cocktail.utils.Delegate.create(afterHide, this, callback); timeline.playBackwards(); } var FINAL_Y = 330; static var KEY = "quizResults"; }
Symbol 186 MovieClip [__Packages.app.views.quiz.Body] Frame 0
class app.views.quiz.Body extends MovieClip { var name_txt, surname_txt; function Body () { super(); } function setName(name, surname) { name_txt.text = name.toUpperCase(); surname_txt.text = surname.toUpperCase(); surname_txt._x = (name_txt._x + name_txt.textWidth) + 5; } function setAnswer(id, answer) { var _local2; _local2 = this["answer" + id]; _local2.text = answer; _local2.y0 = ((_local2.y0 == undefined) ? (_local2._y) : (_local2.y0)); if ((this["answer" + id].textHeight == 16) && (this["over" + id] == undefined)) { _local2._y = _local2.y0 + 8; } } function load(id) { var _local4; var _local2; var _local5; _local2 = app.views.quiz.Quiz.getNameById(id).split(" "); _local4 = _local2[0]; _local2.splice(0, 1); _local5 = _local2.join(" "); setName(_local4, _local5); setAnswer(0, app.Word.$(("questions/char" + id) + "/answer0")); setAnswer(1, app.Word.$(("questions/char" + id) + "/answer1")); setAnswer(2, app.Word.$(("questions/char" + id) + "/answer2")); } var NAME_POS_X = 0; }
Symbol 187 MovieClip [__Packages.app.views.quiz.ResultsBody] Frame 0
class app.views.quiz.ResultsBody extends app.views.quiz.Body { var explore_btn; function ResultsBody () { super(); var _local3; _local3 = new as.cocktail.utils.SetTimeout(setTriggers, 30, this); setTriggers(); } function setTriggers() { explore_btn.onRelease = as.cocktail.utils.Delegate.create(onExploreRelease, this); } function onExploreRelease() { app.views.quiz.Quiz.hideQuiz(as.cocktail.utils.Delegate.create(app.Assets.getInstance("soundPlayer").fChangeStatus, app.Assets.getInstance("soundPlayer"), "panorama")); } function load(id) { super.load(id); var _local5; var _local4; var _local3; _local3 = 0; while (_local4 = this["message" + _local3] , _local4 != undefined) { _local5 = this["percentage" + _local3]; _local4.text = ((app.views.quiz.Quiz.__get__selectedAnswer() == _local3) ? (app.Word.$("share_your_vantage_point")) : (app.Word.$("have_a_different_vantage_point"))); _local5.text = getPercentageById(_local3) + "%"; this["percentageBar" + _local3]._xscale = 0; _local3++; } } function animate() { var _local2; var _local3; var _local4; var _local5; _local2 = 0; while (_local3 = this["percentageBar" + _local2] , _local3 != undefined) { _local4 = new as.dragonfly.body.core.Larva(_local3); _local5 = _local4.xscale(0, getPercentageById(_local2), 2000, _local2 * 750, com.robertpenner.easing.Expo.easeOut); _local2++; } app.views.quiz.Quiz.background.show(); } function getPercentageById(id) { var _local1; var _local3; var _local4; var _local2; var _local5; _local1 = 1; _local4 = 0; _local2 = app.views.quiz.Quiz.form; while (_local3 = _local2["answer" + _local1] , _local3 != undefined) { _local4 = _local4 + Number(_local2["answer" + _local1].substr(0, _local2["answer" + _local1].indexOf(newline))); _local1++; } _local3 = Number(_local2["answer" + (id + 1)].substr(0, _local2["answer" + (id + 1)].indexOf(newline))); _local5 = (_local3 / _local4) * 100; return(Number(as.cocktail.utils.MathHelper.formatCurrency(_local5, ".", null, 2, true))); } }
Symbol 188 MovieClip [__Packages.as.cocktail.utils.MathHelper] Frame 0
class as.cocktail.utils.MathHelper { function MathHelper () { } static function formatCurrency(num, decimalDelim, thousandsDelim, decimalPl, truncate, currencySymbol) { var _local1; var _local4; var _local2; decimalPl = ((decimalPl == undefined) ? 2 : (decimalPl)); decimalDelim = ((decimalDelim == undefined) ? "." : (decimalDelim)); thousandsDelim = ((thousandsDelim == undefined) ? "," : (thousandsDelim)); currencySymbol = ((currencySymbol == undefined) ? "" : (currencySymbol)); _local1 = 0; _local4 = ""; while (_local1 < decimalPl) { _local4 = _local4 + "0"; _local1++; } num = String(num); _local2 = ((num.indexOf(".") > -1) ? (num.split(".")) : (_local2 = [num, _local4])); if (_local2 != _local4) { if (_local2[1].length > decimalPl) { _local2[1] = (truncate ? (_local2[1].substr(0, decimalPl)) : (Math.round((Number(_local2[1]) / 10) * (decimalPl--)))); } else { _local2[1] = (_local2[1] + _local4).substr(0, decimalPl); } } if (_local2[0].length > 3) { _local1 = 0; while ((_local2[0].indexOf(thousandsDelim) > 3) || (_local2[0].indexOf(thousandsDelim) == -1)) { _local2[0] = [_local2[0].substr(0, -((_local1 * 4) + 3)), _local2[0].substr(-((_local1 * 4) + 3))].join(thousandsDelim); _local1++; } } return(currencySymbol + _local2.join(decimalDelim)); } }
Symbol 189 MovieClip [__Packages.app.views.quiz.Question] Frame 0
class app.views.quiz.Question extends app.views.quiz.ViewBox { var mcl, timeline, viewFinder, play, beforeHide, status, afterHide; function Question () { super(); app.Assets.addInstance(KEY, this); init(); } function init() { mcl = new MovieClipLoader(); timeline = new as.cocktail.utils.TimelineControl(this); viewFinder.larva = new as.dragonfly.body.core.Larva(viewFinder); } function load(id) { viewFinder.gotoAndPlay((id + 1) + "_"); } function beforeShow(callback) { viewFinder._alpha = 100; return(super.beforeShow(callback)); } function afterShow(callback) { play(); super.afterShow(callback); } function hide(callback) { if (!beforeHide()) { return(undefined); } var _local3; var _local2; status = "hide"; _local3 = viewFinder.larva; _local2 = _local3.alpha(null, 0, 300, 0, com.robertpenner.easing.Linear.easeNone); _local2.onComplete = as.cocktail.utils.Delegate.create(afterHide, this, callback); timeline.playBackwards(); } static var KEY = "quizQuestion"; }
Symbol 190 MovieClip [__Packages.app.views.quiz.QuestionBody] Frame 0
class app.views.quiz.QuestionBody extends app.views.quiz.Body { var loading_mc, submit_btn, selectedAnswer, redQuestion_txt, whiteQuestion_txt; function QuestionBody () { super(); app.Assets.addInstance(KEY, this); load(app.views.quiz.Quiz.__get__selectedId()); setTriggers(); loading_mc._visible = false; } function setTriggers() { var _local3; var _local2; var _local4; _local3 = 0; while (_local2 = this["over" + _local3] , _local2 != undefined) { _local4 = this["ball" + _local3]; _local2.onRollOver = (_local2.onDragOver = as.cocktail.utils.Delegate.create(onAnswerRollOver, this, [_local4, _local3])); _local2.onRollOut = (_local2.onDragOut = as.cocktail.utils.Delegate.create(onAnswerRollOut, this, [_local4, _local3])); _local2.onRelease = as.cocktail.utils.Delegate.create(onAnswerRelease, this, [_local4, _local3]); _local2._alpha = 0; _local3++; } } function setSubmitRelease() { submit_btn.onRelease = as.cocktail.utils.Delegate.create(submit, this); } function submit() { submit_btn.enabled = false; loading_mc._visible = true; app.views.quiz.Quiz.vote(selectedAnswer + 1); } function onAnswerRollOver(ball, i) { ball.gotoAndStop(2); } function onAnswerRollOut(ball, i) { if (i == selectedAnswer) { return(undefined); } ball.gotoAndStop(1); } function onAnswerRelease(ball, i) { var _local2; _local2 = this["over" + selectedAnswer]; selectedAnswer = i; _local2.onRollOut(); setSubmitRelease(); } function setQuestion(red, white) { redQuestion_txt.text = red; whiteQuestion_txt.text = white; whiteQuestion_txt._x = (redQuestion_txt._x + redQuestion_txt.textWidth) + 5; } function load(id) { var _local3; var _local4; _local3 = app.Word.$("questions/red_question"); _local4 = app.Word.$(("questions/char" + id) + "/white_question"); setQuestion(_local3, _local4); super.load(id); } static var KEY = "QuestionBody"; }
Symbol 191 MovieClip [__Packages.app.forms.Form] Frame 0
class app.forms.Form { var form, onLoad; function Form () { form = new LoadVars(); } function getPropsObject() { return({}); } function sendAndLoad(url) { as.cocktail.utils.FunctionHelper.copyObj(getPropsObject(), form, true)(); form.onLoad = as.cocktail.utils.Delegate.create(onLoad, this, form); form.sendAndLoad(url, form, "POST"); } }
Symbol 192 MovieClip [__Packages.app.forms.VoteForm] Frame 0
class app.forms.VoteForm extends app.forms.Form { var character_id, answer_id; function VoteForm () { super(); } function setCharacterId(id) { character_id = id; } function setAnswerId(id) { answer_id = id; } function getPropsObject() { return({character_id:character_id, answer_id:answer_id}); } }
Symbol 193 MovieClip [__Packages.app.views.quiz.Close] Frame 0
class app.views.quiz.Close extends app.views.elements.Close { var setTriggers, _visible; function Close () { super(); } function init() { setTriggers(); _visible = false; } }
Symbol 194 MovieClip [__Packages.app.views.intro.Loader] Frame 0
class app.views.intro.Loader extends MovieClip { var background_mc, loader, createEmptyMovieClip, getNextHighestDepth, loaded; function Loader () { super(); app.Assets.addInstance("introLoader", this); init(); } static function loadSwf(file, frame) { getLoader().load(file, frame); } static function unLoadSwf(callback) { getLoader().unLoad(callback); } static function getLoader() { return(app.Assets.getInstance("introLoader")); } function init() { createLoader(); background_mc._alpha = 0; background_mc.useHandCursor = false; } function createLoader() { if (loader != undefined) { loader.removeMovieClip(); } loader = createEmptyMovieClip("loader", getNextHighestDepth()); loader._y = 50; } function load(file, frame) { if (loaded) { unLoad(as.cocktail.utils.Delegate.create(arguments.callee, this, arguments), false); return(undefined); } if (app.views.quiz.Quiz.__get___visible()) { app.views.quiz.Quiz.hideQuiz(as.cocktail.utils.Delegate.create(arguments.callee, this, arguments)); return(undefined); } var rootLoader; var _local5; var _local4; background_mc.gotoAndStop(frame); rootLoader = app.App.root.loading; rootLoader.target = loader; rootLoader.onLoadComplete = as.cocktail.utils.Delegate.create(onSwfLoad, this); _local5 = new as.dragonfly.body.core.Larva(background_mc); _local4 = _local5.alpha(null, 95, 400, 0, com.robertpenner.easing.Linear.easeNone); var _local3; _local3 = function () { this.background_mc.onRollOver = function () { }; app.Assets.getInstance("soundPlayer").fChangeStatus("mute"); rootLoader.startLoading(); rootLoader.target.loadMovie(app.Config.getPath() + file); }; _local4.onComplete = as.cocktail.utils.Delegate.create(_local3, this); } function onSwfLoad() { loaded = true; loader._alpha = 100; loader.nextFrame(); } function unLoad(callback, fadeOutBackground) { fadeOutBackground = ((fadeOutBackground == undefined) ? true : (fadeOutBackground)); var _local5 = new as.dragonfly.body.core.Larva(loader); var _local3; if (fadeOutBackground) { var _local4 = new as.dragonfly.body.core.Larva(background_mc); _local4.alpha(null, 0, 400, 250, com.robertpenner.easing.Linear.easeNone); } _local3 = _local5.alpha(null, 0, 400, 0, com.robertpenner.easing.Linear.easeNone); _local3.onComplete = as.cocktail.utils.Delegate.create(onUnLoad, this, callback); } function onUnLoad(callback) { app.App.broadcastMessage("onUnLoad"); createLoader(); delete background_mc.onRollOver; loaded = false; callback.call(); } static function get isLoaded() { return(getLoader().loaded); } }
Symbol 195 MovieClip [__Packages.app.Loading] Frame 0
class app.Loading extends MovieClip { var timeline, stop, onLoadComplete, target, barLarva, loaderBar, onEnterFrame; function Loading () { super(); init(); } function init() { timeline = new as.cocktail.utils.TimelineControl(this); timeline.onLastFrame = as.cocktail.utils.Delegate.create(stop, this); onLoadComplete = as.cocktail.utils.Delegate.create(app.App.launch, app.App); target = app.App.root; startLoading(); barLarva = new as.dragonfly.body.core.Larva(loaderBar); } function startLoading() { setPercentage(0); onEnterFrame = as.cocktail.utils.Delegate.create(onLoadProgress, this); barLarva.alpha(null, 100, 400, 0, com.robertpenner.easing.Linear.easeNone); } function onLoadProgress() { if (target.getBytesTotal() <= 8) { setPercentage(0); return(undefined); } setPercentage(target.getBytesLoaded() / target.getBytesTotal()); } function setPercentage(percentage) { loaderBar.bar_mc._x = Math.round(960 * percentage) - 960; percentage = Math.round(100 * percentage); loaderBar.percentage_txt.text = percentage + "%"; if (percentage == 100) { onEnterFrame = undefined; var _local3 = barLarva.alpha(null, 0, 500, 0, com.robertpenner.easing.Linear.easeNone); _local3.onComplete = onLoadComplete; } } }
Symbol 196 MovieClip [__Packages.app.Track] Frame 0
class app.Track { static var debug, stack, trackInterval, lastTracked; function Track () { } static function init() { if (initialized) { return(false); } initialized = true; debug = false; stack = new Array(); return(true); } static function startDoingStack() { stopDoingStack(); trackInterval = setInterval(as.cocktail.utils.Delegate.create(doStack, app.Track), 500); } static function stopDoingStack() { clearInterval(trackInterval); } static function doStack() { var _local1; if (stack.length) { _local1 = String(stack.shift()); if (lastTracked != _local1) { lastTracked = _local1; if (_local1 != "clear") { doTrack(_local1); } } } else { stopDoingStack(); } } static function doTrack(track) { var _local1; _local1 = ("javascript:change_state('" + track) + "');"; if (debug) { trace(("Track.doTrack ( " + track) + " )"); } else { getURL (_local1); } } static function addTrack(track) { if (!stack.length) { startDoingStack(); } stack.push(track); } static var initialized = init(); }
Symbol 197 MovieClip [__Packages.app.models.dataobjects.SubMenuItemDAO] Frame 0
class app.models.dataobjects.SubMenuItemDAO { var id, title, src; function SubMenuItemDAO (id, title, src) { this.id = id; this.title = title; this.src = src; } }
Symbol 198 MovieClip [__Packages.app.SketchManager] Frame 0
class app.SketchManager { var pStatus, pRoot, pCurHair, pCurCheek, pCurNose, pCurEye, pCurMouth, pCurChin, pHair, pCheek, pNose, pEye, pMouth, pChin; function SketchManager (wRoot) { trace("new game manager"); pStatus = "off"; pRoot = wRoot; } function fReset() { trace("chamou o sketch manager"); pCurHair = 4; pCurCheek = 4; pCurNose = 4; pCurEye = 4; pCurMouth = 4; pCurChin = 4; } function fSetFace() { pHair = random(3) + 1; pCheek = random(3) + 1; pNose = random(3) + 1; pEye = random(3) + 1; pMouth = random(3) + 1; pChin = random(3) + 1; trace("cabelo: " + pRoot.face_mc.hair_mc); pRoot.face_mc.hair_mc.gotoAndStop(pHair); pRoot.face_mc.cheek_mc.gotoAndStop(pCheek); pRoot.face_mc.nose_mc.gotoAndStop(pNose); pRoot.face_mc.eye_mc.gotoAndStop(pEye); pRoot.face_mc.mouth_mc.gotoAndStop(pMouth); pRoot.face_mc.chin_mc.gotoAndStop(pChin); } function fStartPuzzle() { pRoot.face_mc.hair_mc.gotoAndStop(4); pRoot.face_mc.cheek_mc.gotoAndStop(4); pRoot.face_mc.nose_mc.gotoAndStop(4); pRoot.face_mc.eye_mc.gotoAndStop(4); pRoot.face_mc.mouth_mc.gotoAndStop(4); pRoot.face_mc.chin_mc.gotoAndStop(4); } function fSetPiece(wPiece) { switch (wPiece) { case "hair" : pCurHair++; pCurHair = ((pCurHair > 3) ? 1 : (pCurHair)); pRoot.face_mc.hair_mc.gotoAndStop(pCurHair); break; case "cheek" : pCurCheek++; pCurCheek = ((pCurCheek > 3) ? 1 : (pCurCheek)); pRoot.face_mc.cheek_mc.gotoAndStop(pCurCheek); break; case "nose" : pCurNose++; pCurNose = ((pCurNose > 3) ? 1 : (pCurNose)); pRoot.face_mc.nose_mc.gotoAndStop(pCurNose); break; case "eye" : pCurEye++; pCurEye = ((pCurEye > 3) ? 1 : (pCurEye)); pRoot.face_mc.eye_mc.gotoAndStop(pCurEye); break; case "mouth" : pCurMouth++; pCurMouth = ((pCurMouth > 3) ? 1 : (pCurMouth)); pRoot.face_mc.mouth_mc.gotoAndStop(pCurMouth); break; case "chin" : pCurChin++; pCurChin = ((pCurChin > 3) ? 1 : (pCurChin)); pRoot.face_mc.chin_mc.gotoAndStop(pCurChin); } } function fSubmit() { trace("submeteu"); pRoot.gotoAndPlay("interna4"); } function fShowResults() { pRoot.face_mc.hair_mc.gotoAndStop(pCurHair); pRoot.face_mc.cheek_mc.gotoAndStop(pCurCheek); pRoot.face_mc.nose_mc.gotoAndStop(pCurNose); pRoot.face_mc.eye_mc.gotoAndStop(pCurEye); pRoot.face_mc.mouth_mc.gotoAndStop(pCurMouth); pRoot.face_mc.chin_mc.gotoAndStop(pCurChin); var _local2 = 0; if (pCurHair == pHair) { _local2++; } if (pCurCheek == pCheek) { _local2++; } if (pCurNose == pNose) { _local2++; } if (pCurEye == pEye) { _local2++; } if (pCurMouth == pMouth) { _local2++; } if (pCurChin == pChin) { _local2++; } pRoot.info_mc.correct_txt.text = _local2.toString() + " OUT OF 6"; } function fShowGabarito() { pRoot.face_mc.hair_mc.gotoAndStop(pHair); pRoot.face_mc.cheek_mc.gotoAndStop(pCheek); pRoot.face_mc.nose_mc.gotoAndStop(pNose); pRoot.face_mc.eye_mc.gotoAndStop(pEye); pRoot.face_mc.mouth_mc.gotoAndStop(pMouth); pRoot.face_mc.chin_mc.gotoAndStop(pChin); } function fShowYours() { } function fPlayAgain() { } }
Symbol 5 MovieClip Frame 1
stop();
Symbol 14 MovieClip [elements.Close] Frame 1
#initclip 48 Object.registerClass("elements.Close", app.views.elements.Close); #endinitclip stop();
Symbol 14 MovieClip [elements.Close] Frame 16
stop();
Symbol 14 MovieClip [elements.Close] Frame 39
gotoAndStop (1);
Symbol 28 MovieClip Frame 45
stop();
Symbol 29 MovieClip Frame 1
mask_mc.cacheAsBitmap = true; strip_mc.cacheAsBitmap = true; strip_mc.setMask(mask_mc);
Symbol 34 MovieClip Frame 45
stop();
Symbol 35 MovieClip Frame 1
mask_mc.cacheAsBitmap = true; strip_mc.cacheAsBitmap = true; strip_mc.setMask(mask_mc);
Symbol 39 MovieClip Frame 1
mask_mc.cacheAsBitmap = true; strip_mc.cacheAsBitmap = true; strip_mc.setMask(mask_mc);
Symbol 53 MovieClip Frame 2
if (this.pRoll) { this.gotoAndPlay("in"); } else { this.gotoAndPlay(1); }
Symbol 53 MovieClip Frame 13
if (!this.pRoll) { this.gotoAndPlay("out"); } else { this.gotoAndPlay("loopIn"); }
Symbol 53 MovieClip Frame 32
gotoAndPlay (1);
Symbol 72 MovieClip Frame 2
if (this.pRoll) { this.gotoAndPlay("in"); } else { this.gotoAndPlay(1); }
Symbol 72 MovieClip Frame 13
if (!this.pRoll) { this.gotoAndPlay("out"); } else { this.gotoAndPlay("loopIn"); }
Symbol 72 MovieClip Frame 24
gotoAndPlay (1);
Instance of Symbol 72 MovieClip in Symbol 73 MovieClip Frame 1
onClipEvent (load) { this.pRoll = false; this.onRollOver = function () { this.pRoll = true; }; this.onRollOut = function () { this.fLeave(); }; this.onReleaseOutside = function () { this.fLeave(); }; this.fLeave = function () { this.pRoll = false; }; this.onRelease = function () { this.gotoAndPlay("click"); this._parent._parent.gotoAndPlay("interna3"); }; }
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 11
stop();
Symbol 84 MovieClip Frame 24
gotoAndPlay (1);
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 11
stop();
Symbol 92 MovieClip Frame 24
gotoAndPlay (1);
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 11
stop();
Symbol 100 MovieClip Frame 24
gotoAndPlay (1);
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 11
stop();
Symbol 108 MovieClip Frame 24
gotoAndPlay (1);
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 11
stop();
Symbol 116 MovieClip Frame 24
gotoAndPlay (1);
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 11
stop();
Symbol 124 MovieClip Frame 24
gotoAndPlay (1);
Instance of Symbol 85 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) { this.pSkip = 2; this.onEnterFrame = function () { if (this.pSkip == 0) { var _local2 = random(3) + 1; this.gotoAndStop(_local2); this.pSkip = 2; } else { this.pSkip--; } }; }
Instance of Symbol 93 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) { this.pSkip = 2; this.onEnterFrame = function () { if (this.pSkip == 0) { var _local2 = random(3) + 1; this.gotoAndStop(_local2); this.pSkip = 2; } else { this.pSkip--; } }; }
Instance of Symbol 101 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) { this.pSkip = 2; this.onEnterFrame = function () { if (this.pSkip == 0) { var _local2 = random(3) + 1; this.gotoAndStop(_local2); this.pSkip = 2; } else { this.pSkip--; } }; }
Instance of Symbol 109 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) { this.pSkip = 2; this.onEnterFrame = function () { if (this.pSkip == 0) { var _local2 = random(3) + 1; this.gotoAndStop(_local2); this.pSkip = 2; } else { this.pSkip--; } }; }
Instance of Symbol 117 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) { this.pSkip = 2; this.onEnterFrame = function () { if (this.pSkip == 0) { var _local2 = random(3) + 1; this.gotoAndStop(_local2); this.pSkip = 2; } else { this.pSkip--; } }; }
Instance of Symbol 125 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) { this.pSkip = 2; this.onEnterFrame = function () { if (this.pSkip == 0) { var _local2 = random(3) + 1; this.gotoAndStop(_local2); this.pSkip = 2; } else { this.pSkip--; } }; }
Symbol 129 MovieClip Frame 2
if (this.pRoll) { this.gotoAndPlay("in"); } else { this.gotoAndPlay(1); }
Symbol 129 MovieClip Frame 13
if (!this.pRoll) { this.gotoAndPlay("out"); } else { this.gotoAndPlay("loopIn"); }
Symbol 129 MovieClip Frame 24
gotoAndPlay (1);
Instance of Symbol 129 MovieClip in Symbol 132 MovieClip Frame 1
onClipEvent (load) { this.pRoll = false; this.onRollOver = function () { this.pRoll = true; }; this.onRollOut = function () { this.fLeave(); }; this.onReleaseOutside = function () { this.fLeave(); }; this.fLeave = function () { this.pRoll = false; }; this.onRelease = function () { this.gotoAndPlay("click"); this._parent._parent.gGame.fSubmit(); }; }
Symbol 134 Button
on (release) { gGame.fSetPiece("hair"); }
Symbol 135 Button
on (release) { gGame.fSetPiece("eye"); }
Symbol 136 Button
on (release) { gGame.fSetPiece("nose"); }
Symbol 137 Button
on (release) { gGame.fSetPiece("mouth"); }
Symbol 138 Button
on (release) { gGame.fSetPiece("chin"); }
Symbol 139 Button
on (release) { gGame.fSetPiece("cheek"); }
Symbol 143 MovieClip Frame 2
if (this.pRoll) { this.gotoAndPlay("in"); } else { this.gotoAndPlay(1); }
Symbol 143 MovieClip Frame 13
if (!this.pRoll) { this.gotoAndPlay("out"); } else { this.gotoAndPlay("loopIn"); }
Symbol 143 MovieClip Frame 24
gotoAndPlay (1);
Instance of Symbol 143 MovieClip in Symbol 147 MovieClip Frame 1
onClipEvent (load) { this.pRoll = false; this.onRollOver = function () { this.pRoll = true; }; this.onRollOut = function () { this.fLeave(); }; this.onReleaseOutside = function () { this.fLeave(); }; this.fLeave = function () { this.pRoll = false; }; this.onRelease = function () { this.gotoAndPlay("click"); this._parent._parent.gotoAndPlay("interna1"); }; }
Symbol 149 MovieClip Frame 2
if (this.pRoll) { this.gotoAndPlay("in"); } else { this.gotoAndPlay(1); }
Symbol 149 MovieClip Frame 13
if (!this.pRoll) { this.gotoAndPlay("out"); } else { this.gotoAndPlay("loopIn"); }
Symbol 149 MovieClip Frame 24
gotoAndPlay (1);
Symbol 151 MovieClip Frame 2
if (this.pRoll) { this.gotoAndPlay("in"); } else { this.gotoAndPlay(1); }
Symbol 151 MovieClip Frame 13
if (!this.pRoll) { this.gotoAndPlay("out"); } else { this.gotoAndPlay("loopIn"); }
Symbol 151 MovieClip Frame 24
gotoAndPlay (1);

Library Items

Symbol 152 MovieClip [__Packages.app.views.elements.Close]
Symbol 153 MovieClip [__Packages.as.dragonfly.body.core.Larva]
Symbol 154 MovieClip [__Packages.as.dragonfly.body.core.FiltersManager]
Symbol 155 MovieClip [__Packages.as.dragonfly.body.listeners.LLarva]
Symbol 156 MovieClip [__Packages.as.dragonfly.body.core.Egg]
Symbol 157 MovieClip [__Packages.as.dragonfly.body.listeners.LEgg]
Symbol 158 MovieClip [__Packages.as.cocktail.utils.SetTimeout]
Symbol 159 MovieClip [__Packages.as.cocktail.utils.Delegate]
Symbol 160 MovieClip [__Packages.as.dragonfly.body.core.Nymphs]
Symbol 161 MovieClip [__Packages.as.dragonfly.body.eggs.GenericEgg]
Symbol 162 MovieClip [__Packages.as.dragonfly.body.transitions.Transitions]
Symbol 163 MovieClip [__Packages.as.dragonfly.DragonFly]
Symbol 164 MovieClip [__Packages.as.dragonfly.body.eggs.MovieClipEgg]
Symbol 165 MovieClip [__Packages.as.dragonfly.body.eggs.ColorEgg]
Symbol 166 MovieClip [__Packages.as.dragonfly.body.eggs.FrameEgg]
Symbol 167 MovieClip [__Packages.as.dragonfly.body.eggs.BlurEgg]
Symbol 168 MovieClip [__Packages.com.robertpenner.easing.Linear]
Symbol 169 MovieClip [__Packages.app.App]
Symbol 170 MovieClip [__Packages.as.vento.Config]
Symbol 171 MovieClip [__Packages.app.Config]
Symbol 172 MovieClip [__Packages.as.cocktail.utils.XmlObject]
Symbol 173 MovieClip [__Packages.app.Word]
Symbol 174 MovieClip [__Packages.app.views.intro.SubMenu]
Symbol 175 MovieClip [__Packages.app.Assets]
Symbol 176 MovieClip [__Packages.app.views.intro.panorama.Panorama]
Symbol 177 MovieClip [__Packages.com.robertpenner.easing.Expo]
Symbol 178 MovieClip [__Packages.as.cocktail.utils.FunctionHelper]
Symbol 179 MovieClip [__Packages.app.views.quiz.Quiz]
Symbol 180 MovieClip [__Packages.app.views.quiz.Background]
Symbol 181 MovieClip [__Packages.as.cocktail.utils.TimelineControl]
Symbol 182 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 183 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 184 MovieClip [__Packages.app.views.quiz.ViewBox]
Symbol 185 MovieClip [__Packages.app.views.quiz.Results]
Symbol 186 MovieClip [__Packages.app.views.quiz.Body]
Symbol 187 MovieClip [__Packages.app.views.quiz.ResultsBody]
Symbol 188 MovieClip [__Packages.as.cocktail.utils.MathHelper]
Symbol 189 MovieClip [__Packages.app.views.quiz.Question]
Symbol 190 MovieClip [__Packages.app.views.quiz.QuestionBody]
Symbol 191 MovieClip [__Packages.app.forms.Form]
Symbol 192 MovieClip [__Packages.app.forms.VoteForm]
Symbol 193 MovieClip [__Packages.app.views.quiz.Close]
Symbol 194 MovieClip [__Packages.app.views.intro.Loader]
Symbol 195 MovieClip [__Packages.app.Loading]
Symbol 196 MovieClip [__Packages.app.Track]
Symbol 197 MovieClip [__Packages.app.models.dataobjects.SubMenuItemDAO]
Symbol 198 MovieClip [__Packages.app.SketchManager]
Symbol 1 GraphicUsed by:7
Symbol 2 GraphicUsed by:5 134 135 136 137 138 139  Timeline
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:5
Symbol 5 MovieClipUses:2 4Used by:7
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:1 5 6Used by:Timeline
Symbol 8 GraphicUsed by:14
Symbol 9 FontUsed by:10
Symbol 10 TextUses:9Used by:11
Symbol 11 MovieClipUses:10Used by:14
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:14
Symbol 14 MovieClip [elements.Close]Uses:8 11 13Used by:Timeline
Symbol 15 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:17
Symbol 17 MovieClipUses:16Used by:Timeline
Symbol 18 GraphicUsed by:22
Symbol 19 GraphicUsed by:22
Symbol 20 BitmapUsed by:21
Symbol 21 GraphicUses:20Used by:22
Symbol 22 MovieClipUses:18 19 21Used by:Timeline
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:25
Symbol 25 MovieClipUses:24Used by:29
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:28 34
Symbol 28 MovieClipUses:27Used by:29 39
Symbol 29 MovieClipUses:25 28Used by:Timeline
Symbol 30 SoundUsed by:Timeline
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:31Used by:33
Symbol 33 MovieClipUses:32Used by:35
Symbol 34 MovieClipUses:27Used by:35
Symbol 35 MovieClipUses:33 34Used by:Timeline
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:38
Symbol 38 MovieClipUses:37Used by:39
Symbol 39 MovieClipUses:38 28Used by:Timeline
Symbol 40 FontUsed by:41 43 44 49 54 71 83 128 142 148 150
Symbol 41 TextUses:40Used by:60  Timeline
Symbol 42 SoundUsed by:Timeline
Symbol 43 TextUses:40Used by:60  Timeline
Symbol 44 TextUses:40Used by:60  Timeline
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:45Used by:53 72 129 143 149 151
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:47Used by:53 72 129 143 149 151
Symbol 49 TextUses:40Used by:53
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:53 72 129 143 149 151
Symbol 52 SoundUsed by:53 72 129 143 149 151
Symbol 53 MovieClipUses:46 48 49 51 52Used by:Timeline
Symbol 54 TextUses:40Used by:55
Symbol 55 MovieClipUses:54Used by:Timeline
Symbol 56 BitmapUsed by:57
Symbol 57 GraphicUses:56Used by:58
Symbol 58 MovieClipUses:57Used by:Timeline
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:59 44 43 41Used by:Timeline
Symbol 61 SoundUsed by:Timeline
Symbol 62 BitmapUsed by:63
Symbol 63 GraphicUses:62Used by:64
Symbol 64 MovieClipUses:63Used by:Timeline
Symbol 65 FontUsed by:66 130
Symbol 66 TextUses:65Used by:73
Symbol 67 FontUsed by:68 131 146
Symbol 68 TextUses:67Used by:73
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:73 132 147
Symbol 71 TextUses:40Used by:72
Symbol 72 MovieClipUses:46 48 71 51 52Used by:73
Symbol 73 MovieClipUses:66 68 70 72Used by:Timeline
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:Timeline
Symbol 76 BitmapUsed by:77
Symbol 77 GraphicUses:76Used by:85
Symbol 78 BitmapUsed by:79
Symbol 79 GraphicUses:78Used by:85
Symbol 80 BitmapUsed by:81
Symbol 81 GraphicUses:80Used by:85
Symbol 82 GraphicUsed by:84 92 100 108 116 124
Symbol 83 TextUses:40Used by:84 92 100 108 116 124
Symbol 84 MovieClipUses:82 83Used by:85
Symbol 85 MovieClipUses:77 79 81 84Used by:126 127
Symbol 86 BitmapUsed by:87
Symbol 87 GraphicUses:86Used by:93
Symbol 88 BitmapUsed by:89
Symbol 89 GraphicUses:88Used by:93
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:93
Symbol 92 MovieClipUses:82 83Used by:93
Symbol 93 MovieClipUses:87 89 91 92Used by:126 127
Symbol 94 BitmapUsed by:95
Symbol 95 GraphicUses:94Used by:101
Symbol 96 BitmapUsed by:97
Symbol 97 GraphicUses:96Used by:101
Symbol 98 BitmapUsed by:99
Symbol 99 GraphicUses:98Used by:101
Symbol 100 MovieClipUses:82 83Used by:101
Symbol 101 MovieClipUses:95 97 99 100Used by:126 127
Symbol 102 BitmapUsed by:103
Symbol 103 GraphicUses:102Used by:109
Symbol 104 BitmapUsed by:105
Symbol 105 GraphicUses:104Used by:109
Symbol 106 BitmapUsed by:107
Symbol 107 GraphicUses:106Used by:109
Symbol 108 MovieClipUses:82 83Used by:109
Symbol 109 MovieClipUses:103 105 107 108Used by:126 127
Symbol 110 BitmapUsed by:111
Symbol 111 GraphicUses:110Used by:117
Symbol 112 BitmapUsed by:113
Symbol 113 GraphicUses:112Used by:117
Symbol 114 BitmapUsed by:115
Symbol 115 GraphicUses:114Used by:117
Symbol 116 MovieClipUses:82 83Used by:117
Symbol 117 MovieClipUses:111 113 115 116Used by:126 127
Symbol 118 BitmapUsed by:119
Symbol 119 GraphicUses:118Used by:125
Symbol 120 BitmapUsed by:121
Symbol 121 GraphicUses:120Used by:125
Symbol 122 BitmapUsed by:123
Symbol 123 GraphicUses:122Used by:125
Symbol 124 MovieClipUses:82 83Used by:125
Symbol 125 MovieClipUses:119 121 123 124Used by:126 127
Symbol 126 MovieClipUses:85 93 101 109 117 125Used by:Timeline
Symbol 127 MovieClipUses:85 93 101 109 117 125Used by:Timeline
Symbol 128 TextUses:40Used by:129
Symbol 129 MovieClipUses:46 48 128 51 52Used by:132
Symbol 130 TextUses:65Used by:132
Symbol 131 TextUses:67Used by:132
Symbol 132 MovieClipUses:129 130 131 70Used by:Timeline
Symbol 133 SoundUsed by:134 135 136 137 138 139
Symbol 134 ButtonUses:2 133Used by:Timeline
Symbol 135 ButtonUses:2 133Used by:Timeline
Symbol 136 ButtonUses:2 133Used by:Timeline
Symbol 137 ButtonUses:2 133Used by:Timeline
Symbol 138 ButtonUses:2 133Used by:Timeline
Symbol 139 ButtonUses:2 133Used by:Timeline
Symbol 140 FontUsed by:141 145
Symbol 141 EditableTextUses:140Used by:147
Symbol 142 TextUses:40Used by:143
Symbol 143 MovieClipUses:46 48 51 142 52Used by:147
Symbol 144 GraphicUsed by:147
Symbol 145 EditableTextUses:140Used by:147
Symbol 146 TextUses:67Used by:147
Symbol 147 MovieClipUses:141 70 143 144 145 146Used by:Timeline
Symbol 148 TextUses:40Used by:149
Symbol 149 MovieClipUses:46 48 148 51 52Used by:Timeline
Symbol 150 TextUses:40Used by:151
Symbol 151 MovieClipUses:46 48 150 51 52Used by:Timeline

Instance Names

"loaderBar"Frame 5Symbol 7 MovieClip
"face_mc"Frame 275Symbol 127 MovieClip
"face_mc"Frame 294Symbol 127 MovieClip
"info_mc"Frame 330Symbol 147 MovieClip
"face_mc"Frame 330Symbol 127 MovieClip
"face_mc"Frame 349Symbol 127 MovieClip
"bar_mc"Symbol 7 MovieClip Frame 1Symbol 5 MovieClip
"strip_mc"Symbol 29 MovieClip Frame 1Symbol 25 MovieClip
"mask_mc"Symbol 29 MovieClip Frame 1Symbol 28 MovieClip
"strip_mc"Symbol 35 MovieClip Frame 1Symbol 33 MovieClip
"mask_mc"Symbol 35 MovieClip Frame 1Symbol 34 MovieClip
"strip_mc"Symbol 39 MovieClip Frame 1Symbol 38 MovieClip
"mask_mc"Symbol 39 MovieClip Frame 1Symbol 28 MovieClip
"cheek_mc"Symbol 127 MovieClip Frame 1Symbol 85 MovieClip
"mouth_mc"Symbol 127 MovieClip Frame 1Symbol 93 MovieClip
"eye_mc"Symbol 127 MovieClip Frame 1Symbol 101 MovieClip
"chin_mc"Symbol 127 MovieClip Frame 1Symbol 109 MovieClip
"nose_mc"Symbol 127 MovieClip Frame 1Symbol 117 MovieClip
"hair_mc"Symbol 127 MovieClip Frame 1Symbol 125 MovieClip
"correct_txt"Symbol 147 MovieClip Frame 1Symbol 145 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 152 as "__Packages.app.views.elements.Close"
ExportAssets (56)Timeline Frame 1Symbol 153 as "__Packages.as.dragonfly.body.core.Larva"
ExportAssets (56)Timeline Frame 1Symbol 154 as "__Packages.as.dragonfly.body.core.FiltersManager"
ExportAssets (56)Timeline Frame 1Symbol 155 as "__Packages.as.dragonfly.body.listeners.LLarva"
ExportAssets (56)Timeline Frame 1Symbol 156 as "__Packages.as.dragonfly.body.core.Egg"
ExportAssets (56)Timeline Frame 1Symbol 157 as "__Packages.as.dragonfly.body.listeners.LEgg"
ExportAssets (56)Timeline Frame 1Symbol 158 as "__Packages.as.cocktail.utils.SetTimeout"
ExportAssets (56)Timeline Frame 1Symbol 159 as "__Packages.as.cocktail.utils.Delegate"
ExportAssets (56)Timeline Frame 1Symbol 160 as "__Packages.as.dragonfly.body.core.Nymphs"
ExportAssets (56)Timeline Frame 1Symbol 161 as "__Packages.as.dragonfly.body.eggs.GenericEgg"
ExportAssets (56)Timeline Frame 1Symbol 162 as "__Packages.as.dragonfly.body.transitions.Transitions"
ExportAssets (56)Timeline Frame 1Symbol 163 as "__Packages.as.dragonfly.DragonFly"
ExportAssets (56)Timeline Frame 1Symbol 164 as "__Packages.as.dragonfly.body.eggs.MovieClipEgg"
ExportAssets (56)Timeline Frame 1Symbol 165 as "__Packages.as.dragonfly.body.eggs.ColorEgg"
ExportAssets (56)Timeline Frame 1Symbol 166 as "__Packages.as.dragonfly.body.eggs.FrameEgg"
ExportAssets (56)Timeline Frame 1Symbol 167 as "__Packages.as.dragonfly.body.eggs.BlurEgg"
ExportAssets (56)Timeline Frame 1Symbol 168 as "__Packages.com.robertpenner.easing.Linear"
ExportAssets (56)Timeline Frame 1Symbol 169 as "__Packages.app.App"
ExportAssets (56)Timeline Frame 1Symbol 170 as "__Packages.as.vento.Config"
ExportAssets (56)Timeline Frame 1Symbol 171 as "__Packages.app.Config"
ExportAssets (56)Timeline Frame 1Symbol 172 as "__Packages.as.cocktail.utils.XmlObject"
ExportAssets (56)Timeline Frame 1Symbol 173 as "__Packages.app.Word"
ExportAssets (56)Timeline Frame 1Symbol 174 as "__Packages.app.views.intro.SubMenu"
ExportAssets (56)Timeline Frame 1Symbol 175 as "__Packages.app.Assets"
ExportAssets (56)Timeline Frame 1Symbol 176 as "__Packages.app.views.intro.panorama.Panorama"
ExportAssets (56)Timeline Frame 1Symbol 177 as "__Packages.com.robertpenner.easing.Expo"
ExportAssets (56)Timeline Frame 1Symbol 178 as "__Packages.as.cocktail.utils.FunctionHelper"
ExportAssets (56)Timeline Frame 1Symbol 179 as "__Packages.app.views.quiz.Quiz"
ExportAssets (56)Timeline Frame 1Symbol 180 as "__Packages.app.views.quiz.Background"
ExportAssets (56)Timeline Frame 1Symbol 181 as "__Packages.as.cocktail.utils.TimelineControl"
ExportAssets (56)Timeline Frame 1Symbol 182 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 183 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 184 as "__Packages.app.views.quiz.ViewBox"
ExportAssets (56)Timeline Frame 1Symbol 185 as "__Packages.app.views.quiz.Results"
ExportAssets (56)Timeline Frame 1Symbol 186 as "__Packages.app.views.quiz.Body"
ExportAssets (56)Timeline Frame 1Symbol 187 as "__Packages.app.views.quiz.ResultsBody"
ExportAssets (56)Timeline Frame 1Symbol 188 as "__Packages.as.cocktail.utils.MathHelper"
ExportAssets (56)Timeline Frame 1Symbol 189 as "__Packages.app.views.quiz.Question"
ExportAssets (56)Timeline Frame 1Symbol 190 as "__Packages.app.views.quiz.QuestionBody"
ExportAssets (56)Timeline Frame 1Symbol 191 as "__Packages.app.forms.Form"
ExportAssets (56)Timeline Frame 1Symbol 192 as "__Packages.app.forms.VoteForm"
ExportAssets (56)Timeline Frame 1Symbol 193 as "__Packages.app.views.quiz.Close"
ExportAssets (56)Timeline Frame 1Symbol 194 as "__Packages.app.views.intro.Loader"
ExportAssets (56)Timeline Frame 1Symbol 195 as "__Packages.app.Loading"
ExportAssets (56)Timeline Frame 1Symbol 196 as "__Packages.app.Track"
ExportAssets (56)Timeline Frame 1Symbol 197 as "__Packages.app.models.dataobjects.SubMenuItemDAO"
ExportAssets (56)Timeline Frame 1Symbol 198 as "__Packages.app.SketchManager"
ExportAssets (56)Timeline Frame 11Symbol 14 as "elements.Close"

Labels

"load"Frame 5
"home"Frame 14
"goInterna"Frame 151
"interna1"Frame 196
"interna2"Frame 275
"interna3"Frame 294
"interna4"Frame 319
"back4"Frame 340
"interna5"Frame 349
"in"Symbol 14 MovieClip [elements.Close] Frame 5
"out"Symbol 14 MovieClip [elements.Close] Frame 21
"in"Symbol 53 MovieClip Frame 5
"loopIn"Symbol 53 MovieClip Frame 12
"click"Symbol 53 MovieClip Frame 25
"out"Symbol 53 MovieClip Frame 26
"in"Symbol 72 MovieClip Frame 5
"loopIn"Symbol 72 MovieClip Frame 12
"click"Symbol 72 MovieClip Frame 17
"out"Symbol 72 MovieClip Frame 18
"in"Symbol 84 MovieClip Frame 5
"out"Symbol 84 MovieClip Frame 18
"in"Symbol 92 MovieClip Frame 5
"out"Symbol 92 MovieClip Frame 18
"in"Symbol 100 MovieClip Frame 5
"out"Symbol 100 MovieClip Frame 18
"in"Symbol 108 MovieClip Frame 5
"out"Symbol 108 MovieClip Frame 18
"in"Symbol 116 MovieClip Frame 5
"out"Symbol 116 MovieClip Frame 18
"in"Symbol 124 MovieClip Frame 5
"out"Symbol 124 MovieClip Frame 18
"in"Symbol 129 MovieClip Frame 5
"loopIn"Symbol 129 MovieClip Frame 12
"click"Symbol 129 MovieClip Frame 17
"out"Symbol 129 MovieClip Frame 18
"in"Symbol 143 MovieClip Frame 5
"loopIn"Symbol 143 MovieClip Frame 12
"click"Symbol 143 MovieClip Frame 17
"out"Symbol 143 MovieClip Frame 18
"in"Symbol 149 MovieClip Frame 5
"loopIn"Symbol 149 MovieClip Frame 12
"click"Symbol 149 MovieClip Frame 17
"out"Symbol 149 MovieClip Frame 18
"in"Symbol 151 MovieClip Frame 5
"loopIn"Symbol 151 MovieClip Frame 12
"click"Symbol 151 MovieClip Frame 17
"out"Symbol 151 MovieClip Frame 18




http://swfchan.com/5/24991/info.shtml
Created: 24/5 -2019 06:16:41 Last modified: 24/5 -2019 06:16:41 Server time: 22/12 -2024 06:47:51