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

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

striptease.swf

This is the info page for
Flash #99575

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { } frame 1 { function updateTimmer() { var v3 = totalTimeVideoSimulating; var v5 = v3 / 60 > 99 ? 99 : v3 / 60; var v1 = String(v5); v1 = (v1.lastIndexOf('.') == -1) ? v1 : v1.substring(0, v1.lastIndexOf('.')); v1 = v1.substr(0, 2); v1 = v1.length < 2 ? '0' + v1 : v1; var v2 = String(v3 - v1 * 60); v2 = (v2.lastIndexOf('.') == -1) ? v2 : v2.substring(0, v2.lastIndexOf('.')); v2 = v2.substr(0, 2); v2 = v2.length < 2 ? '0' + v2 : v2; var v4 = v1 + ':' + v2; v3 = totalTimeVideo * (videoActivePercent / 100); v5 = v3 / 60 > 99 ? 99 : v3 / 60; v1 = String(v5); v1 = (v1.lastIndexOf('.') == -1) ? v1 : v1.substring(0, v1.lastIndexOf('.')); v1 = v1.substr(0, 2); v1 = v1.length < 2 ? '0' + v1 : v1; v2 = String(v3 - v1 * 60); v2 = (v2.lastIndexOf('.') == -1) ? v2 : v2.substring(0, v2.lastIndexOf('.')); v2 = v2.substr(0, 2); v2 = v2.length < 2 ? '0' + v2 : v2; var v6 = v1 + ':' + v2; timmer.text = v6 + ' | ' + v4 + ' 345kbps'; } } frame 1 { var ProgressHandler = new Object(); ProgressHandler.intervalUpdateId = new Number(); ProgressHandler.updateInterval = new Number(20); ProgressHandler.isInitialized = new Boolean(false); ProgressHandler.progress = new Number(0); ProgressHandler.intProgress = new Number(0); ProgressHandler.targetMovie; ProgressHandler.targetProgress = new Array(); ProgressHandler.targetOutput = new Array(); ProgressHandler.outPut = '0%'; } frame 1 { ProgressHandler.setTargetMovie = function (p_mc) { ProgressHandler.targetMovie = p_mc; }; } frame 1 { ProgressHandler.setTargetProgress = function (p_array) { ProgressHandler.targetProgress = p_array; }; } frame 1 { ProgressHandler.setTargetOutput = function (p_array) { ProgressHandler.targetOutput = p_array; }; } frame 1 { ProgressHandler.config = function (p_obj) {}; } frame 1 { ProgressHandler.start = function () { ProgressHandler.stop(); ProgressHandler.intervalUpdateId = setInterval(ProgressHandler, 'update', ProgressHandler.updateInterval); ProgressHandler.isInitialized = true; }; } frame 1 { ProgressHandler.stop = function () { clearInterval(ProgressHandler.intervalUpdateId); }; } frame 1 { ProgressHandler.update = function () { var v3 = ProgressHandler.targetMovie.getBytesTotal(); var v4 = ProgressHandler.targetMovie.getBytesLoaded(); ProgressHandler.progress = v4 * 100 / v3; ProgressHandler.intProgress = int(ProgressHandler.progress); ProgressHandler.outPut = ProgressHandler.intProgress + '%'; loading_mc.progress_txt.text = ProgressHandler.outPut; loading_mc.progress_bar._xscale = ProgressHandler.intProgress; var v2 = 0; while (v2 < ProgressHandler.targetOutput.length) { ProgressHandler.targetOutput[v2].text = ProgressHandler.outPut; ++v2; } v2 = 0; while (v2 < this.targetProgress.length) { ProgressHandler.targetProgress[v2]._xscale = ProgressHandler.progress; ++v2; } if (this.progress == 100) { ProgressHandler.stop(); ProgressHandler.onCompleteHandler(); } }; } frame 1 { ProgressHandler.reset = function () { ProgressHandler.stop(); ProgressHandler.intervalUpdateId = new Number(); ProgressHandler.updateInterval = new Number(50); ProgressHandler.isInitialized = new Boolean(false); ProgressHandler.progress = new Number(0); ProgressHandler.intProgress = new Number(0); ProgressHandler.targetMovie = undefined; ProgressHandler.targetProgress = undefined; ProgressHandler.targetOutput = undefined; ProgressHandler.outPut = '0%'; }; } frame 1 { ProgressHandler.onCompleteHandler = function () { ProgressHandler.stop(); loading_mc.gotoAndPlay('in'); }; } frame 1 { function startSound(p_sound) { switch (p_sound) { case 'video': if (isVideoSoundInitialized == false) { isVideoSoundInitialized = true; video_snd.setVolume(volumeLevel); video_snd.start(0, 9999); } else { video_snd.setVolume(volumeLevel); } isVideoSoundStopped = false; break; case 'rewind': rewind_snd.start(0, 5); break; case 'click': click_snd.start(0, 1); break; case 'toc': break; case 'walk': walk_snd.start(0, 1); break; break; case 'breath': case 'passo1': passo1_snd.start(0, 1); break; case 'passo2': passo2_snd.start(0, 1); break; case 'passo3': passo3_snd.start(0, 1); break; case 'passo4': passo4_snd.start(0, 1); break; case 'buff_random': buff1_snd.start(0, 1); break; case 'tisc_random': break; case 'tisc_random_start': } } _global.startSound = startSound; } frame 1 { function stopSound(p_sound) { switch (p_sound) { case 'video': isVideoSoundStopped = true; video_snd.setVolume(0); break; case 'rewind': rewind_snd.stop(); break; case 'click': click_snd.stop(); break; case 'walk': walk_snd.stop(); break; case 'toc': toc_snd.stop(); break; case 'breath': breath_snd.stop(); break; case 'passo1': passo1_snd.stop(); break; case 'passo2': passo2_snd.stop(); break; case 'passo3': passo3_snd.stop(); break; case 'passo4': passo4_snd.stop(); break; case 'buff_random': buff1_snd.stop(); buff2_snd.stop(); buff3_snd.stop(); buff4_snd.stop(); break; case 'tisc_random': tisc1_snd.stop(); tisc2_snd.stop(); break; case 'tisc': tisc2_snd.stop(); break; default: isVideoSoundStopped = true; isVideoSoundInitialized = false; rewind_snd.stop(); video_snd.stop(); toc_snd.stop(); breath_snd.stop(); walk_snd.stop(); passo1_snd.stop(); passo2_snd.stop(); passo3_snd.stop(); passo4_snd.stop(); } } _global.stopSound = stopSound; } frame 1 { function updateSound(value) { rewind_snd.setVolume(value); toc_snd.setVolume(value); breath_snd.setVolume(value); walk_snd.setVolume(value); passo1_snd.setVolume(value); passo2_snd.setVolume(value); passo3_snd.setVolume(value); passo4_snd.setVolume(value); buff1_snd.setVolume(value); buff2_snd.setVolume(value); buff3_snd.setVolume(value); buff4_snd.setVolume(value); tisc1_snd.setVolume(value); tisc2_snd.setVolume(value); if (isVideoSoundStopped == false) { video_snd.setVolume(value); } } } frame 1 { function increaseVolume() { volumeLevel = volumeLevel + volumeChangeAmount > 100 ? 100 : volumeLevel + volumeChangeAmount; if (isMuteEnabled == true) { isMuteEnabled = false; } rewind_snd.setVolume(volumeLevel); toc_snd.setVolume(volumeLevel); breath_snd.setVolume(volumeLevel); walk_snd.setVolume(volumeLevel); passo1_snd.setVolume(volumeLevel); passo2_snd.setVolume(volumeLevel); passo3_snd.setVolume(volumeLevel); passo4_snd.setVolume(volumeLevel); buff1_snd.setVolume(volumeLevel); buff2_snd.setVolume(volumeLevel); buff3_snd.setVolume(volumeLevel); buff4_snd.setVolume(volumeLevel); tisc1_snd.setVolume(volumeLevel); tisc2_snd.setVolume(volumeLevel); if (isVideoSoundStopped == false) { video_snd.setVolume(volumeLevel); } updateVolumeBar(); } } frame 1 { function decreaseVolume() { volumeLevel = volumeLevel - volumeChangeAmount < 0 ? 0 : volumeLevel - volumeChangeAmount; rewind_snd.setVolume(volumeLevel); toc_snd.setVolume(volumeLevel); breath_snd.setVolume(volumeLevel); walk_snd.setVolume(volumeLevel); passo1_snd.setVolume(volumeLevel); passo2_snd.setVolume(volumeLevel); passo3_snd.setVolume(volumeLevel); passo4_snd.setVolume(volumeLevel); buff1_snd.setVolume(volumeLevel); buff2_snd.setVolume(volumeLevel); buff3_snd.setVolume(volumeLevel); buff4_snd.setVolume(volumeLevel); tisc1_snd.setVolume(volumeLevel); tisc2_snd.setVolume(volumeLevel); if (isVideoSoundStopped == false) { video_snd.setVolume(volumeLevel); } updateVolumeBar(); } } frame 1 { function updateVolumeBar() { anima_base.volume_bar._xscale = volumeLevel; anima_base.drag_btn._x = anima_base.volume_bar._x + anima_base.volume_bar._width; updateIcon(); } } frame 1 { function updateIcon() { if (volumeLevel <= 0) { anima_base.mute_icon.ico1._visible = false; anima_base.mute_icon.ico2._visible = false; anima_base.mute_icon.ico3._visible = false; } else { if (volumeLevel <= 35) { anima_base.mute_icon.ico1._visible = true; anima_base.mute_icon.ico2._visible = false; anima_base.mute_icon.ico3._visible = false; } else { if (volumeLevel <= 70) { anima_base.mute_icon.ico1._visible = true; anima_base.mute_icon.ico2._visible = true; anima_base.mute_icon.ico3._visible = false; } else { if (volumeLevel <= 100) { anima_base.mute_icon.ico1._visible = true; anima_base.mute_icon.ico2._visible = true; anima_base.mute_icon.ico3._visible = true; } } } } } } frame 1 { function setVolume(p_value) { volumeLevel = p_value < 0 ? 0 : p_value; volumeLevel = volumeLevel > 100 ? 100 : volumeLevel; rewind_snd.setVolume(volumeLevel); toc_snd.setVolume(volumeLevel); breath_snd.setVolume(volumeLevel); walk_snd.setVolume(volumeLevel); passo1_snd.setVolume(volumeLevel); passo2_snd.setVolume(volumeLevel); passo3_snd.setVolume(volumeLevel); passo4_snd.setVolume(volumeLevel); buff1_snd.setVolume(volumeLevel); buff2_snd.setVolume(volumeLevel); buff3_snd.setVolume(volumeLevel); buff4_snd.setVolume(volumeLevel); tisc1_snd.setVolume(volumeLevel); tisc2_snd.setVolume(volumeLevel); if (isVideoSoundStopped == false) { video_snd.setVolume(volumeLevel); } updateVolumeBar(); } } frame 1 { function switchMute() { if (isMuteEnabled == true) { isMuteEnabled = false; volumeLevel = lastAudio; setVolume(volumeLevel); } else { isMuteEnabled = true; lastAudio = volumeLevel; setVolume(0); } } } frame 1 { function switchFullScreen() { if (Stage.displayState == 'normal') { Stage.displayState = 'fullScreen'; } else { Stage.displayState = 'normal'; } } } frame 1 { function configButtons() { anima_base.play_pause_btn.onPress = function () { if (isVideoPlaying == true) { pauseVideo(); } else { playVideo(); } startSound('click'); }; anima_base.mute_btn.onPress = function () { switchMute(); startSound('click'); }; anima_base.fullscreen_btn.onPress = function () { switchFullScreen(); startSound('click'); }; anima_base.volume_down_btn.onPress = function () { decreaseVolume(); startSound('click'); }; anima_base.volume_up_btn.onPress = function () { increaseVolume(); startSound('click'); }; anima_base.drag_btn.onPress = function () { var lb_left = anima_base.volume_bar_ref._x; var v2 = anima_base.drag_btn._y; var lb_right = lb_left + anima_base.volume_bar_ref._width; var v3 = v2; startDrag(anima_base.drag_btn, false, lb_left, v2, lb_right, v3); onEnterFrame = function () { var v1 = int((anima_base.drag_btn._x - lb_left) * 100 / (lb_right - lb_left)); anima_base.volume_bar._xscale = v1; volumeLevel = v1; lastAudio = volumeLevel; updateSound(volumeLevel); updateIcon(); }; startSound('click'); }; anima_base.drag_btn.onReleaseOutside = function () { stopDrag(); delete onEnterFrame; }; anima_base.drag_btn.onRelease = anima_base.drag_btn.onReleaseOutside; anima_base.progress_bar_seek_btn.onPress = function () { startSeekVideo(); var lb_left = anima_base.progress_bar_seek_ref._x; var v2 = anima_base.progress_bar_seek_btn._y; var v4 = lb_left + anima_base.progress_bar_seek_ref._width * (videoMaxReachedScale / 100); var lb_right_full = lb_left + anima_base.progress_bar_seek_ref._width; var v3 = v2; startDrag(anima_base.progress_bar_seek_btn, false, lb_left, v2, v4, v3); onEnterFrame = function () { var v1 = (anima_base.progress_bar_seek_btn._x - lb_left) * 100 / (lb_right_full - lb_left); anima_base.progress_bar_elapsed._xscale = v1; updateSeekByPercent(v1); }; startSound('click'); }; anima_base.progress_bar_seek_btn.onReleaseOutside = function () { stopDrag(); delete onEnterFrame; stopSeekVideo(); }; anima_base.progress_bar_seek_btn.onRelease = anima_base.progress_bar_seek_btn.onReleaseOutside; } } frame 1 { function configBlockInteractionMc(mc) { blockInteractionMc = mc; blockInteractionMc._alpha = 0; blockInteractionMc._visible = false; blockInteractionMc.onPress = function () { return false; }; blockInteractionMc.useHandCursor = false; } } frame 1 { function blockSeekVideo() { anima_base.progress_bar_seek_btn.enabled = false; anima_base.progress_bar_seek_btn.useHandCursor = false; } } frame 1 { function unblockSeekVideo() { anima_base.progress_bar_seek_btn.enabled = true; anima_base.progress_bar_seek_btn.useHandCursor = true; } } frame 1 { function blockButtons(p_play_mode) { if (p_play_mode == undefined) { p_play_mode = isVideoPlaying; } if (p_play_mode == true) { anima_base.play_pause_btn.gotoAndStop('blockPauseMode'); } else { anima_base.play_pause_btn.gotoAndStop('blockPlayMode'); } anima_base.play_pause_btn.enabled = false; anima_base.play_pause_btn.useHandCursor = false; } } frame 1 { function unblockButtons() { anima_base.play_pause_btn.enabled = true; anima_base.play_pause_btn.useHandCursor = true; if (isVideoPlaying == true) { anima_base.play_pause_btn.gotoAndStop('playMode'); } else { anima_base.play_pause_btn.gotoAndStop('pauseMode'); } } } frame 1 { function blockInteraction() { blockInteractionMc._visible = true; } } frame 1 { function unblockInteraction() { blockInteractionMc._visible = false; } } frame 1 { function playVideo() { anima_base.play_pause_btn.gotoAndStop('playMode'); isVideoPlaying = true; startSound('video'); } } frame 1 { function pauseVideo() { anima_base.play_pause_btn.gotoAndStop('pauseMode'); isVideoPlaying = false; stopSound('video'); } } frame 1 { function rewindVideo(p_param) { if (p_param == undefined) { p_param = true; } isVideoRewinding = p_param; if (p_param == true) { startSound('rewind'); } else { stopSound('rewind'); videoActiveFrame = videoFirstFrame; videoActivePercent = 0; updateSeek(); updateTimmer(); } } } frame 1 { function hideSeekBtn() { gs.TweenMax.to(seekBtn, 0.3, {'_alpha': 0, 'ease': gs.easing.Quart.easeOut}); } } frame 1 { function showSeekBtn() { gs.TweenMax.to(seekBtn, 0.3, {'_alpha': 100, 'ease': gs.easing.Quart.easeOut}); } } frame 1 { function startSeekVideo() { isSeekMode = true; wasVideoPlayingWhenGetIntoSeekState = isVideoPlaying; pauseVideo(); } } frame 1 { function stopSeekVideo() { isSeekMode = false; if (wasVideoPlayingWhenGetIntoSeekState == true) { playVideo(); } } } frame 1 { function updateSeekByPercent(p_percent) { videoActiveFrame = int(videoTotalFrames * (p_percent / 100) + videoFirstFrame); videoActivePercent = p_percent; videoMaxReachedScale = videoActivePercent > videoMaxReachedScale ? videoActivePercent : videoMaxReachedScale; updateSeek(); } } frame 1 { function updateSeek() { seekBtn._x = seekBtnStartX + seekRef._width * (videoActivePercent / 100); elapsedBar._xscale = videoActivePercent; video.gotoAndStop(videoActiveFrame); } } frame 1 { function updateSeekReverse() { seekBtn._x = seekBtnStartX + seekRef._width * (videoActivePercent / 100); elapsedBar._xscale = videoActivePercent; video.gotoAndStop(videoActiveFrame); } } frame 1 { var SyncHandler = new Object(); SyncHandler.intervalUpdateId = new Number(); SyncHandler.updateInterval = new Number(); SyncHandler.isInitialized = new Boolean(false); SyncHandler.iStart = new Number(); } frame 1 { SyncHandler.configAndStartIn = function (p_param) { clearInterval(SyncHandler.iStart); SyncHandler.iStart = setInterval(SyncHandler, 'configAndStart', p_param); }; } frame 1 { SyncHandler.configAndStart = function () { clearInterval(SyncHandler.iStart); SyncHandler.configVideos(); SyncHandler.setUpdateInterval(iSyncIntervalTime); SyncHandler.start(); }; } frame 1 { SyncHandler.setUpdateInterval = function (p_param) { SyncHandler.updateInterval = p_param; }; } frame 1 { SyncHandler.start = function () { SyncHandler.stop(); SyncHandler.intervalUpdateId = setInterval(SyncHandler, 'update', SyncHandler.updateInterval); SyncHandler.isInitialized = true; }; } frame 1 { SyncHandler.stop = function () { clearInterval(SyncHandler.intervalUpdateId); }; } frame 1 { SyncHandler.update = function () { if (isVideoPlaying == true) { ++videoActiveFrame; videoActivePercent = videoActiveFrame * 100 / videoLastFrame; videoMaxReachedScale = videoActivePercent > videoMaxReachedScale ? videoActivePercent : videoMaxReachedScale; updateSeek(); } else { if (isVideoRewinding == true) { ++videoActiveFrame; if (videoActiveFrame > rewindEndFrame) { videoActiveFrame = rewindEndFrame; } videoActivePercent = 100 - (videoActiveFrame - rewindStartFrame) * 100 / rewindTotalFrames; if (videoActivePercent > 100) { videoActivePercent = 100; } if (videoActivePercent < 0) { videoActivePercent = 0; } updateSeek(); } } updateTimmer(); }; } frame 1 { SyncHandler.reset = function () { SyncHandler.stop(); SyncHandler.start(); }; } frame 1 { SyncHandler.configVideos = function () { anima_base.video_mc.setInformUpdateFunction(SyncHandler.videoEvent, SyncHandler); anima_base.parental_controll.parental_controll_enter.setInformUpdateFunction(SyncHandler.videoEvent, SyncHandler); anima_base.parental_controll.parental_controll_loop.setInformUpdateFunction(SyncHandler.videoEvent, SyncHandler); anima_base.parental_controll.parental_controll_pause.setInformUpdateFunction(SyncHandler.videoEvent, SyncHandler); anima_base.parental_controll.parental_controll_rewind.setInformUpdateFunction(SyncHandler.videoEvent, SyncHandler); }; } frame 1 { SyncHandler.videoEvent = function (p_video, p_event) { switch (p_video._name) { case 'video_mc': switch (p_event) { case 'ParentalControllEnter': if (isParentalControllInStage == false && isSeekMode == false && isVideoPlaying == true) { isParentalControllInStage = true; isParentalControllComming = true; parentalControll.parental_controll_enter.gotoAndPlay('StartAnimation'); activeParentalControllMovie = parentalControll.parental_controll_enter; } break; case 'ParentalControllPause_1': if (isParentalControllComming == false && isSeekMode == false && isVideoPlaying == true) { if (activeParentalControllMovie != parentalControll.parental_controll_pause) { activeParentalControllMovie.gotoAndStop('EndAnimation'); } parentalControll.parental_controll_pause.gotoAndPlay('StartAnimation'); } break; break; case 'Pause_1': case 'ParentalControllPause_2': if (isParentalControllComming == false && isSeekMode == false && isVideoPlaying == true) { if (activeParentalControllMovie != parentalControll.parental_controll_pause) { activeParentalControllMovie.gotoAndStop('EndAnimation'); } parentalControll.parental_controll_pause.gotoAndPlay('StartAnimation'); } break; break; case 'Pause_2': case 'ParentalControllPause_3': if (isParentalControllComming == false && isSeekMode == false && isVideoPlaying == true) { if (activeParentalControllMovie != parentalControll.parental_controll_pause) { activeParentalControllMovie.gotoAndStop('EndAnimation'); } parentalControll.parental_controll_pause.gotoAndPlay('StartAnimation'); } break; break; case 'Pause_3': case 'ParentalControllPause_4': if (isParentalControllComming == false && isSeekMode == false && isVideoPlaying == true) { if (activeParentalControllMovie != parentalControll.parental_controll_pause) { activeParentalControllMovie.gotoAndStop('EndAnimation'); } parentalControll.parental_controll_pause.gotoAndPlay('StartAnimation'); } break; break; case 'Pause_4': case 'ParentalControllRewind': if (isParentalControllComming == false && isSeekMode == false && isVideoPlaying == true) { activeParentalControllMovie.gotoAndStop('EndAnimation'); parentalControll.parental_controll_rewind.gotoAndPlay('StartAnimation'); } break; break; case 'Rewind': case 'EndAnimation': p_video.gotoAndStop('iddle'); } break; case 'parental_controll_enter': switch (p_event) { case 'StartAnimation': blockButtons(); blockSeekVideo(); puff(p_video, true); activeParentalControllMovie = p_video; break; case 'DoPause': isParentalControllComming = false; pauseVideo(); startSound('click'); unblockButtons(); unblockSeekVideo(); break; case 'LoopAnimation': puff(p_video); p_video.gotoAndStop('iddle'); if (p_video == activeParentalControllMovie) { activeParentalControllMovie = undefined; } parentalControll.parental_controll_loop.gotoAndPlay('StartAnimation'); break; case 'EndAnimation': puff(p_video); p_video.gotoAndStop('iddle'); if (p_video == activeParentalControllMovie) { activeParentalControllMovie = undefined; } } break; case 'parental_controll_loop': switch (p_event) { case 'StartAnimation': puff(p_video, true); activeParentalControllMovie = p_video; break; case 'LoopAnimation': p_video.gotoAndPlay('StartAnimation'); break; case 'EndAnimation': puff(p_video); p_video.gotoAndStop('iddle'); if (p_video == activeParentalControllMovie) { activeParentalControllMovie = undefined; } } break; case 'parental_controll_pause': switch (p_event) { case 'StartAnimation': blockButtons(); blockSeekVideo(); puff(p_video, true); activeParentalControllMovie = p_video; break; case 'DoPause': isParentalControllComming = false; pauseVideo(); startSound('click'); unblockButtons(); unblockSeekVideo(); break; case 'LoopAnimation': puff(p_video); p_video.gotoAndStop('iddle'); if (p_video == activeParentalControllMovie) { activeParentalControllMovie = undefined; } parentalControll.parental_controll_loop.gotoAndPlay('StartAnimation'); break; case 'EndAnimation': puff(p_video); p_video.gotoAndStop('iddle'); if (p_video == activeParentalControllMovie) { activeParentalControllMovie = undefined; } } break; case 'parental_controll_rewind': switch (p_event) { case 'StartAnimation': blockButtons(); blockSeekVideo(); puff(p_video, true); activeParentalControllMovie = p_video; break; case 'DoReverse': pauseVideo(); rewindVideo(true); hideSeekBtn(); break; case 'EndReverse': rewindVideo(false); showSeekBtn(); break; case 'EndAnimation': puff(p_video); p_video.gotoAndStop('iddle'); if (p_video == activeParentalControllMovie) { activeParentalControllMovie = undefined; } reinitialize(); } } }; } frame 1 { function getFrameNumber(p_target, p_label) { var v3; var v2; v3 = p_target._currentframe; p_target.gotoAndStop(p_label); v2 = p_target._currentframe; p_target.gotoAndStop(v3); return v2; } } frame 1 { function hideInitialItems() { puff(anima_base.parental_controll.parental_controll_enter); puff(anima_base.parental_controll.parental_controll_loop); puff(anima_base.parental_controll.parental_controll_pause); puff(anima_base.parental_controll.parental_controll_rewind); } } frame 1 { function puff(p_param, p_reverse) { if (p_reverse == true) { p_param._visible = true; p_param._alpha = 100; } else { p_param._visible = false; p_param._alpha = 0; } } } frame 1 { function initialize() { progress_mc._visible = false; configButtons(); video_snd.attachSound('video_snd'); rewind_snd.attachSound('rewind_snd'); click_snd.attachSound('click_snd'); toc_snd.attachSound('toc_snd'); walk_snd.attachSound('walk_snd'); breath_snd.attachSound('breath_snd'); passo1_snd.attachSound('ps1'); passo2_snd.attachSound('ps2'); passo3_snd.attachSound('ps3'); passo4_snd.attachSound('ps4'); buff1_snd.attachSound('buff1'); buff2_snd.attachSound('buff2'); buff3_snd.attachSound('buff3'); buff4_snd.attachSound('buff4'); tisc1_snd.attachSound('tisc1'); tisc2_snd.attachSound('tisc2'); hideInitialItems(); elapsedBar._xscale = 0; SyncHandler.configAndStartIn(50); playVideo(); } } frame 1 { function reinitialize() { SyncHandler.stop(); stopSound(); sndPosition = 0; videoMaxReachedScale = 0; videoActiveFrame = videoFirstFrame; videoActivePercent = 0; isParentalControllInStage = false; activeParentalControllMovie = undefined; isParentalControllComming = false; hideInitialItems(); elapsedBar._xscale = 0; SyncHandler.configAndStartIn(50); unblockButtons(); unblockSeekVideo(); } } frame 1 { } frame 1 { var blockInteractionMc = undefined; } frame 1 { stop(); configBlockInteractionMc(block_mc); ProgressHandler.setTargetMovie(_root); ProgressHandler.setTargetProgress([progress_bar]); ProgressHandler.start(); } movieClip 12 { } movieClip 15 { } movieClip 17 { } movieClip 20 { } // unknown tag 88 length 150 movieClip 26 { } movieClip 28 { } movieClip 30 { frame 1 { progress_txt.text = '0%'; progress_bar._xscale = 0; stop(); } frame 2 { play(); play_btn.onRelease = function () { _parent.gotoAndStop(2); }; } frame 14 { stop(); } } movieClip 32 { } movieClip 79 __Packages.gs.easing.Quart { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.easing) { _global.gs.easing = new Object(); } if (!_global.gs.easing.Quart) { var v1 = function () {}; gs.easing.Quart = v1; var v2 = v1.prototype; v1.easeIn = function (t, b, c, d) { t /= d; return c * t * t * t * t + b; }; v1.easeOut = function (t, b, c, d) { t = t / d - 1; return -c * (t * t * t * t - 1) + b; }; v1.easeInOut = function (t, b, c, d) { t /= d / 2; if (t < 1) { return (c / 2) * t * t * t * t + b; } t -= 2; return (-c / 2) * (t * t * t * t - 2) + b; }; ASSetPropFlags(gs.easing.Quart.prototype, null, 1); } #endinitclip } movieClip 80 __Packages.gs.TweenLite { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.TweenLite) { var v1 = function ($target, $duration, $vars) { if (gs.TweenLite.timerClip._visible != false || !gs.TweenLite._tlInitted) { gs.plugins.TweenPlugin.activate([gs.plugins.TintPlugin, gs.plugins.RemoveTintPlugin, gs.plugins.FramePlugin, gs.plugins.AutoAlphaPlugin, gs.plugins.VisiblePlugin, gs.plugins.VolumePlugin, gs.plugins.EndArrayPlugin]); gs.TweenLite.currentTime = getTimer(); var v3 = 999; while (_root.getInstanceAtDepth(v3) != undefined) { ++v3; } gs.TweenLite.timerClip = _root.createEmptyMovieClip('__tweenLite_mc', v3); gs.TweenLite.timerClip._visible = false; clearInterval(gs.TweenLite._gcInterval); gs.TweenLite._gcInterval = setInterval(gs.TweenLite.killGarbage, 2000); gs.TweenLite.timerClip.onEnterFrame = gs.TweenLite.updateAll; if (gs.TweenLite.overwriteManager == undefined) { gs.TweenLite.overwriteManager = {'mode': 1, 'enabled': false}; } gs.TweenLite._tlInitted = true; } this.vars = $vars; this.duration = $duration || 0.001; this.delay = $vars.delay || 0; this.combinedTimeScale = $vars.timeScale || 1; this.active = Boolean($duration == 0 && this.delay == 0); this.target = $target; if (typeof this.vars.ease != 'function') { this.vars.ease = gs.TweenLite.defaultEase; } if (this.vars.easeParams != undefined) { this.vars.proxiedEase = this.vars.ease; this.vars.ease = this.easeProxy; } this.ease = this.vars.ease; this.tweens = []; this.initted = false; this.initTime = gs.TweenLite.currentTime; this.startTime = this.initTime + this.delay * 1000; this.endTargetID = gs.TweenLite.getID($target, true); var v6 = ($vars.overwrite == undefined || !gs.TweenLite.overwriteManager.enabled && $vars.overwrite > 1) ? gs.TweenLite.overwriteManager.mode : Number($vars.overwrite); if (v6 == 1 && $target != undefined) { delete gs.TweenLite.masterList[this.endTargetID]; gs.TweenLite.masterList[this.endTargetID] = {'target': $target, 'tweens': [this]}; } else { gs.TweenLite.masterList[this.endTargetID].tweens.push(this); } if (this.active || this.vars.runBackwards == true && this.vars.renderOnStart != true) { this.initTweenVals(); if (this.active) { this.render(this.startTime + 1); } else { this.render(this.startTime); } if (this.vars._visible != undefined && this.vars.runBackwards == true) { this.target._visible = this.vars._visible; } } }; gs.TweenLite = v1; var v2 = v1.prototype; v2.initTweenVals = function () { var v2; var v5; var v4; if (this.vars.timeScale != undefined && this.target instanceof gs.TweenLite) { this.tweens[this.tweens.length] = new gs.utils.tween.TweenInfo(this.target, 'timeScale', this.target.timeScale, this.vars.timeScale - this.target.timeScale, 'timeScale', false); } for (v2 in this.vars) { if (gs.TweenLite._reservedProps[v2] != undefined) { } else { if (gs.TweenLite.plugins[v2] != undefined) { v4 = new gs.TweenLite.plugins[v2](); if (v4.onInitTween(this.target, this.vars[v2], this) == false) { this.tweens[this.tweens.length] = new gs.utils.tween.TweenInfo(this.target, v2, this.target[v2], (typeof this.vars[v2] == 'number') ? this.vars[v2] - this.target[v2] : Number(this.vars[v2]), v2, false); } else { this.tweens[this.tweens.length] = new gs.utils.tween.TweenInfo(v4, 'changeFactor', 0, 1, (v4.overwriteProps.length == 1) ? v4.overwriteProps[0] : '_MULTIPLE_', true); this._hasPlugins = true; } } else { this.tweens[this.tweens.length] = new gs.utils.tween.TweenInfo(this.target, v2, this.target[v2], (typeof this.vars[v2] == 'number') ? this.vars[v2] - this.target[v2] : Number(this.vars[v2]), v2, false); } } } if (this.vars.runBackwards == true) { var v3; v5 = this.tweens.length - 1; while (v5 > -1) { v3 = this.tweens[v5]; v3.start += v3.change; v3.change = -v3.change; --v5; } } if (this.vars.onUpdate != null) { this._hasUpdate = true; } if (gs.TweenLite.overwriteManager.enabled && gs.TweenLite.masterList[this.endTargetID] != undefined) { gs.TweenLite.overwriteManager.manageOverwrites(this, gs.TweenLite.masterList[this.endTargetID].tweens); } this.initted = true; }; v2.activate = function () { this.active = true; this.started = this.active; if (!this.initted) { this.initTweenVals(); } if (this.vars.onStart != undefined) { this.vars.onStart.apply(this.vars.onStartScope, this.vars.onStartParams); } if (this.duration == 0.001) { this.startTime -= 1; } }; v2.render = function ($t) { var v5 = ($t - this.startTime) * 0.001; var v4; var v2; var v3; if (v5 >= this.duration) { v5 = this.duration; v4 = (this.ease == this.vars.ease || this.duration == 0.001) ? 1 : 0; } else { v4 = this.ease(v5, 0, 1, this.duration); } v3 = this.tweens.length - 1; while (v3 > -1) { v2 = this.tweens[v3]; v2.target[v2.property] = v2.start + v4 * v2.change; --v3; } if (this._hasUpdate) { this.vars.onUpdate.apply(this.vars.onUpdateScope, this.vars.onUpdateParams); } if (v5 == this.duration) { this.complete(true); } }; v2.complete = function ($skipRender) { if ($skipRender != true) { if (!this.initted) { this.initTweenVals(); } this.startTime = gs.TweenLite.currentTime - this.duration * 1000 / this.combinedTimeScale; this.render(gs.TweenLite.currentTime); return undefined; } if (this._hasPlugins) { var v2 = this.tweens.length - 1; while (v2 > -1) { if (this.tweens[v2].isPlugin == true && this.tweens[v2].target.onComplete != undefined) { this.tweens[v2].target.onComplete(); } --v2; } } if (this.vars.persist != true) { this.__set__enabled(false); } if (this.vars.onComplete) { this.vars.onComplete.apply(this.vars.onCompleteScope, this.vars.onCompleteParams); } }; v2.clear = function () { this.tweens = []; this.vars = {'ease': this.vars.ease}; this._hasUpdate = false; }; v2.killVars = function ($vars) { if (gs.TweenLite.overwriteManager.enabled) { gs.TweenLite.overwriteManager.killVars($vars, this.vars, this.tweens); } }; v1.to = function ($target, $duration, $vars) { return new gs.TweenLite($target, $duration, $vars); }; v1.from = function ($target, $duration, $vars) { $vars.runBackwards = true; return new gs.TweenLite($target, $duration, $vars); }; v1.delayedCall = function ($delay, $onComplete, $onCompleteParams, $onCompleteScope) { return new gs.TweenLite($onComplete, 0, {'delay': $delay, 'onComplete': $onComplete, 'onCompleteParams': $onCompleteParams, 'onCompleteScope': $onCompleteScope, 'overwrite': 0}); }; v1.updateAll = function () { gs.TweenLite.currentTime = getTimer(); var v4 = gs.TweenLite.currentTime; var v5 = gs.TweenLite.masterList; var v6; var v3; var v2; var v1; for (v6 in v5) { v3 = v5[v6].tweens; v2 = v3.length - 1; while (v2 > -1) { v1 = v3[v2]; if (v1.active) { v1.render(v4); } else { if (v1.gc) { v3.splice(v2, 1); } else { if (v4 >= v1.startTime) { v1.activate(); v1.render(v4); } } } --v2; } } }; v1.getID = function ($target, $lookup) { var v3; if ($lookup) { var v1 = gs.TweenLite.masterList; if (typeof $target == 'movieclip') { if (v1[String($target)] != undefined) { return String($target); } else { v3 = String($target); gs.TweenLite.masterList[v3] = {'target': $target, 'tweens': []}; return v3; } ++gs.TweenLite._cnt; v3 = 't' + gs.TweenLite._cnt; gs.TweenLite.masterList[v3] = {'target': $target, 'tweens': []}; return v3; } for (var v4 in v1) { if (v1[v4].target == $target) { return v4; } } } ++gs.TweenLite._cnt; v3 = 't' + gs.TweenLite._cnt; gs.TweenLite.masterList[v3] = {'target': $target, 'tweens': []}; return v3; }; v1.removeTween = function ($t, $clear) { if ($clear != false) { $t.clear(); } $t.__set__enabled(false); }; v1.killTweensOf = function ($target, $complete) { var v5 = gs.TweenLite.getID($target, true); var v3 = gs.TweenLite.masterList[v5]; var v2; var v1; if (v3 != undefined) { v2 = v3.length - 1; while (v2 > -1) { v1 = v3[v2]; if ($complete && !v1.gc) { v1.complete(false); } v1.clear(); --v2; } delete gs.TweenLite.masterList[v5]; } }; v1.killGarbage = function () { var v1 = gs.TweenLite.masterList; var v2; var v3; for (v2 in v1) { if (v1[v2].tweens.length == 0) { delete v1[v2]; } } }; v1.defaultEase = function ($t, $b, $c, $d) { $t /= $d; return -$c * $t * ($t - 2) + $b; }; v2.easeProxy = function ($t, $b, $c, $d) { return this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)); }; v2.__get__enabled = function () { return this.gc ? false : true; }; v2.__set__enabled = function ($b) { if ($b) { if (gs.TweenLite.masterList[this.endTargetID] == undefined) { gs.TweenLite.masterList[this.endTargetID] = {'target': this.target, 'tweens': [this]}; } else { var v3 = gs.TweenLite.masterList[this.endTargetID].tweens; var v4; var v2; v2 = v3.length - 1; while (v2 > -1) { if (v3[v2] == this) { v4 = true; break; } --v2; } if (!v4) { v3[v3.length] = this; } } } this.gc = $b ? false : true; if (this.gc) { this.active = false; } else { this.active = this.started; } return this.__get__enabled(); }; v1.version = 10.09; v1.killDelayedCallsTo = gs.TweenLite.killTweensOf; v1.masterList = {}; v1.plugins = {}; v1._cnt = -16000; v1._reservedProps = {'ease': 1, 'delay': 1, 'overwrite': 1, 'onComplete': 1, 'onCompleteParams': 1, 'runBackwards': 1, 'startAt': 1, 'onUpdate': 1, 'onUpdateParams': 1, 'roundProps': 1, 'onStart': 1, 'onStartParams': 1, 'persist': 1, 'renderOnStart': 1, 'proxiedEase': 1, 'easeParams': 1, 'yoyo': 1, 'loop': 1, 'onCompleteListener': 1, 'onUpdateListener': 1, 'onStartListener': 1, 'orientToBezier': 1, 'timeScale': 1}; v2.addProperty('enabled', v2.__get__enabled, v2.__set__enabled); ASSetPropFlags(gs.TweenLite.prototype, null, 1); } #endinitclip } movieClip 81 __Packages.gs.plugins.TweenPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.TweenPlugin) { var v1 = function () { this._tweens = []; this._changeFactor = 0; }; gs.plugins.TweenPlugin = v1; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { this.addTween($target, this.propName, $target[this.propName], $value, this.propName); return true; }; v2.addTween = function ($object, $propName, $start, $end, $overwriteProp) { if ($end != undefined) { var v3 = (typeof $end == 'number') ? $end - $start : Number($end); if (v3 != 0) { this._tweens[this._tweens.length] = new gs.utils.tween.TweenInfo($object, $propName, $start, v3, $overwriteProp || $propName); } } }; v2.updateTweens = function ($changeFactor) { var v3; var v2; if (this.round) { v3 = this._tweens.length - 1; while (v3 > -1) { v2 = this._tweens[v3]; v2.target[v2.property] = Math.round(v2.start + v2.change * $changeFactor); --v3; } } else { v3 = this._tweens.length - 1; while (v3 > -1) { v2 = this._tweens[v3]; v2.target[v2.property] = v2.start + v2.change * $changeFactor; --v3; } } }; v2.__set__changeFactor = function ($n) { this.updateTweens($n); this._changeFactor = $n; return this.__get__changeFactor(); }; v2.__get__changeFactor = function () { return this._changeFactor; }; v2.killProps = function ($lookup) { var v2; v2 = this.overwriteProps.length - 1; while (v2 > -1) { if ($lookup[this.overwriteProps[v2]] != undefined) { this.overwriteProps.splice(v2, 1); } --v2; } v2 = this._tweens.length - 1; while (v2 > -1) { if ($lookup[this._tweens[v2].name] != undefined) { this._tweens.splice(v2, 1); } --v2; } }; v1.activate = function ($plugins) { var v1; var v3; v1 = $plugins.length - 1; while (v1 > -1) { v3 = new $plugins[v1](); gs.TweenLite.plugins[v3.propName] = $plugins[v1]; --v1; } return true; }; v1.VERSION = 1.04; v1.API = 1; v2.addProperty('changeFactor', v2.__get__changeFactor, v2.__set__changeFactor); ASSetPropFlags(gs.plugins.TweenPlugin.prototype, null, 1); } #endinitclip } movieClip 82 __Packages.gs.utils.tween.TweenInfo { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.utils) { _global.gs.utils = new Object(); } if (!_global.gs.utils.tween) { _global.gs.utils.tween = new Object(); } if (!_global.gs.utils.tween.TweenInfo) { var v1 = function ($target, $property, $start, $change, $name, $isPlugin) { this.target = $target; this.property = $property; this.start = $start; this.change = $change; this.name = $name; this.isPlugin = $isPlugin; }; gs.utils.tween.TweenInfo = v1; var v2 = v1.prototype; ASSetPropFlags(gs.utils.tween.TweenInfo.prototype, null, 1); } #endinitclip } movieClip 83 __Packages.gs.plugins.TintPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.TintPlugin) { var v1 = function () { super(); this.propName = 'tint'; this.overwriteProps = ['tint']; }; gs.plugins.TintPlugin = v1; gs.plugins.TintPlugin extends gs.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { if (typeof $target != 'movieclip' && !($target instanceof TextField)) { return false; } var v2 = ($tween.vars._alpha != undefined) ? $tween.vars._alpha : (($tween.vars.autoAlpha != undefined) ? $tween.vars.autoAlpha : $target._alpha); if (!($value == null || $tween.vars.removeTint == true)) { var v6 = {'rb': $value >> 16, 'gb': $value >> 8 & 255, 'bb': $value & 255, 'ra': 0, 'ga': 0, 'ba': 0, 'aa': v2}; this._ignoreAlpha = true; this.init($target, v6); return true; } var v6 = {'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0, 'ra': v2, 'ga': v2, 'ba': v2, 'aa': v2}; this._ignoreAlpha = true; this.init($target, v6); return true; }; v2.init = function ($target, $end) { this._color = new Color($target); this._ct = this._color.getTransform(); var v5; var v2; for (v2 in $end) { if (this._ct[v2] != $end[v2]) { this._tweens[this._tweens.length] = new gs.utils.tween.TweenInfo(this._ct, v2, this._ct[v2], $end[v2] - this._ct[v2], 'tint', false); } } }; v2.__set__changeFactor = function ($n) { var v3; var v2; v3 = this._tweens.length - 1; while (v3 > -1) { v2 = this._tweens[v3]; v2.target[v2.property] = v2.start + v2.change * $n; --v3; } if (this._ignoreAlpha) { var v5 = this._color.getTransform(); this._ct.aa = v5.aa; this._ct.ab = v5.ab; } this._color.setTransform(this._ct); return this.__get__changeFactor(); }; v1.VERSION = 1.1; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(gs.plugins.TintPlugin.prototype, null, 1); } #endinitclip } movieClip 84 __Packages.gs.plugins.RemoveTintPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.RemoveTintPlugin) { var v1 = function () { super(); this.propName = 'removeTint'; }; gs.plugins.RemoveTintPlugin = v1; gs.plugins.RemoveTintPlugin extends gs.plugins.TintPlugin; var v2 = v1.prototype; v1.VERSION = 1; v1.API = 1; ASSetPropFlags(gs.plugins.RemoveTintPlugin.prototype, null, 1); } #endinitclip } movieClip 85 __Packages.gs.plugins.FramePlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.FramePlugin) { var v1 = function () { super(); this.propName = 'frame'; this.overwriteProps = ['frame']; this.round = true; }; gs.plugins.FramePlugin = v1; gs.plugins.FramePlugin extends gs.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { if (typeof $target != 'movieclip' || isNaN($value)) { return false; } this._target = MovieClip($target); this.frame = this._target._currentframe; this.addTween(this, 'frame', this.frame, $value, 'frame'); return true; }; v2.__set__changeFactor = function ($n) { this.updateTweens($n); this._target.gotoAndStop(this.frame); return this.__get__changeFactor(); }; v1.VERSION = 1.01; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(gs.plugins.FramePlugin.prototype, null, 1); } #endinitclip } movieClip 86 __Packages.gs.plugins.AutoAlphaPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.AutoAlphaPlugin) { var v1 = function () { super(); this.propName = 'autoAlpha'; this.overwriteProps = ['_alpha', '_visible']; this.onComplete = this.onCompleteTween; }; gs.plugins.AutoAlphaPlugin = v1; gs.plugins.AutoAlphaPlugin extends gs.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { this._target = $target; this._tween = $tween; this._visible = Boolean($value != 0); this._tweenVisible = true; this._alphaStart = this._target._alpha; if (typeof $value != 'number') { this._alphaChange = Number($value); this._tweenAlpha = Boolean(this._alphaChange != 0); return true; } this._alphaChange = $value - this._alphaStart; this._tweenAlpha = Boolean(this._alphaChange != 0); return true; }; v2.killProps = function ($lookup) { super.killProps($lookup); this._tweenVisible = Boolean($lookup._visible == undefined); this._tweenAlpha = Boolean($lookup._alpha == undefined); }; v2.onCompleteTween = function () { if (this._tweenVisible && this._tween.vars.runBackwards != true && this._tween.ease == this._tween.vars.ease) { this._target._visible = this._visible; } }; v2.__set__changeFactor = function ($n) { if (this._tweenAlpha) { this._target._alpha = this._alphaStart + this._alphaChange * $n; } if (this._target._visible != true && this._tweenVisible) { this._target._visible = true; } return this.__get__changeFactor(); }; v1.VERSION = 1; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(gs.plugins.AutoAlphaPlugin.prototype, null, 1); } #endinitclip } movieClip 87 __Packages.gs.plugins.VisiblePlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.VisiblePlugin) { var v1 = function () { super(); this.propName = '_visible'; this.overwriteProps = ['_visible']; this.onComplete = this.onCompleteTween; }; gs.plugins.VisiblePlugin = v1; gs.plugins.VisiblePlugin extends gs.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { this._target = $target; this._tween = $tween; this._visible = Boolean($value); return true; }; v2.onCompleteTween = function () { if (this._tween.vars.runBackwards != true && this._tween.ease == this._tween.vars.ease) { this._target._visible = this._visible; } }; v2.__set__changeFactor = function ($n) { if (this._target._visible != true) { this._target._visible = true; } return this.__get__changeFactor(); }; v1.VERSION = 1; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(gs.plugins.VisiblePlugin.prototype, null, 1); } #endinitclip } movieClip 88 __Packages.gs.plugins.VolumePlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.VolumePlugin) { var v1 = function () { super(); this.propName = 'volume'; this.overwriteProps = ['volume']; }; gs.plugins.VolumePlugin = v1; gs.plugins.VolumePlugin extends gs.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { if (isNaN($value) || typeof $target != 'movieclip' && !($target instanceof Sound)) { return false; } if (typeof $target != 'movieclip') { this._sound = Sound($target); this.volume = this._sound.getVolume(); this.addTween(this, 'volume', this.volume, $value, 'volume'); return true; } this._sound = new Sound($target); this.volume = this._sound.getVolume(); this.addTween(this, 'volume', this.volume, $value, 'volume'); return true; }; v2.__set__changeFactor = function ($n) { this.updateTweens($n); this._sound.setVolume(this.volume); return this.__get__changeFactor(); }; v1.VERSION = 1.01; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(gs.plugins.VolumePlugin.prototype, null, 1); } #endinitclip } movieClip 89 __Packages.gs.plugins.EndArrayPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.EndArrayPlugin) { var v1 = function () { super(); this.propName = 'endArray'; this.overwriteProps = ['endArray']; this._info = []; }; gs.plugins.EndArrayPlugin = v1; gs.plugins.EndArrayPlugin extends gs.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { if (!($target instanceof Array) || !($value instanceof Array)) { return false; } var v3 = $target; var v2 = $value; this.init(v3, v2); return true; }; v2.init = function ($start, $end) { this._a = $start; var v2 = $end.length - 1; while (v2 > -1) { if ($start[v2] != $end[v2] && $start[v2] != undefined) { this._info[this._info.length] = new gs.utils.tween.ArrayTweenInfo(v2, this._a[v2], $end[v2] - this._a[v2]); } --v2; } }; v2.__set__changeFactor = function ($n) { var v3; var v2; if (this.round) { v3 = this._info.length - 1; while (v3 > -1) { v2 = this._info[v3]; this._a[v2.index] = Math.round(v2.start + v2.change * $n); --v3; } } else { v3 = this._info.length - 1; while (v3 > -1) { v2 = this._info[v3]; this._a[v2.index] = v2.start + v2.change * $n; --v3; } } return this.__get__changeFactor(); }; v1.VERSION = 1.02; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(gs.plugins.EndArrayPlugin.prototype, null, 1); } #endinitclip } movieClip 90 __Packages.gs.utils.tween.ArrayTweenInfo { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.utils) { _global.gs.utils = new Object(); } if (!_global.gs.utils.tween) { _global.gs.utils.tween = new Object(); } if (!_global.gs.utils.tween.ArrayTweenInfo) { var v1 = function ($index, $start, $change) { this.index = $index; this.start = $start; this.change = $change; }; gs.utils.tween.ArrayTweenInfo = v1; var v2 = v1.prototype; ASSetPropFlags(gs.utils.tween.ArrayTweenInfo.prototype, null, 1); } #endinitclip } movieClip 91 __Packages.gs.plugins.HexColorsPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.HexColorsPlugin) { var v1 = function () { super(); this.propName = 'hexColors'; this.overwriteProps = []; this._colors = []; }; gs.plugins.HexColorsPlugin = v1; gs.plugins.HexColorsPlugin extends gs.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { for (var v4 in $value) { this.initColor($target, v4, Number($target[v4]), Number($value[v4])); } return true; }; v2.initColor = function ($target, $propName, $start, $end) { if ($start != $end) { var v4 = $start >> 16; var v6 = $start >> 8 & 255; var v3 = $start & 255; this._colors[this._colors.length] = [$target, $propName, v4, ($end >> 16) - v4, v6, ($end >> 8 & 255) - v6, v3, ($end & 255) - v3]; this.overwriteProps[this.overwriteProps.length] = $propName; } }; v2.killProps = function ($lookup) { var v3 = this._colors.length - 1; while (v3 > -1) { if ($lookup[this._colors[v3][1]] != undefined) { this._colors.splice(v3, 1); } --v3; } super.killProps($lookup); }; v2.__set__changeFactor = function ($n) { var v3; var v2; v3 = this._colors.length - 1; while (v3 > -1) { v2 = this._colors[v3]; v2[0][v2[1]] = v2[2] + $n * v2[3] << 16 | v2[4] + $n * v2[5] << 8 | v2[6] + $n * v2[7]; --v3; } return this.__get__changeFactor(); }; v1.VERSION = 1.01; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(gs.plugins.HexColorsPlugin.prototype, null, 1); } #endinitclip } movieClip 92 __Packages.gs.plugins.FilterPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.FilterPlugin) { var v1 = function () { super(); }; gs.plugins.FilterPlugin = v1; gs.plugins.FilterPlugin extends gs.plugins.TweenPlugin; var v2 = v1.prototype; v2.initFilter = function ($props, $default) { var v5 = this._target.filters; var v2; var v4; var v6; this._index = -1; if ($props.index != undefined) { this._index = $props.index; } else { v4 = v5.length - 1; while (v4 > -1) { if (v5[v4] instanceof this._type) { this._index = v4; break; } --v4; } } if (this._index == -1 || v5[this._index] == undefined || $props.addFilter == true) { this._index = ($props.index != undefined) ? $props.index : v5.length; v5[this._index] = $default; this._target.filters = v5; } this._filter = v5[this._index]; this._remove = Boolean($props.remove == true); if (this._remove) { this.onComplete = this.onCompleteTween; } var v3 = ($props.isTV == true) ? $props.exposedVars : $props; for (v2 in v3) { if (this._filter[v2] == undefined || this._filter[v2] == v3[v2] || v2 == 'remove' || v2 == 'index' || v2 == 'addFilter') { } else { if (v2 == 'color' || v2 == 'highlightColor' || v2 == 'shadowColor') { v6 = new gs.plugins.HexColorsPlugin(); v6.initColor(this._filter, v2, this._filter[v2], v3[v2]); this._tweens[this._tweens.length] = new gs.utils.tween.TweenInfo(v6, 'changeFactor', 0, 1, this.propName); } else { if (v2 == 'quality' || v2 == 'inner' || v2 == 'knockout' || v2 == 'hideObject') { this._filter[v2] = v3[v2]; } else { this.addTween(this._filter, v2, this._filter[v2], v3[v2], this.propName); } } } } }; v2.onCompleteTween = function () { if (this._remove) { var v2; var v3 = this._target.filters; if (!(v3[this._index] instanceof this._type)) { v2 = v3.length - 1; while (v2 > -1) { if (v3[v2] instanceof this._type) { v3.splice(v2, 1); break; } --v2; } } else { v3.splice(this._index, 1); } this._target.filters = v3; } }; v2.__set__changeFactor = function ($n) { var v2; var v3; var v4 = this._target.filters; v2 = this._tweens.length - 1; while (v2 > -1) { v3 = this._tweens[v2]; v3.target[v3.property] = v3.start + v3.change * $n; --v2; } if (!(v4[this._index] instanceof this._type)) { this._index = v4.length - 1; v2 = v4.length - 1; while (v2 > -1) { if (v4[v2] instanceof this._type) { this._index = v2; break; } --v2; } } v4[this._index] = this._filter; this._target.filters = v4; return this.__get__changeFactor(); }; v1.VERSION = 1.03; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(gs.plugins.FilterPlugin.prototype, null, 1); } #endinitclip } movieClip 93 __Packages.gs.plugins.BlurFilterPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.BlurFilterPlugin) { var v1 = function () { super(); this.propName = 'blurFilter'; this.overwriteProps = ['blurFilter']; }; gs.plugins.BlurFilterPlugin = v1; gs.plugins.BlurFilterPlugin extends gs.plugins.FilterPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { this._target = $target; this._type = flash.filters.BlurFilter; this.initFilter($value, new flash.filters.BlurFilter(0, 0, $value.quality || 2)); return true; }; v1.VERSION = 1; v1.API = 1; ASSetPropFlags(gs.plugins.BlurFilterPlugin.prototype, null, 1); } #endinitclip } movieClip 94 __Packages.gs.plugins.ColorMatrixFilterPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.ColorMatrixFilterPlugin) { var v1 = function () { super(); this.propName = 'colorMatrixFilter'; this.overwriteProps = ['colorMatrixFilter']; }; gs.plugins.ColorMatrixFilterPlugin = v1; gs.plugins.ColorMatrixFilterPlugin extends gs.plugins.FilterPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { this._target = $target; this._type = flash.filters.ColorMatrixFilter; var v3 = $value; this.initFilter({}, new flash.filters.ColorMatrixFilter(gs.plugins.ColorMatrixFilterPlugin._idMatrix.slice())); this._matrix = (flash.filters.ColorMatrixFilter(this._filter)).matrix; var v2 = []; if (v3.matrix != undefined && v3.matrix instanceof Array) { v2 = v3.matrix; this._matrixTween = new gs.plugins.EndArrayPlugin(); this._matrixTween.init(this._matrix, v2); return true; } if (v3.relative == true) { v2 = this._matrix.slice(); } else { v2 = gs.plugins.ColorMatrixFilterPlugin._idMatrix.slice(); } v2 = gs.plugins.ColorMatrixFilterPlugin.setBrightness(v2, v3.brightness); v2 = gs.plugins.ColorMatrixFilterPlugin.setContrast(v2, v3.contrast); v2 = gs.plugins.ColorMatrixFilterPlugin.setHue(v2, v3.hue); v2 = gs.plugins.ColorMatrixFilterPlugin.setSaturation(v2, v3.saturation); v2 = gs.plugins.ColorMatrixFilterPlugin.setThreshold(v2, v3.threshold); if (!isNaN(v3.colorize)) { v2 = gs.plugins.ColorMatrixFilterPlugin.colorize(v2, v3.colorize, v3.amount); } this._matrixTween = new gs.plugins.EndArrayPlugin(); this._matrixTween.init(this._matrix, v2); return true; }; v2.__set__changeFactor = function ($n) { this._matrixTween.__set__changeFactor($n); (flash.filters.ColorMatrixFilter(this._filter)).matrix = this._matrix; super.__set__changeFactor($n); return this.__get__changeFactor(); }; v1.colorize = function ($m, $color, $amount) { if (isNaN($color)) { return $m; var v3 = ($color >> 16 & 255) / 255; var v5 = ($color >> 8 & 255) / 255; var v2 = ($color & 255) / 255; var v4 = 1 - $amount; var v7 = [v4 + $amount * v3 * gs.plugins.ColorMatrixFilterPlugin._lumR, $amount * v3 * gs.plugins.ColorMatrixFilterPlugin._lumG, $amount * v3 * gs.plugins.ColorMatrixFilterPlugin._lumB, 0, 0, $amount * v5 * gs.plugins.ColorMatrixFilterPlugin._lumR, v4 + $amount * v5 * gs.plugins.ColorMatrixFilterPlugin._lumG, $amount * v5 * gs.plugins.ColorMatrixFilterPlugin._lumB, 0, 0, $amount * v2 * gs.plugins.ColorMatrixFilterPlugin._lumR, $amount * v2 * gs.plugins.ColorMatrixFilterPlugin._lumG, v4 + $amount * v2 * gs.plugins.ColorMatrixFilterPlugin._lumB, 0, 0, 0, 0, 0, 1, 0]; return gs.plugins.ColorMatrixFilterPlugin.applyMatrix(v7, $m); } if (isNaN($amount)) { $amount = 1; } var v3 = ($color >> 16 & 255) / 255; var v5 = ($color >> 8 & 255) / 255; var v2 = ($color & 255) / 255; var v4 = 1 - $amount; var v7 = [v4 + $amount * v3 * gs.plugins.ColorMatrixFilterPlugin._lumR, $amount * v3 * gs.plugins.ColorMatrixFilterPlugin._lumG, $amount * v3 * gs.plugins.ColorMatrixFilterPlugin._lumB, 0, 0, $amount * v5 * gs.plugins.ColorMatrixFilterPlugin._lumR, v4 + $amount * v5 * gs.plugins.ColorMatrixFilterPlugin._lumG, $amount * v5 * gs.plugins.ColorMatrixFilterPlugin._lumB, 0, 0, $amount * v2 * gs.plugins.ColorMatrixFilterPlugin._lumR, $amount * v2 * gs.plugins.ColorMatrixFilterPlugin._lumG, v4 + $amount * v2 * gs.plugins.ColorMatrixFilterPlugin._lumB, 0, 0, 0, 0, 0, 1, 0]; return gs.plugins.ColorMatrixFilterPlugin.applyMatrix(v7, $m); }; v1.setThreshold = function ($m, $n) { if (isNaN($n)) { return $m; } var v2 = [gs.plugins.ColorMatrixFilterPlugin._lumR * 256, gs.plugins.ColorMatrixFilterPlugin._lumG * 256, gs.plugins.ColorMatrixFilterPlugin._lumB * 256, 0, -256 * $n, gs.plugins.ColorMatrixFilterPlugin._lumR * 256, gs.plugins.ColorMatrixFilterPlugin._lumG * 256, gs.plugins.ColorMatrixFilterPlugin._lumB * 256, 0, -256 * $n, gs.plugins.ColorMatrixFilterPlugin._lumR * 256, gs.plugins.ColorMatrixFilterPlugin._lumG * 256, gs.plugins.ColorMatrixFilterPlugin._lumB * 256, 0, -256 * $n, 0, 0, 0, 1, 0]; return gs.plugins.ColorMatrixFilterPlugin.applyMatrix(v2, $m); }; v1.setHue = function ($m, $n) { if (isNaN($n)) { return $m; } $n *= 0.0174532925199433; var v1 = Math.cos($n); var v2 = Math.sin($n); var v4 = [gs.plugins.ColorMatrixFilterPlugin._lumR + v1 * (1 - gs.plugins.ColorMatrixFilterPlugin._lumR) + v2 * -gs.plugins.ColorMatrixFilterPlugin._lumR, gs.plugins.ColorMatrixFilterPlugin._lumG + v1 * -gs.plugins.ColorMatrixFilterPlugin._lumG + v2 * -gs.plugins.ColorMatrixFilterPlugin._lumG, gs.plugins.ColorMatrixFilterPlugin._lumB + v1 * -gs.plugins.ColorMatrixFilterPlugin._lumB + v2 * (1 - gs.plugins.ColorMatrixFilterPlugin._lumB), 0, 0, gs.plugins.ColorMatrixFilterPlugin._lumR + v1 * -gs.plugins.ColorMatrixFilterPlugin._lumR + v2 * 0.143, gs.plugins.ColorMatrixFilterPlugin._lumG + v1 * (1 - gs.plugins.ColorMatrixFilterPlugin._lumG) + v2 * 0.14, gs.plugins.ColorMatrixFilterPlugin._lumB + v1 * -gs.plugins.ColorMatrixFilterPlugin._lumB + v2 * -0.283, 0, 0, gs.plugins.ColorMatrixFilterPlugin._lumR + v1 * -gs.plugins.ColorMatrixFilterPlugin._lumR + v2 * -(1 - gs.plugins.ColorMatrixFilterPlugin._lumR), gs.plugins.ColorMatrixFilterPlugin._lumG + v1 * -gs.plugins.ColorMatrixFilterPlugin._lumG + v2 * gs.plugins.ColorMatrixFilterPlugin._lumG, gs.plugins.ColorMatrixFilterPlugin._lumB + v1 * (1 - gs.plugins.ColorMatrixFilterPlugin._lumB) + v2 * gs.plugins.ColorMatrixFilterPlugin._lumB, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]; return gs.plugins.ColorMatrixFilterPlugin.applyMatrix(v4, $m); }; v1.setBrightness = function ($m, $n) { if (isNaN($n)) { return $m; } $n = $n * 100 - 100; return gs.plugins.ColorMatrixFilterPlugin.applyMatrix([1, 0, 0, 0, $n, 0, 1, 0, 0, $n, 0, 0, 1, 0, $n, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], $m); }; v1.setSaturation = function ($m, $n) { if (isNaN($n)) { return $m; } var v4 = 1 - $n; var v3 = v4 * gs.plugins.ColorMatrixFilterPlugin._lumR; var v5 = v4 * gs.plugins.ColorMatrixFilterPlugin._lumG; var v2 = v4 * gs.plugins.ColorMatrixFilterPlugin._lumB; var v6 = [v3 + $n, v5, v2, 0, 0, v3, v5 + $n, v2, 0, 0, v3, v5, v2 + $n, 0, 0, 0, 0, 0, 1, 0]; return gs.plugins.ColorMatrixFilterPlugin.applyMatrix(v6, $m); }; v1.setContrast = function ($m, $n) { if (isNaN($n)) { return $m; } $n += 0.01; var v2 = [$n, 0, 0, 0, 128 * (1 - $n), 0, $n, 0, 0, 128 * (1 - $n), 0, 0, $n, 0, 128 * (1 - $n), 0, 0, 0, 1, 0]; return gs.plugins.ColorMatrixFilterPlugin.applyMatrix(v2, $m); }; v1.applyMatrix = function ($m, $m2) { if (!($m instanceof Array) || !($m2 instanceof Array)) { return $m2; } var v7 = []; var v2 = 0; var v5 = 0; var v6; var v1; v6 = 0; while (v6 < 4) { v1 = 0; while (v1 < 5) { if (v1 == 4) { v5 = $m[v2 + 4]; } else { v5 = 0; } v7[v2 + v1] = $m[v2] * $m2[v1] + $m[v2 + 1] * $m2[v1 + 5] + $m[v2 + 2] * $m2[v1 + 10] + $m[v2 + 3] * $m2[v1 + 15] + v5; ++v1; } v2 += 5; ++v6; } return v7; }; v1.VERSION = 1.01; v1.API = 1; v1._idMatrix = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]; v1._lumR = 0.212671; v1._lumG = 0.71516; v1._lumB = 0.072169; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(gs.plugins.ColorMatrixFilterPlugin.prototype, null, 1); } #endinitclip } movieClip 95 __Packages.gs.plugins.BevelFilterPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.BevelFilterPlugin) { var v1 = function () { super(); this.propName = 'bevelFilter'; this.overwriteProps = ['bevelFilter']; }; gs.plugins.BevelFilterPlugin = v1; gs.plugins.BevelFilterPlugin extends gs.plugins.FilterPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { this._target = $target; this._type = flash.filters.BevelFilter; this.initFilter($value, new flash.filters.BevelFilter(0, 0, 16777215, 0.5, 0, 0.5, 2, 2, 0, $value.quality || 2)); return true; }; v1.VERSION = 1; v1.API = 1; ASSetPropFlags(gs.plugins.BevelFilterPlugin.prototype, null, 1); } #endinitclip } movieClip 96 __Packages.gs.plugins.DropShadowFilterPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.DropShadowFilterPlugin) { var v1 = function () { super(); this.propName = 'dropShadowFilter'; this.overwriteProps = ['dropShadowFilter']; }; gs.plugins.DropShadowFilterPlugin = v1; gs.plugins.DropShadowFilterPlugin extends gs.plugins.FilterPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { this._target = $target; this._type = flash.filters.DropShadowFilter; this.initFilter($value, new flash.filters.DropShadowFilter(0, 45, 0, 0, 0, 0, 1, $value.quality || 2, $value.inner, $value.knockout, $value.hideObject)); return true; }; v1.VERSION = 1; v1.API = 1; ASSetPropFlags(gs.plugins.DropShadowFilterPlugin.prototype, null, 1); } #endinitclip } movieClip 97 __Packages.gs.plugins.GlowFilterPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.GlowFilterPlugin) { var v1 = function () { super(); this.propName = 'glowFilter'; this.overwriteProps = ['glowFilter']; }; gs.plugins.GlowFilterPlugin = v1; gs.plugins.GlowFilterPlugin extends gs.plugins.FilterPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { this._target = $target; this._type = flash.filters.GlowFilter; this.initFilter($value, new flash.filters.GlowFilter(16777215, 0, 0, 0, $value.strength || 1, $value.quality || 2, $value.inner, $value.knockout)); return true; }; v1.VERSION = 1; v1.API = 1; ASSetPropFlags(gs.plugins.GlowFilterPlugin.prototype, null, 1); } #endinitclip } movieClip 98 __Packages.gs.plugins.RoundPropsPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.RoundPropsPlugin) { var v1 = function () { super(); this.propName = 'roundProps'; this.overwriteProps = []; this.round = true; }; gs.plugins.RoundPropsPlugin = v1; gs.plugins.RoundPropsPlugin extends gs.plugins.TweenPlugin; var v2 = v1.prototype; v2.add = function ($object, $propName, $start, $change) { this.addTween($object, $propName, $start, $start + $change, $propName); this.overwriteProps[this.overwriteProps.length] = $propName; }; v1.VERSION = 1; v1.API = 1; ASSetPropFlags(gs.plugins.RoundPropsPlugin.prototype, null, 1); } #endinitclip } movieClip 99 __Packages.gs.plugins.BezierPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.BezierPlugin) { var v1 = function () { super(); this.propName = 'bezier'; this.overwriteProps = []; }; gs.plugins.BezierPlugin = v1; gs.plugins.BezierPlugin extends gs.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { if (!($value instanceof Array)) { return false; } var v2 = $value; this.init($tween, v2, false); return true; }; v2.init = function ($tween, $beziers, $through) { this._target = $tween.target; var v5 = {}; var v3; var v2; if ($tween.vars.orientToBezier == true) { this._orientData = [['_x', '_y', '_rotation', 0]]; this.overwriteProps[this.overwriteProps.length] = '_rotation'; this._orient = true; } else { if ($tween.vars.orientToBezier instanceof Array) { this._orientData = $tween.vars.orientToBezier; v3 = this._orientData.length - 1; while (v3 > -1) { this.overwriteProps[this.overwriteProps.length] = this._orientData[v3][2]; --v3; } this.overwriteProps[this.overwriteProps.length] = v2; this._orient = true; } } v3 = 0; while (v3 < $beziers.length) { for (v2 in $beziers[v3]) { if (v5[v2] == undefined) { v5[v2] = [$tween.target[v2]]; } if (typeof $beziers[v3][v2] == 'number') { v5[v2].push($beziers[v3][v2]); } else { v5[v2].push($tween.target[v2] + Number($beziers[v3][v2])); } } ++v3; } for (v2 in v5) { this.overwriteProps[this.overwriteProps.length] = v2; if ($tween.vars[v2] != undefined) { if (typeof $tween.vars[v2] == 'number') { v5[v2].push($tween.vars[v2]); } else { v5[v2].push($tween.target[v2] + Number($tween.vars[v2])); } delete $tween.vars[v2]; v3 = $tween.tweens.length - 1; while (v3 > -1) { if ($tween.tweens[v3].name == v2) { $tween.tweens.splice(v3, 1); } --v3; } } } this._beziers = gs.plugins.BezierPlugin.parseBeziers(v5, $through); }; v1.parseBeziers = function ($props, $through) { var v2; var v1; var v3; var v4; var v6 = {}; if ($through == true) { for (v4 in $props) { v1 = $props[v4]; v3 = []; v6[v4] = v3; if (v1.length > 2) { v3[v3.length] = [v1[0], v1[1] - (v1[2] - v1[0]) / 4, v1[1]]; v2 = 1; while (v2 < v1.length - 1) { v3[v3.length] = [v1[v2], v1[v2] + (v1[v2] - v3[v2 - 1][1]), v1[v2 + 1]]; ++v2; } } else { v3[v3.length] = [v1[0], (v1[0] + v1[1]) / 2, v1[1]]; } } return v6; } for (v4 in $props) { v1 = $props[v4]; v3 = []; v6[v4] = v3; if (v1.length > 3) { v3[v3.length] = [v1[0], v1[1], (v1[1] + v1[2]) / 2]; v2 = 2; while (v2 < v1.length - 2) { v3[v3.length] = [v3[v2 - 2][2], v1[v2], (v1[v2] + v1[v2 + 1]) / 2]; ++v2; } v3[v3.length] = [v3[v3.length - 1][2], v1[v1.length - 2], v1[v1.length - 1]]; } else { if (v1.length == 3) { v3[v3.length] = [v1[0], v1[1], v1[2]]; } else { if (v1.length == 2) { v3[v3.length] = [v1[0], (v1[0] + v1[1]) / 2, v1[1]]; } } } } return v6; }; v2.killProps = function ($lookup) { for (var v5 in this._beziers) { if ($lookup[v5] != undefined) { delete this._beziers[v5]; } } if (this._orient) { var v3 = this._orientData.length - 1; while (v3 > -1) { if ($lookup[this._orientData[v3][2]] != undefined) { this._orientData.splice(v3, 1); } --v3; } } super.killProps($lookup); }; v2.__set__changeFactor = function ($n) { var v3; var v4; var v2; var v5; var v7; if ($n == 1) { for (v4 in this._beziers) { v3 = this._beziers[v4].length - 1; this._target[v4] = this._beziers[v4][v3][2]; } } else { for (v4 in this._beziers) { v7 = this._beziers[v4].length; if ($n < 0) { v3 = 0; } else { if ($n >= 1) { v3 = v7 - 1; } else { v3 = v7 * $n >> 0; } } v5 = ($n - v3 * (1 / v7)) * v7; v2 = this._beziers[v4][v3]; if (this.round) { this._target[v4] = Math.round(v2[0] + v5 * (2 * (1 - v5) * (v2[1] - v2[0]) + v5 * (v2[2] - v2[0]))); } else { this._target[v4] = v2[0] + v5 * (2 * (1 - v5) * (v2[1] - v2[0]) + v5 * (v2[2] - v2[0])); } } } if (this._orient) { var v12 = this._target; var v13 = this.round; this._target = this._future; this.round = false; this._orient = false; this.__set__changeFactor($n + 0.01); this._target = v12; this.round = v13; this._orient = true; var v10; var v9; var v6; var v11; v3 = 0; while (v3 < this._orientData.length) { v6 = this._orientData[v3]; v11 = v6[3] || 0; v10 = this._future[v6[0]] - this._target[v6[0]]; v9 = this._future[v6[1]] - this._target[v6[1]]; this._target[v6[2]] = Math.atan2(v9, v10) * gs.plugins.BezierPlugin._RAD2DEG + v11; ++v3; } } return this.__get__changeFactor(); }; v1.VERSION = 1; v1.API = 1; v1._RAD2DEG = 57.29577951308232; v2._future = {}; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(gs.plugins.BezierPlugin.prototype, null, 1); } #endinitclip } movieClip 100 __Packages.gs.plugins.BezierThroughPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.BezierThroughPlugin) { var v1 = function () { super(); this.propName = 'bezierThrough'; }; gs.plugins.BezierThroughPlugin = v1; gs.plugins.BezierThroughPlugin extends gs.plugins.BezierPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { if (!($value instanceof Array)) { return false; } var v2 = $value; this.init($tween, v2, true); return true; }; v1.VERSION = 1; v1.API = 1; ASSetPropFlags(gs.plugins.BezierThroughPlugin.prototype, null, 1); } #endinitclip } movieClip 101 __Packages.gs.plugins.ShortRotationPlugin { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.plugins) { _global.gs.plugins = new Object(); } if (!_global.gs.plugins.ShortRotationPlugin) { var v1 = function () { super(); this.propName = 'shortRotation'; this.overwriteProps = []; }; gs.plugins.ShortRotationPlugin = v1; gs.plugins.ShortRotationPlugin extends gs.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function ($target, $value, $tween) { if (typeof $value == 'number') { trace('WARNING: You appear to be using the old shortRotation syntax. Instead of passing a number, please pass an object with properties that correspond to the rotations values For example, TweenMax.to(mc, 2, {shortRotation:{rotationX:-170, rotationY:25}})'); return false; } for (var v4 in $value) { this.initRotation($target, v4, $target[v4], $value[v4]); } return true; }; v2.initRotation = function ($target, $propName, $start, $end) { var v2 = ($end - $start) % 360; if (v2 != v2 % 180) { v2 = v2 < 0 ? v2 + 360 : v2 - 360; } this.addTween($target, $propName, $start, $start + v2, $propName); this.overwriteProps[this.overwriteProps.length] = $propName; }; v1.VERSION = 1; v1.API = 1; ASSetPropFlags(gs.plugins.ShortRotationPlugin.prototype, null, 1); } #endinitclip } movieClip 102 __Packages.gs.OverwriteManager { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.OverwriteManager) { var v1 = function () {}; gs.OverwriteManager = v1; var v2 = v1.prototype; v1.init = function ($mode) { if (gs.TweenLite.version < 10.09) { trace('TweenLite warning: Your TweenLite class needs to be updated to work with OverwriteManager (or you may need to clear your ASO files). Please download and install the latest version from http://www.tweenlite.com.'); } gs.TweenLite.overwriteManager = gs.OverwriteManager; if ($mode != undefined) { gs.OverwriteManager.mode = $mode; gs.OverwriteManager.enabled = true; return gs.OverwriteManager.mode; } gs.OverwriteManager.mode = 2; gs.OverwriteManager.enabled = true; return gs.OverwriteManager.mode; }; v1.manageOverwrites = function ($tween, $targetTweens) { var v13 = $tween.vars; var v14 = (v13.overwrite == undefined) ? gs.OverwriteManager.mode : Number(v13.overwrite); if (v14 < 2 || $targetTweens == undefined) { return undefined; } var v10 = $tween.startTime; var v3 = []; var v1; var v15; var v5; var v9 = -1; v1 = $targetTweens.length - 1; while (v1 > -1) { v5 = $targetTweens[v1]; if (v5 == $tween) { v9 = v1; } else { if (v1 < v9 && v5.startTime <= v10 && v5.startTime + v5.duration * 1000 / v5.combinedTimeScale > v10) { v3[v3.length] = v5; } } --v1; } if (v3.length == 0 || $tween.tweens.length == 0) { return undefined; } if (v14 == gs.OverwriteManager.AUTO) { var v8 = $tween.tweens; var v6 = {}; var v2; var v4; var v7; v1 = v8.length - 1; while (v1 > -1) { v4 = v8[v1]; if (v4.isPlugin) { if (v4.name == '_MULTIPLE_') { v7 = v4.target.overwriteProps; v2 = v7.length - 1; while (v2 > -1) { v6[v7[v2]] = true; --v2; } } else { v6[v4.name] = true; } v6[v4.target.propName] = true; } else { v6[v4.name] = true; } --v1; } v1 = v3.length - 1; while (v1 > -1) { gs.OverwriteManager.killVars(v6, v3[v1].vars, v3[v1].tweens); --v1; } } else { v1 = v3.length - 1; while (v1 > -1) { v3[v1].enabled = false; --v1; } } }; v1.killVars = function ($killVars, $vars, $tweens, $subTweens, $filters) { var v2; var v5; var v1; v2 = $tweens.length - 1; while (v2 > -1) { v1 = $tweens[v2]; if ($killVars[v1.name] != undefined) { $tweens.splice(v2, 1); } else { if (v1.isPlugin && v1.name == '_MULTIPLE_') { v1.target.killProps($killVars); if (v1.target.overwriteProps.length == 0) { $tweens.splice(v2, 1); } } } --v2; } for (v5 in $killVars) { delete $vars[v5]; } }; v1.version = 3.12; v1.NONE = 0; v1.ALL = 1; v1.AUTO = 2; v1.CONCURRENT = 3; ASSetPropFlags(gs.OverwriteManager.prototype, null, 1); } #endinitclip } movieClip 103 __Packages.gs.TweenMax { #initclip if (!_global.gs) { _global.gs = new Object(); } if (!_global.gs.TweenMax) { var v1 = function ($target, $duration, $vars) { super($target, $duration, $vars); if (gs.TweenLite.version < 10.09) { trace('TweenMax error! Please update your TweenLite class or try deleting your ASO files. TweenMax requires a more recent version. Download updates at http://www.TweenMax.com.'); } ++gs.TweenMax._idCount; this._tweenID = 't' + gs.TweenMax._idCount; this._thisReverseEase = mx.utils.Delegate.create(this, this.reverseEase); this._repeatCount = 0; if (this.combinedTimeScale != 1 && this.target instanceof gs.TweenMax) { this._timeScale = 1; this.combinedTimeScale = gs.TweenMax._globalTimeScale; } else { this._timeScale = this.combinedTimeScale; this.combinedTimeScale *= gs.TweenMax._globalTimeScale; } if (this.combinedTimeScale != 1 && this.delay != 0) { this.startTime = this.initTime + this.delay * (1000 / this.combinedTimeScale); } if (!isNaN(this.vars.yoyo) || !isNaN(this.vars.loop)) { this.vars.persist = true; } if (this.delay == 0 && this.vars.startAt != undefined) { this.vars.startAt.overwrite = 0; new gs.TweenMax(this.target, 0, this.vars.startAt); } }; gs.TweenMax = v1; gs.TweenMax extends gs.TweenLite; var v2 = v1.prototype; v2.initTweenVals = function () { if (this.vars.startAt != undefined && this.delay != 0) { this.vars.startAt.overwrite = 0; new gs.TweenMax(this.target, 0, this.vars.startAt); } super.initTweenVals(); if (this.vars.roundProps instanceof Array && gs.TweenLite.plugins.roundProps != undefined) { var v8; var v4; var v5; var v7; var v9 = this.vars.roundProps; var v6; var v3; v8 = v9.length - 1; while (v8 > -1) { v5 = v9[v8]; v4 = this.tweens.length - 1; while (v4 > -1) { v3 = this.tweens[v4]; if (v3.name == v5) { if (v3.isPlugin) { v3.target.round = true; } else { if (v6 == null) { v6 = new gs.TweenLite.plugins.roundProps(); v6.add(v3.target, v5, v3.start, v3.change); this._hasPlugins = true; this.tweens[v4] = new gs.utils.tween.TweenInfo(v6, 'changeFactor', 0, 1, v5, true); } else { v6.add(v3.target, v5, v3.start, v3.change); this.tweens.splice(v4, 1); } } } else { if (v3.isPlugin && v3.name == '_MULTIPLE_' && !v3.target.round) { v7 = ' ' + v3.target.overwriteProps.join(' ') + ' '; if (v7.indexOf(' ' + v5 + ' ') != -1) { v3.target.round = true; } } } --v4; } --v8; } } }; v2.render = function ($t) { var v5 = ($t - this.startTime) * 0.001 * this.combinedTimeScale; var v4; var v2; var v3; if (v5 >= this.duration) { v5 = this.duration; v4 = (this.ease == this.vars.ease || this.duration == 0.001) ? 1 : 0; } else { v4 = this.ease(v5, 0, 1, this.duration); } v3 = this.tweens.length - 1; while (v3 > -1) { v2 = this.tweens[v3]; v2.target[v2.property] = v2.start + v4 * v2.change; --v3; } if (this._hasUpdate) { this.vars.onUpdate.apply(this.vars.onUpdateScope, this.vars.onUpdateParams); } if (v5 == this.duration) { this.complete(true); } }; v2.pause = function () { if (isNaN(this.pauseTime)) { this.pauseTime = gs.TweenLite.currentTime; this.startTime = 999999999999999.0; this.__set__enabled(false); gs.TweenMax._pausedTweens[this._tweenID] = this; } }; v2.resume = function () { this.__set__enabled(true); if (!isNaN(this.pauseTime)) { this.initTime += gs.TweenLite.currentTime - this.pauseTime; this.startTime = this.initTime + this.delay * (1000 / this.combinedTimeScale); this.pauseTime = NaN; if (!this.started && gs.TweenLite.currentTime >= this.startTime) { this.activate(); } else { this.active = this.started; } delete gs.TweenMax._pausedTweens[this._tweenID]; } }; v2.restart = function ($includeDelay) { if ($includeDelay == true) { this.initTime = gs.TweenLite.currentTime; this.startTime = gs.TweenLite.currentTime + this.delay * (1000 / this.combinedTimeScale); } else { this.startTime = gs.TweenLite.currentTime; this.initTime = gs.TweenLite.currentTime - this.delay * (1000 / this.combinedTimeScale); } this._repeatCount = 0; if (this.target != this.vars.onComplete) { this.render(this.startTime); } this.pauseTime = NaN; delete gs.TweenMax._pausedTweens[this._tweenID]; this.__set__enabled(true); }; v2.reverse = function ($adjustDuration, $forcePlay) { this.ease = (this.vars.ease == this.ease) ? this._thisReverseEase : this.vars.ease; var v2 = this.__get__progress(); if ($adjustDuration != false && v2 > 0) { this.startTime = gs.TweenLite.currentTime - (1 - v2) * this.duration * 1000 / this.combinedTimeScale; this.initTime = this.startTime - this.delay * (1000 / this.combinedTimeScale); } if ($forcePlay != false) { if (v2 < 1) { this.resume(); } else { this.restart(); } } }; v2.reverseEase = function ($t, $b, $c, $d) { return this.vars.ease($d - $t, $b, $c, $d); }; v2.invalidate = function ($adjustStartValues) { if (this.initted) { var v2 = this.__get__progress(); if ($adjustStartValues != true && v2 != 0) { this.__set__progress(0); } this.tweens = []; this.initTweenVals(); this._timeScale = this.vars.timeScale || 1; this.combinedTimeScale = this._timeScale * gs.TweenMax._globalTimeScale; this.delay = this.vars.delay || 0; if (isNaN(this.pauseTime)) { this.startTime = this.initTime + this.delay * 1000 / this.combinedTimeScale; } if (v2 != 0) { if ($adjustStartValues) { this.adjustStartValues(); } else { this.__set__progress(v2); } } } }; v2.setDestination = function ($property, $value, $adjustStartValues) { var v7 = this.__get__progress(); var v3; var v2; if (this.initted) { if ($adjustStartValues == false) { v3 = this.tweens.length - 1; while (v3 > -1) { v2 = this.tweens[v3]; if (v2.name == $property) { v2.target[v2.property] = v2.start; } --v3; } } var v6 = this.vars; var v9 = this.tweens; var v8 = this._hasPlugins; this.tweens = []; this.vars = {}; this.vars[$property] = $value; this.initTweenVals(); if (this.ease != this._thisReverseEase && typeof v6.ease == 'function') { this.ease = v6.ease; } if ($adjustStartValues != false && v7 != 0) { this.adjustStartValues(); } var v10 = this.tweens; this.vars = v6; this.tweens = v9; var v5 = {}; v5[$property] = true; v3 = this.tweens.length - 1; while (v3 > -1) { v2 = this.tweens[v3]; if (v2.name == $property) { this.tweens.splice(v3, 1); } else { if (v2.isPlugin && v2.name == '_MULTIPLE_') { v2.target.killProps(v5); if (v2.target.overwriteProps.length == 0) { this.tweens.splice(v3, 1); } } } --v3; } this.tweens = this.tweens.concat(v10); this._hasPlugins = Boolean(v8 || this._hasPlugins); } this.vars[$property] = $value; }; v2.adjustStartValues = function () { var v7 = this.__get__progress(); if (v7 != 0) { var v6 = this.ease(v7, 0, 1, 1); var v5 = 1 / (1 - v6); var v3; var v2; var v4; v4 = this.tweens.length - 1; while (v4 > -1) { v2 = this.tweens[v4]; v3 = v2.start + v2.change; if (v2.isPlugin) { v2.change = (v3 - v6) * v5; } else { v2.change = (v3 - v2.target[v2.property]) * v5; } v2.start = v3 - v2.change; --v4; } } }; v2.killProperties = function ($names) { var v4 = {}; var v2; v2 = $names.length - 1; while (v2 > -1) { v4[$names[v2]] = true; --v2; } this.killVars(v4); }; v2.complete = function ($skipRender) { if (!isNaN(this.vars.yoyo) && (this._repeatCount < this.vars.yoyo || this.vars.yoyo == 0) || !isNaN(this.vars.loop) && (this._repeatCount < this.vars.loop || this.vars.loop == 0)) { ++this._repeatCount; if (!isNaN(this.vars.yoyo)) { this.ease = (this.vars.ease == this.ease) ? this.reverseEase : this.vars.ease; } this.startTime = $skipRender ? this.startTime + this.duration * (1000 / this.combinedTimeScale) : gs.TweenLite.currentTime; this.initTime = this.startTime - this.delay * (1000 / this.combinedTimeScale); } else { if (this.vars.persist == true) { this.pause(); } } super.complete($skipRender); }; v1.to = function ($target, $duration, $vars) { return new gs.TweenMax($target, $duration, $vars); }; v1.from = function ($target, $duration, $vars) { $vars.runBackwards = true; return new gs.TweenMax($target, $duration, $vars); }; v1.delayedCall = function ($delay, $onComplete, $onCompleteParams, $onCompleteScope, $persist) { return new gs.TweenMax($onComplete, 0, {'delay': $delay, 'onComplete': $onComplete, 'onCompleteParams': $onCompleteParams, 'onCompleteScope': $onCompleteScope, 'persist': $persist, 'overwrite': 0}); }; v1.getTweensOf = function ($target) { var v3 = gs.TweenLite.masterList[gs.TweenLite.getID($target, true)].tweens; var v2 = []; if (v3 != undefined) { var v1 = v3.length - 1; while (v1 > -1) { if (!v3[v1].gc) { v2[v2.length] = v3[v1]; } --v1; } } for (var v5 in gs.TweenMax._pausedTweens) { if (gs.TweenMax._pausedTweens[v5].target == $target) { v2[v2.length] = gs.TweenMax._pausedTweens[v5]; } } return v2; }; v1.setGlobalTimeScale = function ($scale) { if ($scale < 1.0e-005) { $scale = 1.0e-005; } var v3 = gs.TweenLite.masterList; var v4; var v1; var v2; gs.TweenMax._globalTimeScale = $scale; for (v4 in v3) { v2 = v3[v4].tweens; v1 = v2.length - 1; while (v1 > -1) { if (v2[v1] instanceof gs.TweenMax) { v2[v1].timeScale *= 1; } --v1; } } }; v1.isTweening = function ($target) { var v2 = gs.TweenMax.getTweensOf($target); var v1 = 0; while (v1 < v2.length) { if ((v2[v1].active || v2[v1].startTime == gs.TweenLite.currentTime) && !v2[v1].gc) { return true; } ++v1; } return false; }; v1.getAllTweens = function () { var v5 = gs.TweenLite.masterList; var v3 = []; var v2; var v4; var v1; for (v4 in v5) { v2 = v5[v4].tweens; v1 = v2.length - 1; while (v1 > -1) { if (!v2[v1].gc) { v3[v3.length] = v2[v1]; } --v1; } } for (v4 in gs.TweenMax._pausedTweens) { v3[v3.length] = gs.TweenMax._pausedTweens[v4]; } return v3; }; v1.killAllTweens = function ($complete) { gs.TweenMax.killAll($complete, true, false); }; v1.killAllDelayedCalls = function ($complete) { gs.TweenMax.killAll($complete, false, true); }; v1.killAll = function ($complete, $tweens, $delayedCalls) { if ($tweens == undefined) { $tweens = true; } if ($delayedCalls == undefined) { $delayedCalls = false; } var v2 = gs.TweenMax.getAllTweens(); var v3; var v1 = v2.length - 1; while (v1 > -1) { v3 = v2[v1].target == v2[v1].vars.onComplete; if (v3 == $delayedCalls || v3 != $tweens) { if ($complete) { v2[v1].complete(false); v2[v1].clear(); } else { gs.TweenLite.removeTween(v2[v1], true); } } --v1; } }; v1.pauseAll = function ($tweens, $delayedCalls) { gs.TweenMax.changePause(true, $tweens, $delayedCalls); }; v1.resumeAll = function ($tweens, $delayedCalls) { gs.TweenMax.changePause(false, $tweens, $delayedCalls); }; v1.changePause = function ($pause, $tweens, $delayedCalls) { if ($pause == undefined) { $pause = true; } if ($tweens == undefined) { $tweens = true; } if ($delayedCalls == undefined) { $delayedCalls = false; } var v2 = gs.TweenMax.getAllTweens(); var v3; var v1 = v2.length - 1; while (v1 > -1) { v3 = v2[v1].target == v2[v1].vars.onComplete; if (v2[v1] instanceof gs.TweenMax && (v3 == $delayedCalls || v3 != $tweens)) { v2[v1].paused = $pause; } --v1; } }; v2.__get__paused = function () { return !isNaN(this.pauseTime); }; v2.__set__paused = function ($b) { if ($b) { this.pause(); } else { this.resume(); } return this.__get__paused(); }; v2.__get__reversed = function () { return this.ease == this._thisReverseEase; }; v2.__set__reversed = function ($b) { if (this.__get__reversed() != $b) { this.reverse(); } return this.__get__reversed(); }; v2.__get__timeScale = function () { return this._timeScale; }; v2.__set__timeScale = function ($n) { if ($n < 1.0e-005) { this._timeScale = 1.0e-005; $n = 1.0e-005; } else { this._timeScale = $n; $n *= gs.TweenMax._globalTimeScale; } this.initTime = gs.TweenLite.currentTime - (gs.TweenLite.currentTime - this.initTime - this.delay * (1000 / this.combinedTimeScale)) * this.combinedTimeScale * (1 / $n) - this.delay * (1000 / $n); if (this.startTime != 999999999999999.0) { this.startTime = this.initTime + this.delay * (1000 / $n); } this.combinedTimeScale = $n; return this.__get__timeScale(); }; v2.__set__enabled = function ($b) { if (!$b) { delete gs.TweenMax._pausedTweens[this._tweenID]; } super.__set__enabled($b); if ($b) { this.combinedTimeScale = this._timeScale * gs.TweenMax._globalTimeScale; } return this.__get__enabled(); }; v1.__set__globalTimeScale = function ($n) { gs.TweenMax.setGlobalTimeScale($n); return gs.TweenMax.__get__globalTimeScale(); }; v1.__get__globalTimeScale = function () { return gs.TweenMax._globalTimeScale; }; v2.__get__progress = function () { var v3 = !isNaN(this.pauseTime) ? this.pauseTime : gs.TweenLite.currentTime; var v2 = (((v3 - this.initTime) * 0.001 - this.delay / this.combinedTimeScale) / this.duration) * this.combinedTimeScale; if (v2 > 1) { return 1; } else { if (v2 < 0) { return 0; } else { return v2; } } }; v2.__set__progress = function ($n) { this.startTime = gs.TweenLite.currentTime - this.duration * $n * 1000; this.initTime = this.startTime - this.delay * (1000 / this.combinedTimeScale); if (!this.started) { this.activate(); } this.render(gs.TweenLite.currentTime); if (!isNaN(this.pauseTime)) { this.pauseTime = gs.TweenLite.currentTime; this.startTime = 999999999999999.0; this.active = false; } return this.__get__progress(); }; v1.version = 10.11; v1._activatedPlugins = gs.plugins.TweenPlugin.activate([gs.plugins.TintPlugin, gs.plugins.RemoveTintPlugin, gs.plugins.FramePlugin, gs.plugins.AutoAlphaPlugin, gs.plugins.VisiblePlugin, gs.plugins.VolumePlugin, gs.plugins.EndArrayPlugin, gs.plugins.HexColorsPlugin, gs.plugins.BlurFilterPlugin, gs.plugins.ColorMatrixFilterPlugin, gs.plugins.BevelFilterPlugin, gs.plugins.DropShadowFilterPlugin, gs.plugins.GlowFilterPlugin, gs.plugins.RoundPropsPlugin, gs.plugins.BezierPlugin, gs.plugins.BezierThroughPlugin, gs.plugins.ShortRotationPlugin]); v1.killTweensOf = gs.TweenLite.killTweensOf; v1.killDelayedCallsTo = gs.TweenLite.killTweensOf; v1.removeTween = gs.TweenLite.removeTween; v1._idCount = -16000; v1._overwriteMode = gs.OverwriteManager.enabled ? gs.OverwriteManager.mode : gs.OverwriteManager.init(); v1._pausedTweens = {}; v1._globalTimeScale = 1; v2.addProperty('enabled', function () {}, v2.__set__enabled); v1.addProperty('globalTimeScale', v1.__get__globalTimeScale, v1.__set__globalTimeScale); v2.addProperty('paused', v2.__get__paused, v2.__set__paused); v2.addProperty('progress', v2.__get__progress, v2.__set__progress); v2.addProperty('reversed', v2.__get__reversed, v2.__set__reversed); v2.addProperty('timeScale', v2.__get__timeScale, v2.__set__timeScale); ASSetPropFlags(gs.TweenMax.prototype, null, 1); } #endinitclip } movieClip 104 __Packages.mx.utils.Delegate { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.utils) { _global.mx.utils = new Object(); } if (!_global.mx.utils.Delegate) { var v1 = function (f) { super(); this.func = f; }; mx.utils.Delegate = v1; mx.utils.Delegate extends Object; var v2 = v1.prototype; v1.create = function (obj, func) { var v2 = function () { var v2 = arguments.callee.target; var v3 = arguments.callee.func; return v3.apply(v2, arguments); }; v2.target = obj; v2.func = func; return v2; }; v2.createDelegate = function (obj) { return mx.utils.Delegate.create(obj, this.func); }; ASSetPropFlags(mx.utils.Delegate.prototype, null, 1); } #endinitclip } frame 2 { var isVideoPlaying = false; var wasVideoPlayingWhenGetIntoSeekState = false; var isControlsBlocked = false; var isSeekMode = false; var STAGE_FRAME_RATE = 22; var STAGE_FRAME_RATE_INTERVAL = 1000 / STAGE_FRAME_RATE; var DEFAULT_STAGE_WIDTH = 482; var DEFAULT_STAGE_HEIGHT = 430; var seekBtn = anima_base.progress_bar_seek_btn; var seekRef = anima_base.progress_bar_seek_ref; var elapsedBar = anima_base.progress_bar_elapsed; var seekBtnStartX = seekBtn._x; var video = anima_base.video_mc; var videoFirstFrame = 2; var videoLastFrame = 1575; var videoTotalFrames = videoLastFrame - videoFirstFrame; var videoMaxReachedScale = 0; var videoActiveFrame = videoFirstFrame; var videoActivePercent = 0; var rewindStartFrame = 2; var rewindEndFrame = 1627; var rewindTotalFrames = rewindEndFrame - rewindStartFrame; var totalVideoFrames = 1575; var totalTimeVideo = int(totalVideoFrames / STAGE_FRAME_RATE); var totalTimeVideoSimulating = int(rewindEndFrame / STAGE_FRAME_RATE); var totalMinutesVideo; var totalSecoundsVideo; var activeMinutesVideo; var activeSecondsVideo; var parentalControll = anima_base.parental_controll; var isParentalControllInStage = false; var activeParentalControllMovie; var isParentalControllComming = false; var iSync; var iSyncIntervalTime = STAGE_FRAME_RATE_INTERVAL; var isVideoSoundInitialized = false; var isVideoSoundStopped = true; var video_snd_c = _root.createEmptyMovieClip('_VIDEO_SND_', _root.getNextHighestDepth()); var rewind_snd_c = _root.createEmptyMovieClip('_REWIND_SND_', _root.getNextHighestDepth()); var click_snd_c = _root.createEmptyMovieClip('_CLICK_SND_', _root.getNextHighestDepth()); var pc_snd_c = _root.createEmptyMovieClip('_PC_SND_', _root.getNextHighestDepth()); var video_snd = new Sound(video_snd_c); var rewind_snd = new Sound(rewind_snd_c); var click_snd = new Sound(click_snd_c); var toc_snd = new Sound(pc_snd_c); var walk_snd = new Sound(pc_snd_c); var breath_snd = new Sound(pc_snd_c); var passo1_snd = new Sound(pc_snd_c); var passo2_snd = new Sound(pc_snd_c); var passo3_snd = new Sound(pc_snd_c); var passo4_snd = new Sound(pc_snd_c); var buff1_snd = new Sound(pc_snd_c); var buff2_snd = new Sound(pc_snd_c); var buff3_snd = new Sound(pc_snd_c); var buff4_snd = new Sound(pc_snd_c); var tisc1_snd = new Sound(pc_snd_c); var tisc2_snd = new Sound(pc_snd_c); var sndPosition = 0; var volumeLevel = 100; var volumeChangeAmount = 10; var isMuteEnabled = false; var lastAudio = volumeLevel; var iInitialize; var timmer = anima_base.timmer_txt; } frame 2 { initialize(); startSound('click'); stop(); } movieClip 34 { frame 1 { var informUpdateFunction; var informUpdateScope; var informUpdateParameters; } frame 1 { function setInformUpdateFunction(fnc, scp) { informUpdateFunction = fnc; informUpdateScope = scp; } } frame 1 { function informUpdate(p_array) { informUpdateParameters = p_array; if (informUpdateFunction != undefined && informUpdateScope != undefined) { informUpdateFunction.apply(informUpdateScope, informUpdateParameters); } } } frame 1 { stop(); } frame 579 { startSound('passo2'); } frame 598 { startSound('passo3'); } frame 612 { informUpdate([this, 'ParentalControllEnter']); } frame 821 { informUpdate([this, 'ParentalControllPause_1']); } frame 856 { informUpdate([this, 'Pause_1']); } frame 1111 { informUpdate([this, 'ParentalControllPause_2']); } frame 1146 { informUpdate([this, 'Pause_2']); } frame 1343 { informUpdate([this, 'ParentalControllPause_3']); } frame 1378 { informUpdate([this, 'Pause_3']); } frame 1449 { informUpdate([this, 'ParentalControllPause_4']); } frame 1484 { informUpdate([this, 'Pause_4']); } frame 1560 { informUpdate([this, 'ParentalControllRewind']); } frame 1577 { informUpdate([this, 'Rewind']); } frame 1627 { informUpdate([this, 'EndAnimation']); } } movieClip 36 { } // unknown tag 88 length 79 button 39 { on (release) { fscommand('fullscreen', 'true'); } } movieClip 40 { } movieClip 42 { } movieClip 44 { } movieClip 46 { } movieClip 47 { } movieClip 48 { } movieClip 51 { } button 57 { on (release) { gotoAndPlay(1); _parent._parent.gotoAndPlay(2); _parent.gotoAndPlay('play'); } } button 61 { on (release) { gotoAndPlay(2); } } movieClip 62 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } movieClip 63 { } movieClip 64 { } movieClip 66 { } movieClip 70 { frame 1 { var informUpdateFunction; var informUpdateScope; var informUpdateParameters; } frame 1 { function setInformUpdateFunction(fnc, scp) { informUpdateFunction = fnc; informUpdateScope = scp; } } frame 1 { function informUpdate(p_array) { informUpdateParameters = p_array; if (informUpdateFunction != undefined && informUpdateScope != undefined) { informUpdateFunction.apply(informUpdateScope, informUpdateParameters); } } } frame 1 { stop(); } frame 66 { play(); informUpdate([this, 'StartAnimation']); } frame 82 { informUpdate([this, 'DoReverse']); } frame 137 { informUpdate([this, 'EndReverse']); } frame 166 { startSound('buff_random'); } frame 192 { startSound('tisc_random_start'); } frame 221 { startSound('walk'); } frame 223 { startSound('passo1'); } frame 241 { startSound('passo2'); } frame 258 { startSound('passo3'); } frame 275 { startSound('passo1'); } frame 290 { informUpdate([this, 'EndAnimation']); } } movieClip 72 { frame 1 { var informUpdateFunction; var informUpdateScope; var informUpdateParameters; } frame 1 { function setInformUpdateFunction(fnc, scp) { informUpdateFunction = fnc; informUpdateScope = scp; } } frame 1 { function informUpdate(p_array) { informUpdateParameters = p_array; if (informUpdateFunction != undefined && informUpdateScope != undefined) { informUpdateFunction.apply(informUpdateScope, informUpdateParameters); } } } frame 1 { stop(); } frame 10 { play(); informUpdate([this, 'StartAnimation']); } frame 45 { informUpdate([this, 'DoPause']); } frame 67 { startSound('buff_random'); } frame 103 { startSound('toc'); } frame 129 { startSound('tisc_random_start'); } frame 175 { informUpdate([this, 'LoopAnimation']); } frame 176 { informUpdate([this, 'EndAnimation']); } } movieClip 74 { frame 1 { var informUpdateFunction; var informUpdateScope; var informUpdateParameters; } frame 1 { function setInformUpdateFunction(fnc, scp) { informUpdateFunction = fnc; informUpdateScope = scp; } } frame 1 { function informUpdate(p_array) { informUpdateParameters = p_array; if (informUpdateFunction != undefined && informUpdateScope != undefined) { informUpdateFunction.apply(informUpdateScope, informUpdateParameters); } } } frame 1 { stop(); } frame 2 { play(); informUpdate([this, 'StartAnimation']); } frame 61 { startSound('toc'); } frame 100 { startSound('tisc_random_start'); } frame 146 { informUpdate([this, 'LoopAnimation']); } frame 147 { informUpdate([this, 'EndAnimation']); } } movieClip 76 { frame 1 { var informUpdateFunction; var informUpdateScope; var informUpdateParameters; } frame 1 { function setInformUpdateFunction(fnc, scp) { informUpdateFunction = fnc; informUpdateScope = scp; } } frame 1 { function informUpdate(p_array) { informUpdateParameters = p_array; if (informUpdateFunction != undefined && informUpdateScope != undefined) { informUpdateFunction.apply(informUpdateScope, informUpdateParameters); } } } frame 1 { stop(); } frame 2 { startSound('passo1'); } frame 2 { play(); informUpdate([this, 'StartAnimation']); } frame 19 { startSound('passo2'); } frame 38 { startSound('passo3'); } frame 62 { } frame 155 { startSound('tisc_random_start'); } frame 245 { informUpdate([this, 'DoPause']); } frame 286 { startSound('buff_random'); } frame 298 { startSound('toc'); } frame 323 { startSound('tisc_random_start'); } frame 431 { startSound('toc'); } frame 478 { startSound('tisc_random_start'); } frame 580 { startSound('toc'); } frame 630 { startSound('tisc_random_start'); } frame 666 { informUpdate([this, 'LoopAnimation']); } frame 667 { informUpdate([this, 'EndAnimation']); } } movieClip 77 { } movieClip 78 { instance play_pause_btn of movieClip 62 { } }




http://swfchan.com/20/99575/info.shtml
Created: 21/3 -2019 20:43:55 Last modified: 21/3 -2019 20:43:55 Server time: 19/04 -2024 08:30:18