Frame 1
var sceneFlow__;
if (sceneFlow__ == null) {
this._lockroot = true;
sceneFlow__ = new ascs.scene.SceneFlow(_root, SharedObject.getLocal("touch_feel", "/"));
sceneFlow__.changeScene(tf.scene.R002.LINKAGE_ID);
}
Symbol 77 MovieClip [R02B_04_Ecstasy02] Frame 265
this.gotoAndPlay("260");
Symbol 85 MovieClip [R02B_04_Ecstasy01] Frame 209
this.gotoAndPlay("206");
Symbol 140 MovieClip [R02B_04] Frame 1
#initclip 80
Object.registerClass("R02B_04", tf.entity.reina.R02B_04);
#endinitclip
Symbol 148 MovieClip [R02B_03_Ecstasy02] Frame 265
this.gotoAndPlay("260");
Symbol 149 MovieClip [R02B_03_Ecstasy01] Frame 209
this.gotoAndPlay("206");
Symbol 160 MovieClip [R02B_03_Change_04] Frame 1
#initclip 47
Object.registerClass("R02B_03_Change_04", tf.entity.reina.R02B_03_Change_04);
#endinitclip
Symbol 162 MovieClip [R02B_03] Frame 1
#initclip 48
Object.registerClass("R02B_03", tf.entity.reina.R02B_03);
#endinitclip
Symbol 170 MovieClip [R02B_02_Ecstasy02] Frame 265
this.gotoAndPlay("260");
Symbol 171 MovieClip [R02B_02_Ecstasy01] Frame 209
this.gotoAndPlay("206");
Symbol 184 MovieClip [R02B_02_Change_04] Frame 1
#initclip 49
Object.registerClass("R02B_02_Change_04", tf.entity.reina.R02B_02_Change_04);
#endinitclip
Symbol 212 MovieClip [R02B_02] Frame 1
#initclip 50
Object.registerClass("R02B_02", tf.entity.reina.R02B_02);
#endinitclip
Symbol 219 MovieClip [R02B_01_Change_03] Frame 1
#initclip 51
Object.registerClass("R02B_01_Change_03", tf.entity.reina.R02B_01_Change_03);
#endinitclip
Symbol 222 MovieClip [R02B_01_Change_02] Frame 1
#initclip 52
Object.registerClass("R02B_01_Change_02", tf.entity.reina.R02B_01_Change_02);
#endinitclip
Symbol 224 MovieClip [R02B_01] Frame 1
#initclip 53
Object.registerClass("R02B_01", tf.entity.reina.R02B_01);
#endinitclip
Symbol 230 MovieClip [R02A_04_Ecstasy02] Frame 265
this.gotoAndPlay("260");
Symbol 231 MovieClip [R02A_04_Ecstasy01] Frame 209
this.gotoAndPlay("206");
Symbol 241 MovieClip [R02A_04] Frame 1
#initclip 54
Object.registerClass("R02A_04", tf.entity.reina.R02A_04);
#endinitclip
Symbol 247 MovieClip [R02A_03_Ecstasy02] Frame 265
this.gotoAndPlay("260");
Symbol 248 MovieClip [R02A_03_Ecstasy01] Frame 209
this.gotoAndPlay("206");
Symbol 251 MovieClip [R02A_03_Change_04] Frame 1
#initclip 55
Object.registerClass("R02A_03_Change_04", tf.entity.reina.R02A_03_Change_04);
#endinitclip
Symbol 253 MovieClip [R02A_03] Frame 1
#initclip 56
Object.registerClass("R02A_03", tf.entity.reina.R02A_03);
#endinitclip
Symbol 266 MovieClip [R02A_02_Mas_Ecstasy02] Frame 265
this.gotoAndPlay("260");
Symbol 270 MovieClip [R02A_02_Mas_Ecstasy01] Frame 209
this.gotoAndPlay("206");
Symbol 293 MovieClip [R02A_02_Mas] Frame 1
#initclip 57
Object.registerClass("R02A_02_Mas", tf.entity.reina.R02A_02_Mas);
#endinitclip
Symbol 295 MovieClip [R02A_02_Ecstasy02] Frame 265
this.gotoAndPlay("260");
Symbol 296 MovieClip [R02A_02_Ecstasy01] Frame 209
this.gotoAndPlay("206");
Symbol 297 MovieClip [R02A_02_Change_04] Frame 1
#initclip 58
Object.registerClass("R02A_02_Change_04", tf.entity.reina.R02A_02_Change_04);
#endinitclip
Symbol 307 MovieClip [R02A_02] Frame 1
#initclip 59
Object.registerClass("R02A_02", tf.entity.reina.R02A_02);
#endinitclip
Symbol 312 MovieClip [R02A_01_Change_03] Frame 1
#initclip 60
Object.registerClass("R02A_01_Change_03", tf.entity.reina.R02A_01_Change_03);
#endinitclip
Symbol 315 MovieClip [R02A_01_Change_02] Frame 1
#initclip 61
Object.registerClass("R02A_01_Change_02", tf.entity.reina.R02A_01_Change_02);
#endinitclip
Symbol 317 MovieClip [R02A_01] Frame 1
#initclip 62
Object.registerClass("R02A_01", tf.entity.reina.R02A_01);
#endinitclip
Symbol 319 MovieClip [R02_H05] Frame 1
#initclip 63
Object.registerClass("R02_H05", ascs.ctrl.PushButton);
#endinitclip
Symbol 321 MovieClip [R02_H04] Frame 1
#initclip 64
Object.registerClass("R02_H04", ascs.ctrl.PushButton);
#endinitclip
Symbol 323 MovieClip [R02_H03] Frame 1
#initclip 65
Object.registerClass("R02_H03", ascs.ctrl.PushButton);
#endinitclip
Symbol 325 MovieClip [R02_H02] Frame 1
#initclip 66
Object.registerClass("R02_H02", ascs.ctrl.PushButton);
#endinitclip
Symbol 327 MovieClip [R02_H01] Frame 1
#initclip 67
Object.registerClass("R02_H01", ascs.ctrl.PushButton);
#endinitclip
Symbol 335 MovieClip [R02_Eye01] Frame 1
#initclip 68
Object.registerClass("R02_Eye01", tf.entity.reina.R02_Eye01);
#endinitclip
Symbol 337 MovieClip [Next01] Frame 1
#initclip 69
Object.registerClass("Next01", ascs.ctrl.PushButton);
#endinitclip
Symbol 339 MovieClip [Next02] Frame 1
#initclip 70
Object.registerClass("Next02", ascs.ctrl.PushButton);
#endinitclip
Symbol 341 MovieClip [Next03] Frame 1
#initclip 71
Object.registerClass("Next03", ascs.ctrl.PushButton);
#endinitclip
Symbol 343 MovieClip [Next04] Frame 1
#initclip 72
Object.registerClass("Next04", ascs.ctrl.PushButton);
#endinitclip
Symbol 345 MovieClip [Select04] Frame 1
#initclip 73
Object.registerClass("Select04", ascs.ctrl.ToggleButton);
#endinitclip
Symbol 350 MovieClip [Icon01] Frame 1
#initclip 74
Object.registerClass("Icon01", tf.entity.Icon);
#endinitclip
Symbol 355 MovieClip [Icon02] Frame 1
#initclip 75
Object.registerClass("Icon02", tf.entity.Icon);
#endinitclip
Symbol 357 MovieClip [Cursor02] Frame 1
#initclip 76
Object.registerClass("Cursor02", tf.entity.Cursor);
#endinitclip
Symbol 359 MovieClip [Cursor01] Frame 1
#initclip 77
Object.registerClass("Cursor01", tf.entity.Cursor);
#endinitclip
Symbol 366 MovieClip [Meter] Frame 1
#initclip 78
Object.registerClass("Meter", tf.entity.Meter);
#endinitclip
Symbol 368 MovieClip [Select03] Frame 1
#initclip 79
Object.registerClass("Select03", ascs.ctrl.ToggleButton);
#endinitclip
Symbol 369 MovieClip [__Packages.ascs.scene.SceneFlow] Frame 0
class ascs.scene.SceneFlow
{
var parent_, context_, stack_;
function SceneFlow (prt, ctx) {
parent_ = prt;
context_ = ctx;
stack_ = new ascs.util.Stack();
}
function toString() {
return("[SceneFlow]");
}
function getContext() {
return(context_);
}
function pushScene(id) {
var _local2 = new Object({scene:null, linkageID:id});
stack_.push(_local2);
}
function popScene() {
if (!stack_.isEmpty()) {
var _local3 = stack_.pop();
_local3.scene.removeMovieClip();
var _local2 = stack_.peek();
if (_local2.scene == null) {
createScene(_local2);
} else {
_local2.scene.enabled = true;
_local2.scene._visible = true;
_local2.scene.play();
_local2.scene.onReload(_local3.linkageID);
}
}
}
function changeScene(id) {
if (!stack_.isEmpty()) {
stack_.pop().scene.removeMovieClip();
}
pushScene(id);
return(createScene(stack_.peek()));
}
function callScene(id) {
if (!stack_.isEmpty()) {
var _local2 = stack_.peek();
_local2.scene.enabled = false;
_local2.scene._visible = false;
_local2.scene.stop();
}
pushScene(id);
return(createScene(stack_.peek()));
}
function createScene(node) {
var _local3 = parent_.getNextHighestDepth();
var _local4 = ("scene_" + _local3) + "_mc";
var _local5 = new Object({linkageID_:node.linkageID, sceneFlow_:this});
node.scene = ascs.scene.AbstractScene(parent_.attachMovie(node.linkageID, _local4, _local3, _local5));
return(node.scene);
}
}
Symbol 370 MovieClip [__Packages.ascs.util.Stack] Frame 0
class ascs.util.Stack
{
var elements_;
function Stack () {
elements_ = new Array();
}
function toString() {
return("[Stack]");
}
function isEmpty() {
return(size() == 0);
}
function size() {
return(elements_.length);
}
function peek() {
if (isEmpty()) {
throw new Error();
}
return(elements_[size() - 1]);
}
function push(elem) {
elements_.push(elem);
}
function pop() {
return(elements_.pop());
}
}
Symbol 371 MovieClip [__Packages.ascs.scene.AbstractScene] Frame 0
class ascs.scene.AbstractScene extends MovieClip
{
var linkageID_, sceneFlow_;
function AbstractScene () {
super();
}
function toString() {
return("[AbstractScene]");
}
function getLinkageID() {
return(linkageID_);
}
function getSceneFlow() {
return(sceneFlow_);
}
function onReload(id) {
}
}
Symbol 372 MovieClip [__Packages.tf.scene.R002] Frame 0
class tf.scene.R002 extends ascs.scene.AbstractScene
{
var attachMovie, getNextHighestDepth, r02_h04, r02_h05, r02_h01, r02_h02, r02_h03, sceneFlow_, mtr, sel03, sel04, nxt01, nxt02, nxt03, nxt04, ic02, tools_, ic01, csr01, csr02, rv_010, yell_, gasp_, isEventListenerEmpty, dispatchEvent, onMouseUp, unloadMovie;
function R002 () {
super();
ascs.util.EventLauncher.initialize(this);
}
function onLoad() {
Mouse.hide();
attachMovie("R02_H04", "r02_h04", getNextHighestDepth(), {enabled:false});
r02_h04.addEventListener("onRelease", mx.utils.Delegate.create(this, r02_h04Released));
attachMovie("R02_H05", "r02_h05", getNextHighestDepth(), {enabled:false});
r02_h05.addEventListener("onRelease", mx.utils.Delegate.create(this, r02_h05Released));
attachMovie("R02_H01", "r02_h01", getNextHighestDepth(), {enabled:false});
r02_h01.addEventListener("onRelease", mx.utils.Delegate.create(this, r02_h01Released));
attachMovie("R02_H02", "r02_h02", getNextHighestDepth(), {enabled:false});
r02_h02.addEventListener("onRelease", mx.utils.Delegate.create(this, r02_h02Released));
attachMovie("R02_H03", "r02_h03", getNextHighestDepth(), {enabled:false});
r02_h03.addEventListener("onRelease", mx.utils.Delegate.create(this, r02_h03Released));
var _local3 = sceneFlow_.getContext();
if (_local3.data.isSel03Seld) {
attachMovie("R02A_01", "reina", getNextHighestDepth());
} else {
attachMovie("R02B_01", "reina", getNextHighestDepth());
}
attachMovie("Meter", "mtr", getNextHighestDepth());
mtr.setValue(_local3.data.plsr);
attachMovie("Select03", "sel03", getNextHighestDepth(), {enabled:false});
if (_local3.data.isSel03Seld) {
sel03._visible = false;
sel03.doClick();
} else {
sel03.addEventListener("onRelease", mx.utils.Delegate.create(this, select03Released));
}
attachMovie("Select04", "sel04", getNextHighestDepth(), {_visible:false, enabled:false});
sel04.addEventListener("onRelease", mx.utils.Delegate.create(this, select04Released));
attachMovie("Next01", "nxt01", getNextHighestDepth(), {_visible:false, enabled:false});
nxt01.addEventListener("onRelease", mx.utils.Delegate.create(this, next01Released));
attachMovie("Next02", "nxt02", getNextHighestDepth(), {_visible:false, enabled:false});
nxt02.addEventListener("onRelease", mx.utils.Delegate.create(this, next02Released));
attachMovie("Next03", "nxt03", getNextHighestDepth(), {_visible:false, enabled:false});
nxt03.addEventListener("onRelease", mx.utils.Delegate.create(this, next03Released));
attachMovie("Next04", "nxt04", getNextHighestDepth(), {_visible:false, enabled:false});
nxt04.addEventListener("onRelease", mx.utils.Delegate.create(this, next04Released));
attachMovie("Icon01", "ic01", getNextHighestDepth(), {enabled:false});
attachMovie("Icon02", "ic02", getNextHighestDepth(), {enabled:false});
if (!sel03.isSelected()) {
ic02._visible = false;
}
tools_ = new ascs.ctrl.ButtonGroup();
tools_.addButton(ic01);
tools_.addButton(ic02);
attachMovie("Cursor01", "csr01", getNextHighestDepth(), {_visible:false});
ic01.setCursor(csr01);
ic01.doClick();
attachMovie("Cursor02", "csr02", getNextHighestDepth(), {_visible:false});
ic02.setCursor(csr02);
rv_010 = new ascs.media.SoundClip("RV_010");
rv_010.addEventListener("soundclipStarted", mx.utils.Delegate.create(this, gaspStarted));
var _local2 = 22;
while (_local2 < 34) {
this["rv_0" + _local2] = new ascs.media.SoundClip("RV_0" + _local2);
if (_local2 < 24) {
this["rv_0" + _local2].addEventListener("soundclipStarted", mx.utils.Delegate.create(this, yellStarted));
} else {
this["rv_0" + _local2].addEventListener("soundclipStarted", mx.utils.Delegate.create(this, gaspStarted));
}
_local2++;
}
_local2 = 35;
while (_local2 < 42) {
this["rv_0" + _local2] = new ascs.media.SoundClip("RV_0" + _local2);
this["rv_0" + _local2].addEventListener("soundclipStarted", mx.utils.Delegate.create(this, gaspStarted));
_local2++;
}
var _local4 = new mx.transitions.TransitionManager(this);
_local4.startTransition({type:mx.transitions.PixelDissolve, direction:mx.transitions.Transition.IN, duration:PIXEL_DISSOLVE_DURATION, easing:mx.transitions.easing.None.easeNone, xSections:10, ySections:10});
_local4.addEventListener("allTransitionsInDone", mx.utils.Delegate.create(this, beginR002));
}
function onUnload() {
for (var _local2 in this) {
if (this[_local2] instanceof ascs.media.SoundClip) {
this[_local2].removeSoundClip();
}
}
}
function showSelect04() {
sel04._visible = true;
var _local2 = new mx.transitions.TransitionManager(sel04);
_local2.startTransition({type:mx.transitions.Fade, direction:mx.transitions.Transition.IN, duration:1, easing:mx.transitions.easing.None.easeNone});
_local2.addEventListener("allTransitionsInDone", ascs.util.ListenerFunction.enableMovieClip);
}
function hideSelect04() {
sel04.enabled = false;
var _local2 = new mx.transitions.TransitionManager(sel04);
_local2.startTransition({type:mx.transitions.Fade, direction:mx.transitions.Transition.OUT, duration:1, easing:mx.transitions.easing.None.easeNone});
_local2.addEventListener("allTransitionsOutDone", ascs.util.ListenerFunction.hideMovieClip);
}
function showNext01() {
var _local2 = new Object({type:mx.transitions.Fade, direction:mx.transitions.Transition.IN, duration:1, easing:mx.transitions.easing.None.easeNone});
if (nxt04._visible) {
nxt04.enabled = false;
var _local3 = new mx.transitions.TransitionManager(nxt04);
_local3.startTransition({type:mx.transitions.Fade, direction:mx.transitions.Transition.OUT, duration:1, easing:mx.transitions.easing.None.easeNone});
_local3.addEventListener("allTransitionsOutDone", ascs.util.ListenerFunction.removeMovieClip);
_local2.duration = 2;
_local2.easing = mx.transitions.easing.Back.easeIn;
}
nxt01._visible = true;
var _local4 = new mx.transitions.TransitionManager(nxt01);
_local4.startTransition(_local2);
_local4.addEventListener("allTransitionsInDone", ascs.util.ListenerFunction.enableMovieClip);
}
function showNext02() {
var _local2 = new Object({type:mx.transitions.Fade, direction:mx.transitions.Transition.IN, duration:1, easing:mx.transitions.easing.None.easeNone});
if (nxt01._visible) {
nxt01.enabled = false;
var _local3 = new mx.transitions.TransitionManager(nxt01);
_local3.startTransition({type:mx.transitions.Fade, direction:mx.transitions.Transition.OUT, duration:1, easing:mx.transitions.easing.None.easeNone});
_local3.addEventListener("allTransitionsOutDone", ascs.util.ListenerFunction.removeMovieClip);
_local2.duration = 2;
_local2.easing = mx.transitions.easing.Back.easeIn;
} else if (nxt04._visible) {
nxt04.enabled = false;
var _local3 = new mx.transitions.TransitionManager(nxt04);
_local3.startTransition({type:mx.transitions.Fade, direction:mx.transitions.Transition.OUT, duration:1, easing:mx.transitions.easing.None.easeNone});
_local3.addEventListener("allTransitionsOutDone", ascs.util.ListenerFunction.removeMovieClip);
_local2.duration = 2;
_local2.easing = mx.transitions.easing.Back.easeIn;
}
nxt02._visible = true;
var _local4 = new mx.transitions.TransitionManager(nxt02);
_local4.startTransition(_local2);
_local4.addEventListener("allTransitionsInDone", ascs.util.ListenerFunction.enableMovieClip);
}
function showNext03() {
var _local2 = new Object({type:mx.transitions.Fade, direction:mx.transitions.Transition.IN, duration:1, easing:mx.transitions.easing.None.easeNone});
if (nxt01._visible) {
nxt01.enabled = false;
var _local3 = new mx.transitions.TransitionManager(nxt01);
_local3.startTransition({type:mx.transitions.Fade, direction:mx.transitions.Transition.OUT, duration:1, easing:mx.transitions.easing.None.easeNone});
_local3.addEventListener("allTransitionsOutDone", ascs.util.ListenerFunction.removeMovieClip);
_local2.duration = 2;
_local2.easing = mx.transitions.easing.Back.easeIn;
} else if (nxt04._visible) {
nxt04.enabled = false;
var _local3 = new mx.transitions.TransitionManager(nxt04);
_local3.startTransition({type:mx.transitions.Fade, direction:mx.transitions.Transition.OUT, duration:1, easing:mx.transitions.easing.None.easeNone});
_local3.addEventListener("allTransitionsOutDone", ascs.util.ListenerFunction.removeMovieClip);
_local2.duration = 2;
_local2.easing = mx.transitions.easing.Back.easeIn;
} else if (nxt02._visible) {
nxt02.enabled = false;
var _local3 = new mx.transitions.TransitionManager(nxt02);
_local3.startTransition({type:mx.transitions.Fade, direction:mx.transitions.Transition.OUT, duration:1, easing:mx.transitions.easing.None.easeNone});
_local3.addEventListener("allTransitionsOutDone", ascs.util.ListenerFunction.removeMovieClip);
_local2.duration = 2;
_local2.easing = mx.transitions.easing.Back.easeIn;
}
nxt03._visible = true;
var _local4 = new mx.transitions.TransitionManager(nxt03);
_local4.startTransition(_local2);
_local4.addEventListener("allTransitionsInDone", ascs.util.ListenerFunction.enableMovieClip);
}
function showNext04() {
var _local2 = new Object({type:mx.transitions.Fade, direction:mx.transitions.Transition.IN, duration:1, easing:mx.transitions.easing.None.easeNone});
if (nxt01._visible) {
nxt01.enabled = false;
var _local3 = new mx.transitions.TransitionManager(nxt01);
_local3.startTransition({type:mx.transitions.Fade, direction:mx.transitions.Transition.OUT, duration:1, easing:mx.transitions.easing.None.easeNone});
_local3.addEventListener("allTransitionsOutDone", ascs.util.ListenerFunction.removeMovieClip);
_local2.duration = 2;
_local2.easing = mx.transitions.easing.Back.easeIn;
}
nxt04._visible = true;
var _local4 = new mx.transitions.TransitionManager(nxt04);
_local4.startTransition(_local2);
_local4.addEventListener("allTransitionsInDone", ascs.util.ListenerFunction.enableMovieClip);
}
function isYellPlaying() {
return(((yell_ == null) ? false : (yell_.isPlaying())));
}
function isGaspPlaying() {
if (gasp_ == null) {
return(false);
}
return((gasp_.isPlaying() ? (gasp_.getPositionRatio() < GASP_POSITION_RATIO) : false));
}
function yellStop() {
if (yell_ != null) {
yell_.stop();
}
}
function gaspStop() {
if (gasp_ != null) {
gasp_.stop();
}
}
function r02_h01Released(evt) {
if (isEventListenerEmpty("r02_h01Released")) {
return(undefined);
}
dispatchEvent({type:"r02_h01Released"});
}
function r02_h02Released(evt) {
if (isEventListenerEmpty("r02_h02Released")) {
return(undefined);
}
dispatchEvent({type:"r02_h02Released"});
}
function r02_h03Released(evt) {
if (isEventListenerEmpty("r02_h03Released")) {
return(undefined);
}
dispatchEvent({type:"r02_h03Released"});
}
function r02_h04Released(evt) {
if (isEventListenerEmpty("r02_h04Released")) {
return(undefined);
}
dispatchEvent({type:"r02_h04Released"});
}
function r02_h05Released(evt) {
if (isEventListenerEmpty("r02_h05Released")) {
return(undefined);
}
dispatchEvent({type:"r02_h05Released"});
}
function mouseReleased() {
if (isEventListenerEmpty("mouseReleased")) {
return(undefined);
}
dispatchEvent({type:"mouseReleased"});
}
function select03Released(evt) {
if (isEventListenerEmpty("select03Released")) {
return(undefined);
}
ic02._visible = true;
var _local2 = new mx.transitions.TransitionManager(ic02);
_local2.startTransition({type:mx.transitions.Fade, direction:mx.transitions.Transition.IN, duration:1, easing:mx.transitions.easing.None.easeNone});
_local2.addEventListener("allTransitionsInDone", ascs.util.ListenerFunction.enableMovieClip);
evt.target.enabled = false;
var _local3 = new mx.transitions.TransitionManager(evt.target);
_local3.startTransition({type:mx.transitions.Fade, direction:mx.transitions.Transition.OUT, duration:1, easing:mx.transitions.easing.None.easeNone});
_local3.addEventListener("allTransitionsOutDone", ascs.util.ListenerFunction.hideMovieClip);
dispatchEvent({type:"select03Released"});
}
function select04Released(evt) {
if (isEventListenerEmpty("select04Released")) {
return(undefined);
}
evt.target.enabled = false;
var _local2 = new mx.transitions.TransitionManager(evt.target);
_local2.startTransition({type:mx.transitions.Fade, direction:mx.transitions.Transition.OUT, duration:1, easing:mx.transitions.easing.None.easeNone});
_local2.addEventListener("allTransitionsOutDone", ascs.util.ListenerFunction.hideMovieClip);
dispatchEvent({type:"select04Released"});
}
function next01Released(evt) {
for (var _local2 in this) {
if (this[_local2] instanceof MovieClip) {
this[_local2].enabled = false;
}
}
onMouseUp = null;
var _local3 = new mx.transitions.TransitionManager(this);
_local3.startTransition({type:mx.transitions.PixelDissolve, direction:mx.transitions.Transition.OUT, duration:PIXEL_DISSOLVE_DURATION, easing:mx.transitions.easing.None.easeNone, xSections:10, ySections:10});
_local3.addEventListener("allTransitionsOutDone", mx.utils.Delegate.create(this, changeToR003));
dispatchEvent({type:"next01Released"});
}
function next02Released(evt) {
for (var _local2 in this) {
if (this[_local2] instanceof MovieClip) {
this[_local2].enabled = false;
}
}
onMouseUp = null;
var _local3 = new mx.transitions.TransitionManager(this);
_local3.startTransition({type:mx.transitions.PixelDissolve, direction:mx.transitions.Transition.OUT, duration:PIXEL_DISSOLVE_DURATION, easing:mx.transitions.easing.None.easeNone, xSections:10, ySections:10});
_local3.addEventListener("allTransitionsOutDone", mx.utils.Delegate.create(this, changeToR004A));
dispatchEvent({type:"next02Released"});
}
function next03Released(evt) {
for (var _local2 in this) {
if (this[_local2] instanceof MovieClip) {
this[_local2].enabled = false;
}
}
onMouseUp = null;
var _local3 = new mx.transitions.TransitionManager(this);
_local3.startTransition({type:mx.transitions.PixelDissolve, direction:mx.transitions.Transition.OUT, duration:PIXEL_DISSOLVE_DURATION, easing:mx.transitions.easing.None.easeNone, xSections:10, ySections:10});
_local3.addEventListener("allTransitionsOutDone", mx.utils.Delegate.create(this, changeToR004B));
dispatchEvent({type:"next03Released"});
}
function next04Released(evt) {
for (var _local2 in this) {
if (this[_local2] instanceof MovieClip) {
this[_local2].enabled = false;
}
}
onMouseUp = null;
var _local3 = new mx.transitions.TransitionManager(this);
_local3.startTransition({type:mx.transitions.PixelDissolve, direction:mx.transitions.Transition.OUT, duration:PIXEL_DISSOLVE_DURATION, easing:mx.transitions.easing.None.easeNone, xSections:10, ySections:10});
_local3.addEventListener("allTransitionsOutDone", mx.utils.Delegate.create(this, changeToR004C));
dispatchEvent({type:"next04Released"});
}
function beginR002(evt) {
r02_h01.enabled = true;
r02_h02.enabled = true;
r02_h03.enabled = true;
r02_h05.enabled = true;
onMouseUp = mouseReleased;
ic01.enabled = true;
if (sel03.isSelected()) {
ic02.enabled = true;
} else {
sel03.enabled = true;
}
}
function changeToR003(evt) {
unloadMovie();
var _local3 = new MovieClipLoader();
_local3.loadClip("/reina/R003.swf", _root);
}
function changeToR004A(evt) {
unloadMovie();
var _local3 = sceneFlow_.getContext();
_local3.data.isA = true;
_local3.data.isB = false;
_local3.data.isC = false;
_local3.data.isD = false;
var _local4 = new MovieClipLoader();
_local4.loadClip("/reina/R004.swf", _root);
}
function changeToR004B(evt) {
unloadMovie();
var _local3 = sceneFlow_.getContext();
_local3.data.isA = false;
_local3.data.isB = true;
_local3.data.isC = false;
_local3.data.isD = false;
var _local4 = new MovieClipLoader();
_local4.loadClip("/reina/R004.swf", _root);
}
function changeToR004C(evt) {
unloadMovie();
var _local3 = sceneFlow_.getContext();
_local3.data.isA = false;
_local3.data.isB = false;
_local3.data.isC = true;
_local3.data.isD = false;
var _local4 = new MovieClipLoader();
_local4.loadClip("/reina/R004.swf", _root);
}
function yellStarted(evt) {
yell_ = evt.target;
}
function gaspStarted(evt) {
if (yell_ != null) {
yell_.stop();
}
gasp_ = evt.target;
}
static var LINKAGE_ID = "__Packages.tf.scene.R002";
static var CONSTRUCTOR = tf.scene.R002;
static var IS_REGISTERED = Object.registerClass(LINKAGE_ID, CONSTRUCTOR);
static var PIXEL_DISSOLVE_DURATION = 1.5;
static var SHOW_SELECT04_HIT_COUNT = 5;
static var GASP_POSITION_RATIO = 0.7;
}
Symbol 373 MovieClip [__Packages.ascs.ctrl.ButtonGroup] Frame 0
class ascs.ctrl.ButtonGroup
{
var buttons_, ignores_;
function ButtonGroup () {
buttons_ = new mx.utils.CollectionImpl();
ignores_ = new mx.utils.CollectionImpl();
}
function toString() {
return("[ButtonGroup]");
}
function addButton(btn) {
btn.addEventListener("onRelease", this);
buttons_.addItem(btn);
}
function removeButton(btn) {
btn.removeEventListener("onRelease", this);
buttons_.removeItem(btn);
}
function getButtons() {
return(buttons_);
}
function onRelease(evt) {
ignores_.addItem(evt.target);
var _local3 = buttons_.getIterator();
while (_local3.hasNext()) {
var _local2 = ascs.ctrl.ToggleButton(_local3.next());
if (!ignores_.contains(_local2)) {
if (_local2.isSelected()) {
_local2.doClick();
}
}
}
ignores_.removeItem(evt.target);
}
}
Symbol 374 MovieClip [__Packages.mx.utils.Collection] Frame 0
interface mx.utils.Collection
{
}
Symbol 375 MovieClip [__Packages.mx.utils.Iterator] Frame 0
interface mx.utils.Iterator
{
}
Symbol 376 MovieClip [__Packages.mx.utils.CollectionImpl] Frame 0
class mx.utils.CollectionImpl extends Object implements mx.utils.Collection
{
var _items;
function CollectionImpl () {
super();
_items = new Array();
}
function addItem(item) {
var _local2 = false;
if (item != null) {
_items.push(item);
_local2 = true;
}
return(_local2);
}
function clear() {
_items = new Array();
}
function contains(item) {
return(internalGetItem(item) > -1);
}
function getItemAt(index) {
return(_items[index]);
}
function getIterator() {
return(new mx.utils.IteratorImpl(this));
}
function getLength() {
return(_items.length);
}
function isEmpty() {
return(_items.length == 0);
}
function removeItem(item) {
var _local2 = false;
var _local3 = internalGetItem(item);
if (_local3 > -1) {
_items.splice(_local3, 1);
_local2 = true;
}
return(_local2);
}
function internalGetItem(item) {
var _local3 = -1;
var _local2 = 0;
while (_local2 < _items.length) {
if (_items[_local2] == item) {
_local3 = _local2;
break;
}
_local2++;
}
return(_local3);
}
}
Symbol 377 MovieClip [__Packages.mx.utils.IteratorImpl] Frame 0
class mx.utils.IteratorImpl implements mx.utils.Iterator
{
var _collection, _cursor;
function IteratorImpl (coll) {
_collection = coll;
_cursor = 0;
}
function hasNext() {
return(_cursor < _collection.getLength());
}
function next() {
return(_collection.getItemAt(_cursor++));
}
}
Symbol 378 MovieClip [__Packages.ascs.ctrl.PushButton] Frame 0
class ascs.ctrl.PushButton extends MovieClip
{
var isSelected_, dispatchEvent;
function PushButton () {
super();
ascs.util.EventLauncher.initialize(this);
isSelected_ = false;
}
function toString() {
return("[PushButton]");
}
function onPress() {
dispatchEvent({type:"onPress"});
}
function onRelease() {
isSelected_ = true;
dispatchEvent({type:"onRelease"});
isSelected_ = false;
}
function onReleaseOutside() {
dispatchEvent({type:"onReleaseOutside"});
}
function onRollOut() {
dispatchEvent({type:"onRollOut"});
}
function onRollOver() {
dispatchEvent({type:"onRollOver"});
}
function doClick() {
onRollOver();
onPress();
onRelease();
}
function isSelected() {
return(isSelected_);
}
}
Symbol 379 MovieClip [__Packages.ascs.util.EventLauncher] Frame 0
class ascs.util.EventLauncher
{
function EventLauncher () {
}
static function initialize(obj) {
mx.events.EventDispatcher.initialize(obj);
if (instance__ == null) {
instance__ = new ascs.util.EventLauncher();
}
obj.isEventListenerEmpty = instance__.isEventListenerEmpty;
obj.getEventListenerLength = instance__.getEventListenerLength;
obj.getEventListeners = instance__.getEventListeners;
}
function isEventListenerEmpty(evtTyp) {
return(getEventListenerLength(evtTyp) == 0);
}
function getEventListenerLength(evtTyp) {
return(((this["__q_" + evtTyp] == null) ? 0 : (this["__q_" + evtTyp].length)));
}
function getEventListeners(evtTyp) {
return(this["__q_" + evtTyp]);
}
static var instance__ = null;
}
Symbol 380 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent != undefined) {
_local1.handleEvent(eventObj);
}
if (_local1[eventObj.type] != undefined) {
if (exceptions[eventObj.type] == undefined) {
_local1[eventObj.type](eventObj);
}
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
static var exceptions = {move:1, draw:1, load:1};
}
Symbol 381 MovieClip [__Packages.ascs.ctrl.ToggleButton] Frame 0
class ascs.ctrl.ToggleButton extends ascs.ctrl.PushButton
{
var isSelected_, gotoAndStop, dispatchEvent;
function ToggleButton () {
super();
}
function toString() {
return("[ToggleButton]");
}
function onLoad() {
if (!isSelected_) {
(gotoAndStop("up"));// not popped
} else {
(gotoAndStop("down"));// not popped
}
}
function onPress() {
(gotoAndStop("down"));// not popped
dispatchEvent({type:"onPress"});
}
function onRelease() {
isSelected_ = !isSelected_;
if (!isSelected_) {
(gotoAndStop("up_over"));// not popped
} else {
(gotoAndStop("down_over"));// not popped
}
dispatchEvent({type:"onRelease"});
}
function onReleaseOutside() {
if (!isSelected_) {
(gotoAndStop("up"));// not popped
} else {
(gotoAndStop("down"));// not popped
}
dispatchEvent({type:"onReleaseOutside"});
}
function onRollOut() {
if (!isSelected_) {
(gotoAndStop("up"));// not popped
} else {
(gotoAndStop("down"));// not popped
}
dispatchEvent({type:"onRollOut"});
}
function onRollOver() {
if (!isSelected_) {
(gotoAndStop("up_over"));// not popped
} else {
(gotoAndStop("down_over"));// not popped
}
dispatchEvent({type:"onRollOver"});
}
}
Symbol 382 MovieClip [__Packages.ascs.media.SoundClip] Frame 0
class ascs.media.SoundClip
{
var target_, sound_, linkageID_, secondOffset_, loop_, isPlaying_, dispatchEvent;
function SoundClip (id) {
mx.transitions.OnEnterFrameBeacon.init();
ascs.util.EventLauncher.initialize(this);
var _local3 = _root.getNextHighestDepth();
var _local4 = ("sound_" + _local3) + "_mc";
target_ = _root.createEmptyMovieClip(_local4, _local3);
sound_ = new Sound(target_);
sound_.attachSound((linkageID_ = id));
secondOffset_ = 0;
loop_ = 0;
isPlaying_ = false;
}
function toString() {
return("[SoundClip]");
}
function removeSoundClip() {
stop();
target_.removeMovieClip();
}
function getLinkageID() {
return(linkageID_);
}
function setVolume(vol) {
sound_.setVolume(vol);
}
function getVolume() {
return(sound_.getVolume());
}
function setPan(bal) {
sound_.setPan(bal);
}
function getPan() {
return(sound_.getPan());
}
function setTransform(trans) {
sound_.setTransform(trans);
}
function getTransform() {
return(sound_.getTransform());
}
function getDuration() {
return(((sound_ == null) ? 0 : (sound_.duration)));
}
function setPosition(offset) {
if (offset < 0) {
offset = 0;
} else if (offset > sound_.duration) {
offset = sound_.duration;
}
secondOffset_ = offset;
if (isPlaying()) {
sound_.start(secondOffset_);
}
}
function getPosition() {
return(((sound_ == null) ? 0 : (sound_.position)));
}
function getPositionRatio() {
return(getPosition() / getDuration());
}
function isPlaying() {
return(isPlaying_);
}
function start(lp) {
if (!isPlaying()) {
if (sound_.onSoundComplete == null) {
sound_.onSoundComplete = mx.utils.Delegate.create(this, soundclipCompleted);
}
if (sound_.position == sound_.duration) {
secondOffset_ = 0;
}
if (lp > 0) {
loop_ = lp;
}
sound_.start(secondOffset_);
isPlaying_ = true;
MovieClip.addListener(this);
dispatchEvent({type:"soundclipStarted"});
}
}
function pause() {
if (isPlaying()) {
sound_.stop(linkageID_);
secondOffset_ = sound_.position;
isPlaying_ = false;
MovieClip.removeListener(this);
dispatchEvent({type:"soundclipPaused"});
}
}
function stop() {
if (isPlaying()) {
sound_.stop(linkageID_);
secondOffset_ = 0;
isPlaying_ = false;
MovieClip.removeListener(this);
dispatchEvent({type:"soundclipStopped"});
}
}
function onEnterFrame() {
dispatchEvent({type:"soundclipProgressed"});
}
function soundclipCompleted() {
if (loop_ == 0) {
isPlaying_ = false;
MovieClip.removeListener(this);
dispatchEvent({type:"soundclipCompleted"});
} else {
loop_--;
sound_.start();
}
}
}
Symbol 383 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 384 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 385 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = arguments.callee.func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 386 MovieClip [__Packages.mx.transitions.TransitionManager] Frame 0
class mx.transitions.TransitionManager
{
var _transitions, removeEventListener, _content, addEventListener, _contentAppearance, _innerBounds, _outerBounds, _width, _height, _triggerEvent, dispatchEvent;
function TransitionManager (content) {
this.content = (content);
_transitions = {};
}
function set content(c) {
removeEventListener("allTransitionsInDone", _content);
removeEventListener("allTransitionsOutDone", _content);
_content = c;
saveContentAppearance();
addEventListener("allTransitionsInDone", _content);
addEventListener("allTransitionsOutDone", _content);
//return(content);
}
function get content() {
return(_content);
}
function get transitionsList() {
return(_transitions);
}
function get numTransitions() {
var _local2 = 0;
for (var _local3 in _transitions) {
_local2++;
}
return(_local2);
}
function get numInTransitions() {
var _local3 = 0;
var _local2 = _transitions;
for (var _local4 in _local2) {
if (!_local2[_local4].direction) {
_local3++;
}
}
return(_local3);
}
function get numOutTransitions() {
var _local3 = 0;
var _local2 = _transitions;
for (var _local4 in _local2) {
if (_local2[_local4].direction) {
_local3++;
}
}
return(_local3);
}
function get contentAppearance() {
return(_contentAppearance);
}
static function start(content, transParams) {
if (content.__transitionManager == undefined) {
content.__transitionManager = new mx.transitions.TransitionManager(content);
}
if (transParams.direction == 1) {
content.__transitionManager._triggerEvent = "hide";
} else {
content.__transitionManager._triggerEvent = "reveal";
}
return(content.__transitionManager.startTransition(transParams));
}
function startTransition(transParams) {
removeTransition(findTransition(transParams));
var _local3 = transParams.type;
var _local2 = new _local3[undefined](_content, transParams, this);
addTransition(_local2);
_local2.start();
return(_local2);
}
function addTransition(trans) {
trans.ID = ++IDCount;
_transitions[trans.ID] = trans;
return(trans);
}
function removeTransition(trans) {
if (_transitions[trans.ID] == undefined) {
return(false);
}
trans.cleanUp();
return(delete _transitions[trans.ID]);
}
function findTransition(transParams) {
var _local2;
for (var _local4 in _transitions) {
_local2 = _transitions[_local4];
if (_local2.type == transParams.type) {
return(_local2);
}
}
return(undefined);
}
function removeAllTransitions() {
for (var _local2 in _transitions) {
_transitions[_local2].cleanUp();
removeTransition(_transitions[_local2]);
}
}
function saveContentAppearance() {
var _local2 = _content;
if (_contentAppearance == undefined) {
var _local3 = (_contentAppearance = {});
for (var _local4 in _visualPropList) {
_local3[_local4] = _local2[_local4];
}
_local3.colorTransform = new Color(_local2).getTransform();
}
_innerBounds = _local2.getBounds(targetPath(_local2));
_outerBounds = _local2.getBounds(targetPath(_local2._parent));
_width = _local2._width;
_height = _local2._height;
}
function restoreContentAppearance() {
var _local2 = _content;
var _local3 = _contentAppearance;
for (var _local4 in _visualPropList) {
_local2[_local4] = _local3[_local4];
}
new Color(_local2).setTransform(_local3.colorTransform);
}
function transitionInDone(e) {
removeTransition(e.target);
if (numInTransitions == 0) {
var _local2;
_local2 = _content._visible;
if ((_triggerEvent == "hide") || (_triggerEvent == "hideChild")) {
_content._visible = false;
}
if (_local2) {
dispatchEvent({type:"allTransitionsInDone", target:this});
}
}
}
function transitionOutDone(e) {
removeTransition(e.target);
if (numOutTransitions == 0) {
restoreContentAppearance();
var _local2;
_local2 = _content._visible;
if (_local2 && ((_triggerEvent == "hide") || (_triggerEvent == "hideChild"))) {
_content._visible = false;
}
updateAfterEvent();
if (_local2) {
dispatchEvent({type:"allTransitionsOutDone", target:this});
}
}
}
function toString() {
return("[TransitionManager]");
}
static var version = "1.1.0.52";
static var IDCount = 0;
var type = mx.transitions.TransitionManager;
var className = "TransitionManager";
var _visualPropList = {_x:null, _y:null, _xscale:null, _yscale:null, _alpha:null, _rotation:null};
static var __mixinFED = mx.events.EventDispatcher.initialize(mx.transitions.TransitionManager.prototype);
}
Symbol 387 MovieClip [__Packages.mx.transitions.Transition] Frame 0
class mx.transitions.Transition
{
var _manager, removeEventListener, addEventListener, _content, _twn, _easing, _progress, dispatchEvent, _innerBounds, _outerBounds, _width, _height;
function Transition (content, transParams, manager) {
if (!arguments.length) {
return;
}
init(content, transParams, manager);
}
function set manager(mgr) {
if (_manager != undefined) {
removeEventListener("transitionInDone", _manager);
removeEventListener("transitionOutDone", _manager);
removeEventListener("transitionProgress", _manager);
}
_manager = mgr;
addEventListener("transitionInDone", _manager);
addEventListener("transitionOutDone", _manager);
addEventListener("transitionProgress", _manager);
//return(manager);
}
function get manager() {
return(_manager);
}
function set content(c) {
if (typeof(c) == "movieclip") {
_content = c;
_twn.obj = c;
}
//return(content);
}
function get content() {
return(_content);
}
function set direction(direction) {
_direction = (direction ? 1 : 0);
//return(this.direction);
}
function get direction() {
return(_direction);
}
function set duration(d) {
if (d) {
_duration = d;
_twn.duration = d;
}
//return(duration);
}
function get duration() {
return(_duration);
}
function set easing(e) {
if (typeof(e) == "string") {
e = eval (e);
} else if (e == undefined) {
e = _noEase;
}
_easing = e;
_twn.easing = e;
//return(easing);
}
function get easing() {
return(_easing);
}
function set progress(p) {
if (_progress == p) {
return;
}
_progress = p;
if (_direction) {
_render(1 - p);
} else {
_render(p);
}
dispatchEvent({type:"transitionProgress", target:this, progress:p});
//return(progress);
}
function get progress() {
return(_progress);
}
function init(content, transParams, manager) {
this.content = (content);
direction = (transParams.direction);
duration = (transParams.duration);
easing = (transParams.easing);
this.manager = (manager);
_innerBounds = this.manager._innerBounds;
_outerBounds = this.manager._outerBounds;
_width = this.manager._width;
_height = this.manager._height;
_resetTween();
}
function toString() {
return(("[Transition " + className) + "]");
}
function start() {
content._visible = true;
_twn.start();
}
function stop() {
_twn.fforward();
_twn.stop();
}
function cleanUp() {
removeEventListener("transitionInDone", _manager);
removeEventListener("transitionOutDone", _manager);
removeEventListener("transitionProgress", _manager);
stop();
}
function getNextHighestDepthMC(mc) {
var _local4 = mc.getNextHighestDepth();
if (_local4 != undefined) {
return(_local4);
}
_local4 = -1;
var _local3;
var _local1;
for (var _local5 in mc) {
_local1 = mc[_local5];
if ((typeof(_local1) == "movieclip") && (_local1._parent == mc)) {
_local3 = _local1.getDepth();
if (_local3 > _local4) {
_local4 = _local3;
}
}
}
return(_local4 + 1);
}
function drawBox(mc, x, y, w, h) {
mc.moveTo(x, y);
mc.lineTo(x + w, y);
mc.lineTo(x + w, y + h);
mc.lineTo(x, y + h);
mc.lineTo(x, y);
}
function drawCircle(mc, x, y, r) {
mc.moveTo(x + r, y);
mc.curveTo(r + x, (0.414213562373095 * r) + y, (0.707106781186547 * r) + x, (0.707106781186547 * r) + y);
mc.curveTo((0.414213562373095 * r) + x, r + y, x, r + y);
mc.curveTo((-0.414213562373095 * r) + x, r + y, (-0.707106781186547 * r) + x, (0.707106781186547 * r) + y);
mc.curveTo((-r) + x, (0.414213562373095 * r) + y, (-r) + x, y);
mc.curveTo((-r) + x, (-0.414213562373095 * r) + y, (-0.707106781186547 * r) + x, (-0.707106781186547 * r) + y);
mc.curveTo((-0.414213562373095 * r) + x, (-r) + y, x, (-r) + y);
mc.curveTo((0.414213562373095 * r) + x, (-r) + y, (0.707106781186547 * r) + x, (-0.707106781186547 * r) + y);
mc.curveTo(r + x, (-0.414213562373095 * r) + y, r + x, y);
}
function _render(p) {
}
function _resetTween() {
_twn.stop();
_twn.removeListener(this);
_twn = new mx.transitions.Tween(this, null, easing, 0, 1, duration, true);
_twn.stop();
_twn.prop = "progress";
_twn.addListener(this);
}
function _noEase(t, b, c, d) {
return(((c * t) / d) + b);
}
function onMotionFinished(src) {
if (direction) {
dispatchEvent({type:"transitionOutDone", target:this});
} else {
dispatchEvent({type:"transitionInDone", target:this});
}
}
static var version = "1.1.0.52";
static var IN = 0;
static var OUT = 1;
var type = mx.transitions.Transition;
var className = "Transition";
var _direction = 0;
var _duration = 2;
static var __mixinFED = mx.events.EventDispatcher.initialize(mx.transitions.Transition.prototype);
}
Symbol 388 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 389 MovieClip [__Packages.mx.transitions.PixelDissolve] Frame 0
class mx.transitions.PixelDissolve extends mx.transitions.Transition
{
var _numSections, _indices, _content, _mask, getNextHighestDepthMC, __get__direction, _innerMask, drawBox, _innerBounds;
function PixelDissolve (content, transParams, manager) {
super();
init(content, transParams, manager);
}
function init(content, transParams, manager) {
super.init(content, transParams, manager);
if (transParams.xSections) {
_xSections = transParams.xSections;
}
if (transParams.ySections) {
_ySections = transParams.ySections;
}
_numSections = _xSections * _ySections;
_indices = new Array();
var _local3 = _ySections;
while (_local3--) {
var _local4 = _xSections;
while (_local4--) {
_indices[(_local3 * _xSections) + _local4] = {x:_local4, y:_local3};
}
}
_shuffleArray(_indices);
_initMask();
}
function start() {
_content.setMask(_mask);
super.start();
}
function cleanUp() {
_mask.removeMovieClip();
super.cleanUp();
}
function _initMask() {
var _local5 = _content;
var _local6 = getNextHighestDepthMC(_local5);
var _local3 = (_mask = _local5.createEmptyMovieClip("__mask_PixelDissolve_" + __get__direction(), _local6));
_local3._visible = false;
var _local4 = (_innerMask = _mask.createEmptyMovieClip("innerMask", 0));
_local4.beginFill(16711680);
drawBox(_local4, 0, 0, 100, 100);
_local4.endFill();
var _local2 = _innerBounds;
_local3._x = _local2.xMin;
_local3._y = _local2.yMin;
_local3._width = _local2.xMax - _local2.xMin;
_local3._height = _local2.yMax - _local2.yMin;
}
function _shuffleArray(a) {
var _local1 = a.length - 1;
while (_local1 > 0) {
var _local3 = random(_local1 + 1);
if (_local3 == _local1) {
} else {
var _local4 = a[_local1];
a[_local1] = a[_local3];
a[_local3] = _local4;
}
_local1--;
}
}
function _render(p) {
if (p < 0) {
p = 0;
}
if (p > 1) {
p = 1;
}
var _local5 = 100 / _xSections;
var _local4 = 100 / _ySections;
var _local3 = _indices;
var _local6 = _innerMask;
_local6.clear();
_local6.beginFill(16711680);
var _local2 = Math.floor(p * _numSections);
while (_local2--) {
drawBox(_local6, _local3[_local2].x * _local5, _local3[_local2].y * _local4, _local5, _local4);
}
_local6.endFill();
}
static var version = "1.1.0.52";
var type = mx.transitions.PixelDissolve;
var className = "PixelDissolve";
var _xSections = 10;
var _ySections = 10;
}
Symbol 390 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None
{
function None () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static var version = "1.1.0.52";
}
Symbol 391 MovieClip [__Packages.mx.transitions.Fade] Frame 0
class mx.transitions.Fade extends mx.transitions.Transition
{
var _alphaFinal, __get__manager, _content;
function Fade (content, transParams, manager) {
super();
init(content, transParams, manager);
}
function init(content, transParams, manager) {
super.init(content, transParams, manager);
_alphaFinal = __get__manager().__get__contentAppearance()._alpha;
}
function _render(p) {
_content._alpha = _alphaFinal * p;
}
static var version = "1.1.0.52";
var type = mx.transitions.Fade;
var className = "Fade";
}
Symbol 392 MovieClip [__Packages.ascs.util.ListenerFunction] Frame 0
class ascs.util.ListenerFunction
{
function ListenerFunction () {
}
static function enableMovieClip(evt) {
if (evt.target instanceof MovieClip) {
evt.target.enabled = true;
} else if (evt.target instanceof mx.transitions.TransitionManager) {
evt.target.content.enabled = true;
}
evt.target.removeEventListener(evt.type, arguments.callee);
}
static function hideMovieClip(evt) {
if (evt.target instanceof MovieClip) {
evt.target._visible = false;
} else if (evt.target instanceof mx.transitions.TransitionManager) {
evt.target.content._visible = false;
}
evt.target.removeEventListener(evt.type, arguments.callee);
}
static function removeMovieClip(evt) {
if (evt.target instanceof MovieClip) {
evt.target.removeMovieClip();
} else if (evt.target instanceof mx.transitions.TransitionManager) {
evt.target.content.removeMovieClip();
evt.target.removeEventListener(evt.type, arguments.callee);
}
}
}
Symbol 393 MovieClip [__Packages.mx.transitions.easing.Back] Frame 0
class mx.transitions.easing.Back
{
function Back () {
}
static function easeIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 394 MovieClip [__Packages.tf.entity.reina.R02B_03_Change_04] Frame 0
class tf.entity.reina.R02B_03_Change_04 extends MovieClip
{
var hitCount_, _parent, intervalID_, stop, play, onEnterFrame, getDepth, _totalframes, _currentframe;
function R02B_03_Change_04 () {
super();
hitCount_ = 0;
}
function onLoad() {
_parent.addEventListener("r02_h02Released", this);
intervalID_ = setInterval(this, "resist", RESIT_TIME);
stop();
}
function r02_h02Released(evt) {
hitCount_++;
if (hitCount_ == RESIST_COUNT) {
_parent.removeEventListener("r02_h02Released", this);
clearInterval(intervalID_);
var _local2 = LEFT_ARM_OPENED_PLEASURE;
if ((_parent.mtr.getValue() + _local2) >= _parent.mtr.getLimit()) {
_local2 = (_parent.mtr.getLimit() - 1) - _parent.mtr.getValue();
}
_parent.mtr.increase(_local2);
if (!_parent.isGaspPlaying()) {
_parent.rv_026.start();
}
play();
onEnterFrame = transitionToR02B_04;
}
}
function resist() {
_parent.removeEventListener("r02_h02Released", this);
clearInterval(intervalID_);
_parent.attachMovie("R02B_03", "reina", getDepth());
}
function transitionToR02B_04() {
if (_currentframe == _totalframes) {
_parent.r02_h02.removeMovieClip();
_parent.r02_h04.enabled = true;
_parent.attachMovie("R02B_04", "reina", getDepth());
}
}
static var RESIT_TIME = 1000;
static var RESIST_COUNT = 4;
static var LEFT_ARM_OPENED_PLEASURE = 15;
}
Symbol 395 MovieClip [__Packages.tf.entity.reina.R02B_03] Frame 0
class tf.entity.reina.R02B_03 extends MovieClip
{
var _parent, intervalID_, attachMovie, getNextHighestDepth, getDepth, _totalframes, _currentframe, onEnterFrame, onMouseUp, rv_023, rv_022;
function R02B_03 () {
super();
}
function onLoad() {
_parent.addEventListener("r02_h02Released", this);
_parent.addEventListener("r02_h03Released", this);
_parent.mtr.addEventListener("sexobjectOrgasmed", this);
_parent.mtr.addEventListener("meterIncreasedAtLow", this);
_parent.mtr.addEventListener("meterIncreasedAtMiddle", this);
_parent.mtr.addEventListener("meterIncreasedAtHigh", this);
_parent.addEventListener("select03Released", this);
_parent.addEventListener("next01Released", this);
_parent.addEventListener("next02Released", this);
intervalID_ = setInterval(this, "yell", YELL_INTERVAL);
attachMovie("R02_Eye01", "reina_eye", getNextHighestDepth());
}
function onUnload() {
_parent.removeEventListener("r02_h02Released", this);
_parent.removeEventListener("r02_h03Released", this);
_parent.mtr.removeEventListener("sexobjectOrgasmed", this);
_parent.mtr.removeEventListener("meterIncreasedAtLow", this);
_parent.mtr.removeEventListener("meterIncreasedAtMiddle", this);
_parent.mtr.removeEventListener("meterIncreasedAtHigh", this);
_parent.removeEventListener("select03Released", this);
_parent.removeEventListener("next01Released", this);
_parent.removeEventListener("next02Released", this);
clearInterval(intervalID_);
}
function r02_h02Released(evt) {
_parent.attachMovie("R02B_03_Change_04", "reina", getDepth());
}
function r02_h03Released(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02B_03_React01", "reina", getDepth(), {onEnterFrame:returnToR02B_03});
break;
case 1 :
_parent.attachMovie("R02B_03_React02", "reina", getDepth(), {onEnterFrame:returnToR02B_03});
}
}
function sexobjectOrgasmed(evt) {
_parent.yellStop();
_parent.gaspStop();
var _local2 = transitionToR02B_03;
var _local3 = _parent.attachMovie("R02B_03_Ecstasy01", "reina", getDepth(), {onEnterFrame:transitionToR02B_03_Ecstasy02});
_local3.transitionToR02B_03 = _local2;
}
function meterIncreasedAtLow(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_024);
_local3.push(_parent.rv_025);
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_031);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function meterIncreasedAtMiddle(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_026);
_local3.push(_parent.rv_027);
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_032);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function meterIncreasedAtHigh(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_028);
_local3.push(_parent.rv_029);
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_033);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function select03Released(evt) {
var _local2 = SELECT03_RELEASED_PLEASURE;
if ((_parent.mtr.getValue() + _local2) >= _parent.mtr.getLimit()) {
_local2 = (_parent.mtr.getLimit() - 1) - _parent.mtr.getValue();
}
_parent.mtr.increase(_local2);
_parent.gaspStop();
_parent.rv_010.start();
_parent.attachMovie("R02A_03", "reina", getDepth());
}
function next01Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function next02Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function returnToR02B_03() {
if (_currentframe == _totalframes) {
_parent.attachMovie("R02B_03", "reina", getDepth());
}
}
function transitionToR02B_03_Ecstasy02() {
if (_currentframe == _totalframes) {
onEnterFrame = null;
onMouseUp = function () {
this._parent.mtr.zero();
this._parent.attachMovie("R02B_03_Ecstasy02", "reina", this.getDepth(), {onEnterFrame:this.transitionToR02B_03});
};
}
}
function transitionToR02B_03() {
if (_currentframe == _totalframes) {
onEnterFrame = null;
onMouseUp = function () {
this._parent.showNext02();
this._parent.attachMovie("R02B_03", "reina", this.getDepth());
};
}
}
function yell() {
if ((!_parent.isYellPlaying()) && (!_parent.isGaspPlaying())) {
((Math.round(Math.random()) == 0) ? (rv_022.start()) : (rv_023.start()));
}
}
static var EROGENOUS_ZONE_RELEASED_PLEASURE = 2;
static var SELECT03_RELEASED_PLEASURE = 15;
static var YELL_INTERVAL = 10000;
}
Symbol 396 MovieClip [__Packages.tf.entity.reina.R02B_02_Change_04] Frame 0
class tf.entity.reina.R02B_02_Change_04 extends MovieClip
{
var hitCount_, _parent, intervalID_, stop, play, onEnterFrame, getDepth, _totalframes, _currentframe;
function R02B_02_Change_04 () {
super();
hitCount_ = 0;
}
function onLoad() {
_parent.addEventListener("r02_h01Released", this);
intervalID_ = setInterval(this, "resist", RESIT_TIME);
stop();
}
function r02_h01Released(evt) {
hitCount_++;
if (hitCount_ == RESIST_COUNT) {
_parent.removeEventListener("r02_h01Released", this);
clearInterval(intervalID_);
var _local2 = RIGHT_ARM_OPENED_PLEASURE;
if ((_parent.mtr.getValue() + _local2) >= _parent.mtr.getLimit()) {
_local2 = (_parent.mtr.getLimit() - 1) - _parent.mtr.getValue();
}
_parent.mtr.increase(_local2);
if (!_parent.isGaspPlaying()) {
_parent.rv_026.start();
}
play();
onEnterFrame = transitionToR02B_04;
}
}
function resist() {
_parent.removeEventListener("r02_h01Released", this);
clearInterval(intervalID_);
_parent.attachMovie("R02B_02", "reina", getDepth());
}
function transitionToR02B_04() {
if (_currentframe == _totalframes) {
_parent.r02_h01.removeMovieClip();
_parent.attachMovie("R02B_04", "reina", getDepth());
}
}
static var RESIT_TIME = 1000;
static var RESIST_COUNT = 4;
static var RIGHT_ARM_OPENED_PLEASURE = 15;
}
Symbol 397 MovieClip [__Packages.tf.entity.reina.R02B_02] Frame 0
class tf.entity.reina.R02B_02 extends MovieClip
{
var _parent, intervalID_, attachMovie, getNextHighestDepth, getDepth, _totalframes, _currentframe, onEnterFrame, onMouseUp, rv_023, rv_022;
function R02B_02 () {
super();
}
function onLoad() {
_parent.addEventListener("r02_h01Released", this);
_parent.addEventListener("r02_h03Released", this);
_parent.addEventListener("r02_h04Released", this);
_parent.addEventListener("r02_h05Released", this);
_parent.mtr.addEventListener("sexobjectOrgasmed", this);
_parent.mtr.addEventListener("meterIncreasedAtLow", this);
_parent.mtr.addEventListener("meterIncreasedAtMiddle", this);
_parent.mtr.addEventListener("meterIncreasedAtHigh", this);
_parent.addEventListener("select03Released", this);
_parent.addEventListener("next01Released", this);
intervalID_ = setInterval(this, "yell", YELL_INTERVAL);
attachMovie("R02_Eye01", "reina_eye", getNextHighestDepth());
}
function onUnload() {
_parent.removeEventListener("r02_h01Released", this);
_parent.removeEventListener("r02_h03Released", this);
_parent.removeEventListener("r02_h04Released", this);
_parent.removeEventListener("r02_h05Released", this);
_parent.mtr.removeEventListener("sexobjectOrgasmed", this);
_parent.mtr.removeEventListener("meterIncreasedAtLow", this);
_parent.mtr.removeEventListener("meterIncreasedAtMiddle", this);
_parent.mtr.removeEventListener("meterIncreasedAtHigh", this);
_parent.removeEventListener("select03Released", this);
_parent.removeEventListener("next01Released", this);
clearInterval(intervalID_);
}
function r02_h01Released(evt) {
_parent.attachMovie("R02B_02_Change_04", "reina", getDepth());
}
function r02_h03Released(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02B_02_React01", "reina", getDepth(), {onEnterFrame:returnToR02B_02});
break;
case 1 :
_parent.attachMovie("R02B_02_React02", "reina", getDepth(), {onEnterFrame:returnToR02B_02});
}
}
function r02_h04Released(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02B_02_Bust_R01", "reina", getDepth(), {onEnterFrame:returnToR02B_02});
break;
case 1 :
_parent.attachMovie("R02B_02_Bust_R02", "reina", getDepth(), {onEnterFrame:returnToR02B_02});
}
}
function r02_h05Released(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02B_02_Bust_L01", "reina", getDepth(), {onEnterFrame:returnToR02B_02});
break;
case 1 :
_parent.attachMovie("R02B_02_Bust_L02", "reina", getDepth(), {onEnterFrame:returnToR02B_02});
}
}
function sexobjectOrgasmed(evt) {
_parent.yellStop();
_parent.gaspStop();
var _local2 = transitionToR02B_02;
var _local3 = _parent.attachMovie("R02B_02_Ecstasy01", "reina", getDepth(), {onEnterFrame:transitionToR02B_02_Ecstasy02});
_local3.transitionToR02B_02 = _local2;
}
function meterIncreasedAtLow(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_024);
_local3.push(_parent.rv_025);
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_031);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function meterIncreasedAtMiddle(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_026);
_local3.push(_parent.rv_027);
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_032);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function meterIncreasedAtHigh(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_028);
_local3.push(_parent.rv_029);
if (_parent.r02_h04.isSelected() || (_parent.r02_h05.isSelected())) {
_local3.push(_parent.rv_030);
}
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_033);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function select03Released(evt) {
var _local2 = SELECT03_RELEASED_PLEASURE;
if ((_parent.mtr.getValue() + _local2) >= _parent.mtr.getLimit()) {
_local2 = (_parent.mtr.getLimit() - 1) - _parent.mtr.getValue();
}
_parent.mtr.increase(_local2);
_parent.gaspStop();
_parent.rv_010.start();
_parent.attachMovie("R02A_02", "reina", getDepth());
}
function next01Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function returnToR02B_02() {
if (_currentframe == _totalframes) {
_parent.attachMovie("R02B_02", "reina", getDepth());
}
}
function transitionToR02B_02_Ecstasy02() {
if (_currentframe == _totalframes) {
onEnterFrame = null;
onMouseUp = function () {
this._parent.mtr.zero();
this._parent.attachMovie("R02B_02_Ecstasy02", "reina", this.getDepth(), {onEnterFrame:this.transitionToR02B_02});
};
}
}
function transitionToR02B_02() {
if (_currentframe == _totalframes) {
onEnterFrame = null;
onMouseUp = function () {
this._parent.showNext01();
this._parent.attachMovie("R02B_02", "reina", this.getDepth());
};
}
}
function yell() {
if ((!_parent.isYellPlaying()) && (!_parent.isGaspPlaying())) {
((Math.round(Math.random()) == 0) ? (rv_022.start()) : (rv_023.start()));
}
}
static var EROGENOUS_ZONE_RELEASED_PLEASURE = 2;
static var SELECT03_RELEASED_PLEASURE = 10;
static var YELL_INTERVAL = 10000;
}
Symbol 398 MovieClip [__Packages.tf.entity.reina.R02B_01_Change_03] Frame 0
class tf.entity.reina.R02B_01_Change_03 extends MovieClip
{
var hitCount_, _parent, intervalID_, stop, play, onEnterFrame, getDepth, _totalframes, _currentframe;
function R02B_01_Change_03 () {
super();
hitCount_ = 0;
}
function onLoad() {
_parent.addEventListener("r02_h01Released", this);
intervalID_ = setInterval(this, "resist", RESIT_TIME);
stop();
}
function r02_h01Released(evt) {
hitCount_++;
if (hitCount_ == RESIST_COUNT) {
_parent.removeEventListener("r02_h01Released", this);
clearInterval(intervalID_);
_parent.mtr.increase(RIGHT_ARM_OPENED_PLEASURE);
if (!_parent.isGaspPlaying()) {
_parent.rv_026.start();
}
play();
onEnterFrame = transitionToR02B_03;
}
}
function resist() {
_parent.removeEventListener("r02_h01Released", this);
clearInterval(intervalID_);
_parent.attachMovie("R02B_01", "reina", getDepth());
}
function transitionToR02B_03() {
if (_currentframe == _totalframes) {
_parent.r02_h01.removeMovieClip();
_parent.attachMovie("R02B_03", "reina", getDepth());
}
}
static var RESIT_TIME = 1000;
static var RESIST_COUNT = 4;
static var RIGHT_ARM_OPENED_PLEASURE = 10;
}
Symbol 399 MovieClip [__Packages.tf.entity.reina.R02B_01_Change_02] Frame 0
class tf.entity.reina.R02B_01_Change_02 extends MovieClip
{
var hitCount_, _parent, intervalID_, stop, play, onEnterFrame, getDepth, _totalframes, _currentframe;
function R02B_01_Change_02 () {
super();
hitCount_ = 0;
}
function onLoad() {
_parent.addEventListener("r02_h02Released", this);
intervalID_ = setInterval(this, "resist", RESIT_TIME);
stop();
}
function r02_h02Released(evt) {
hitCount_++;
if (hitCount_ == RESIST_COUNT) {
_parent.removeEventListener("r02_h02Released", this);
clearInterval(intervalID_);
_parent.mtr.increase(LEFT_ARM_OPENED_PLEASURE);
if (!_parent.isGaspPlaying()) {
_parent.rv_026.start();
}
play();
onEnterFrame = transitionToR02B_02;
}
}
function resist() {
_parent.removeEventListener("r02_h02Released", this);
clearInterval(intervalID_);
_parent.attachMovie("R02B_01", "reina", getDepth());
}
function transitionToR02B_02() {
if (_currentframe == _totalframes) {
_parent.r02_h02.removeMovieClip();
_parent.r02_h04.enabled = true;
_parent.attachMovie("R02B_02", "reina", getDepth());
}
}
static var RESIT_TIME = 1000;
static var RESIST_COUNT = 4;
static var LEFT_ARM_OPENED_PLEASURE = 10;
}
Symbol 400 MovieClip [__Packages.tf.entity.reina.R02B_01] Frame 0
class tf.entity.reina.R02B_01 extends MovieClip
{
var _parent, intervalID_, attachMovie, getNextHighestDepth, getDepth, _totalframes, _currentframe;
function R02B_01 () {
super();
}
function onLoad() {
_parent.addEventListener("r02_h01Released", this);
_parent.addEventListener("r02_h02Released", this);
_parent.addEventListener("r02_h05Released", this);
_parent.addEventListener("select03Released", this);
intervalID_ = setInterval(this, "yell", YELL_INTERVAL);
attachMovie("R02_Eye01", "reina_eye", getNextHighestDepth());
}
function onUnload() {
_parent.removeEventListener("r02_h01Released", this);
_parent.removeEventListener("r02_h02Released", this);
_parent.removeEventListener("r02_h05Released", this);
_parent.removeEventListener("select03Released", this);
clearInterval(intervalID_);
}
function r02_h01Released(evt) {
_parent.attachMovie("R02B_01_Change_03", "reina", getDepth());
}
function r02_h02Released(evt) {
_parent.attachMovie("R02B_01_Change_02", "reina", getDepth());
}
function r02_h05Released(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_024);
_local3.push(_parent.rv_025);
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02B_01_React01", "reina", getDepth(), {onEnterFrame:returnToR02B_01});
break;
case 1 :
_parent.attachMovie("R02B_01_React02", "reina", getDepth(), {onEnterFrame:returnToR02B_01});
}
}
function select03Released(evt) {
_parent.mtr.increase(SELECT03_RELEASED_PLEASURE);
_parent.gaspStop();
_parent.rv_010.start();
_parent.attachMovie("R02A_01", "reina", getDepth());
}
function returnToR02B_01() {
if (_currentframe == _totalframes) {
_parent.attachMovie("R02B_01", "reina", getDepth());
}
}
function yell() {
if ((!_parent.isYellPlaying()) && (!_parent.isGaspPlaying())) {
((Math.round(Math.random()) == 0) ? (_parent.rv_022.start()) : (_parent.rv_023.start()));
}
}
static var SELECT03_RELEASED_PLEASURE = 10;
static var YELL_INTERVAL = 10000;
}
Symbol 401 MovieClip [__Packages.tf.entity.reina.R02A_04] Frame 0
class tf.entity.reina.R02A_04 extends MovieClip
{
var _parent, intervalID_, attachMovie, getNextHighestDepth, getDepth, _totalframes, _currentframe, onEnterFrame, onMouseUp, rv_023, rv_022;
function R02A_04 () {
super();
}
function onLoad() {
_parent.addEventListener("r02_h03Released", this);
_parent.addEventListener("r02_h04Released", this);
_parent.addEventListener("r02_h05Released", this);
_parent.mtr.addEventListener("sexobjectOrgasmed", this);
_parent.mtr.addEventListener("meterIncreasedAtLow", this);
_parent.mtr.addEventListener("meterIncreasedAtMiddle", this);
_parent.mtr.addEventListener("meterIncreasedAtHigh", this);
_parent.addEventListener("next01Released", this);
_parent.addEventListener("next02Released", this);
_parent.addEventListener("next03Released", this);
_parent.addEventListener("next04Released", this);
intervalID_ = setInterval(this, "yell", YELL_INTERVAL);
attachMovie("R02_Eye01", "reina_eye", getNextHighestDepth());
}
function onUnload() {
_parent.removeEventListener("r02_h03Released", this);
_parent.removeEventListener("r02_h04Released", this);
_parent.removeEventListener("r02_h05Released", this);
_parent.mtr.removeEventListener("sexobjectOrgasmed", this);
_parent.mtr.removeEventListener("meterIncreasedAtLow", this);
_parent.mtr.removeEventListener("meterIncreasedAtMiddle", this);
_parent.mtr.removeEventListener("meterIncreasedAtHigh", this);
_parent.removeEventListener("next01Released", this);
_parent.removeEventListener("next02Released", this);
_parent.removeEventListener("next03Released", this);
_parent.removeEventListener("next04Released", this);
clearInterval(intervalID_);
}
function r02_h03Released(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02A_04_React01", "reina", getDepth(), {onEnterFrame:returnToR02A_04});
break;
case 1 :
_parent.attachMovie("R02A_04_React02", "reina", getDepth(), {onEnterFrame:returnToR02A_04});
}
}
function r02_h04Released(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02A_04_Bust_R01", "reina", getDepth(), {onEnterFrame:returnToR02A_04});
break;
case 1 :
_parent.attachMovie("R02A_04_Bust_R02", "reina", getDepth(), {onEnterFrame:returnToR02A_04});
}
}
function r02_h05Released(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02A_04_Bust_L01", "reina", getDepth(), {onEnterFrame:returnToR02A_04});
break;
case 1 :
_parent.attachMovie("R02A_04_Bust_L02", "reina", getDepth(), {onEnterFrame:returnToR02A_04});
}
}
function sexobjectOrgasmed(evt) {
_parent.yellStop();
_parent.gaspStop();
var _local3 = transitionToR02A_04;
var _local2 = _parent.attachMovie("R02A_04_Ecstasy01", "reina", getDepth(), {onEnterFrame:transitionToR02A_04_Ecstasy02});
_local2.transitionToR02A_04 = _local3;
}
function meterIncreasedAtLow(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_024);
_local3.push(_parent.rv_025);
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_031);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function meterIncreasedAtMiddle(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_026);
_local3.push(_parent.rv_027);
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_032);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function meterIncreasedAtHigh(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_028);
_local3.push(_parent.rv_029);
if (_parent.r02_h04.isSelected() || (_parent.r02_h05.isSelected())) {
_local3.push(_parent.rv_030);
}
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_033);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function next01Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function next02Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function next03Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function next04Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function returnToR02A_04() {
if (_currentframe == _totalframes) {
_parent.attachMovie("R02A_04", "reina", getDepth());
}
}
function transitionToR02A_04_Ecstasy02() {
if (_currentframe == _totalframes) {
onEnterFrame = null;
onMouseUp = function () {
this._parent.mtr.zero();
this._parent.attachMovie("R02A_04_Ecstasy02", "reina", this.getDepth(), {onEnterFrame:this.transitionToR02A_04});
};
}
}
function transitionToR02A_04() {
if (_currentframe == _totalframes) {
onEnterFrame = null;
_parent.showNext03();
onMouseUp = function () {
this._parent.attachMovie("R02A_04", "reina", this.getDepth());
};
}
}
function yell() {
if ((!_parent.isYellPlaying()) && (!_parent.isGaspPlaying())) {
((Math.round(Math.random()) == 0) ? (rv_022.start()) : (rv_023.start()));
}
}
static var EROGENOUS_ZONE_RELEASED_PLEASURE = 2;
static var YELL_INTERVAL = 10000;
}
Symbol 402 MovieClip [__Packages.tf.entity.reina.R02A_03_Change_04] Frame 0
class tf.entity.reina.R02A_03_Change_04 extends MovieClip
{
var hitCount_, _parent, intervalID_, stop, play, onEnterFrame, getDepth, _totalframes, _currentframe;
function R02A_03_Change_04 () {
super();
hitCount_ = 0;
}
function onLoad() {
_parent.addEventListener("r02_h02Released", this);
intervalID_ = setInterval(this, "resist", RESIT_TIME);
stop();
}
function r02_h02Released(evt) {
hitCount_++;
if (hitCount_ == RESIST_COUNT) {
_parent.removeEventListener("r02_h02Released", this);
clearInterval(intervalID_);
var _local2 = LEFT_ARM_OPENED_PLEASURE;
if ((_parent.mtr.getValue() + _local2) >= _parent.mtr.getLimit()) {
_local2 = (_parent.mtr.getLimit() - 1) - _parent.mtr.getValue();
}
_parent.mtr.increase(_local2);
if (!_parent.isGaspPlaying()) {
_parent.rv_026.start();
}
play();
onEnterFrame = transitionToR02A_04;
}
}
function resist() {
_parent.removeEventListener("r02_h02Released", this);
clearInterval(intervalID_);
_parent.attachMovie("R02A_03", "reina", getDepth());
}
function transitionToR02A_04() {
if (_currentframe == _totalframes) {
_parent.r02_h02.removeMovieClip();
_parent.r02_h04.enabled = true;
_parent.attachMovie("R02A_04", "reina", getDepth());
}
}
static var RESIT_TIME = 1000;
static var RESIST_COUNT = 4;
static var LEFT_ARM_OPENED_PLEASURE = 15;
}
Symbol 403 MovieClip [__Packages.tf.entity.reina.R02A_03] Frame 0
class tf.entity.reina.R02A_03 extends MovieClip
{
var _parent, intervalID_, attachMovie, getNextHighestDepth, getDepth, _totalframes, _currentframe, onEnterFrame, onMouseUp, rv_023, rv_022;
function R02A_03 () {
super();
}
function onLoad() {
_parent.addEventListener("r02_h02Released", this);
_parent.addEventListener("r02_h03Released", this);
_parent.mtr.addEventListener("sexobjectOrgasmed", this);
_parent.mtr.addEventListener("meterIncreasedAtLow", this);
_parent.mtr.addEventListener("meterIncreasedAtMiddle", this);
_parent.mtr.addEventListener("meterIncreasedAtHigh", this);
_parent.addEventListener("next01Released", this);
_parent.addEventListener("next02Released", this);
_parent.addEventListener("next04Released", this);
intervalID_ = setInterval(this, "yell", YELL_INTERVAL);
attachMovie("R02_Eye01", "reina_eye", getNextHighestDepth());
}
function onUnload() {
_parent.removeEventListener("r02_h02Released", this);
_parent.removeEventListener("r02_h03Released", this);
_parent.mtr.removeEventListener("sexobjectOrgasmed", this);
_parent.mtr.removeEventListener("meterIncreasedAtLow", this);
_parent.mtr.removeEventListener("meterIncreasedAtMiddle", this);
_parent.mtr.removeEventListener("meterIncreasedAtHigh", this);
_parent.removeEventListener("next01Released", this);
_parent.removeEventListener("next02Released", this);
_parent.removeEventListener("next04Released", this);
clearInterval(intervalID_);
}
function r02_h02Released(evt) {
_parent.attachMovie("R02A_03_Change_04", "reina", getDepth());
}
function r02_h03Released(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02A_03_React01", "reina", getDepth(), {onEnterFrame:returnToR02A_03});
break;
case 1 :
_parent.attachMovie("R02A_03_React02", "reina", getDepth(), {onEnterFrame:returnToR02A_03});
}
}
function sexobjectOrgasmed(evt) {
_parent.yellStop();
_parent.gaspStop();
var _local3 = transitionToR02A_03;
var _local2 = _parent.attachMovie("R02A_03_Ecstasy01", "reina", getDepth(), {onEnterFrame:transitionToR02A_03_Ecstasy02});
_local2.transitionToR02A_03 = _local3;
}
function meterIncreasedAtLow(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_024);
_local3.push(_parent.rv_025);
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_031);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function meterIncreasedAtMiddle(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_026);
_local3.push(_parent.rv_027);
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_032);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function meterIncreasedAtHigh(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_028);
_local3.push(_parent.rv_029);
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_033);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function next01Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function next02Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function next04Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function returnToR02A_03() {
if (_currentframe == _totalframes) {
_parent.attachMovie("R02A_03", "reina", getDepth());
}
}
function transitionToR02A_03_Ecstasy02() {
if (_currentframe == _totalframes) {
onEnterFrame = null;
onMouseUp = function () {
this._parent.mtr.zero();
this._parent.attachMovie("R02A_03_Ecstasy02", "reina", this.getDepth(), {onEnterFrame:this.transitionToR02A_03});
};
}
}
function transitionToR02A_03() {
if (_currentframe == _totalframes) {
onEnterFrame = null;
_parent.showNext02();
onMouseUp = function () {
this._parent.attachMovie("R02A_03", "reina", this.getDepth());
};
}
}
function yell() {
if ((!_parent.isYellPlaying()) && (!_parent.isGaspPlaying())) {
((Math.round(Math.random()) == 0) ? (rv_022.start()) : (rv_023.start()));
}
}
static var EROGENOUS_ZONE_RELEASED_PLEASURE = 2;
static var YELL_INTERVAL = 10000;
}
Symbol 404 MovieClip [__Packages.tf.entity.reina.R02A_02_Mas] Frame 0
class tf.entity.reina.R02A_02_Mas extends MovieClip
{
var _parent, attachMovie, getNextHighestDepth, getDepth, _totalframes, _currentframe, gotoAndPlay, onEnterFrame, onMouseUp;
function R02A_02_Mas () {
super();
}
function onLoad() {
_parent.addEventListener("mouseReleased", this);
_parent.mtr.addEventListener("sexobjectOrgasmed", this);
_parent.mtr.addEventListener("meterIncreasedAtLow", this);
_parent.mtr.addEventListener("meterIncreasedAtMiddle", this);
_parent.mtr.addEventListener("meterIncreasedAtHigh", this);
_parent.addEventListener("next01Released", this);
attachMovie("R02_Eye03", "reina_eye", getNextHighestDepth(), {onEnterFrame:loopR02_Eye03});
}
function onUnload() {
_parent.removeEventListener("mouseReleased", this);
_parent.mtr.removeEventListener("sexobjectOrgasmed", this);
_parent.mtr.removeEventListener("meterIncreasedAtLow", this);
_parent.mtr.removeEventListener("meterIncreasedAtMiddle", this);
_parent.mtr.removeEventListener("meterIncreasedAtHigh", this);
_parent.removeEventListener("next01Released", this);
}
function mouseReleased(evt) {
if (_parent.nxt01.hitTest(_root._xmouse, _root._ymouse)) {
return(undefined);
}
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
}
function sexobjectOrgasmed(evt) {
_parent.yellStop();
_parent.gaspStop();
var _local3 = transitionToR02A_02;
var _local2 = _parent.attachMovie("R02A_02_Mas_Ecstasy01", "reina", getDepth(), {onEnterFrame:transitionToR02A_02_Mas_Ecstasy02});
_local2.transitionToR02A_02 = _local3;
}
function meterIncreasedAtLow(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_035);
_local3.push(_parent.rv_036);
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02A_02_Mas_01A", "reina", getDepth(), {onEnterFrame:returnToR02A_02_Mas});
break;
case 1 :
_parent.attachMovie("R02A_02_Mas_01B", "reina", getDepth(), {onEnterFrame:returnToR02A_02_Mas});
}
}
function meterIncreasedAtMiddle(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_037);
_local3.push(_parent.rv_038);
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02A_02_Mas_02A", "reina", getDepth(), {onEnterFrame:returnToR02A_02_Mas});
break;
case 1 :
_parent.attachMovie("R02A_02_Mas_02B", "reina", getDepth(), {onEnterFrame:returnToR02A_02_Mas});
}
}
function meterIncreasedAtHigh(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_039);
_local3.push(_parent.rv_040);
_local3.push(_parent.rv_041);
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02A_02_Mas_03A", "reina", getDepth(), {onEnterFrame:returnToR02A_02_Mas});
break;
case 1 :
_parent.attachMovie("R02A_02_Mas_03B", "reina", getDepth(), {onEnterFrame:returnToR02A_02_Mas});
}
}
function next01Released(evt) {
_parent.gaspStop();
}
function loopR02_Eye03() {
if (_currentframe == _totalframes) {
gotoAndPlay(1);
}
}
function returnToR02A_02_Mas() {
if (_currentframe == _totalframes) {
_parent.attachMovie("R02A_02_Mas", "reina", getDepth());
}
}
function transitionToR02A_02_Mas_Ecstasy02() {
if (_currentframe == _totalframes) {
onEnterFrame = null;
onMouseUp = function () {
this._parent.mtr.zero();
this._parent.attachMovie("R02A_02_Mas_Ecstasy02", "reina", this.getDepth(), {onEnterFrame:this.transitionToR02A_02});
};
}
}
function transitionToR02A_02() {
if (_currentframe == _totalframes) {
onEnterFrame = null;
_parent.showNext04();
onMouseUp = function () {
this._parent.attachMovie("R02A_02", "reina", this.getDepth());
};
}
}
static var EROGENOUS_ZONE_RELEASED_PLEASURE = 2;
}
Symbol 405 MovieClip [__Packages.tf.entity.reina.R02A_02_Change_04] Frame 0
class tf.entity.reina.R02A_02_Change_04 extends MovieClip
{
var hitCount_, _parent, intervalID_, stop, play, onEnterFrame, getDepth, _totalframes, _currentframe;
function R02A_02_Change_04 () {
super();
hitCount_ = 0;
}
function onLoad() {
_parent.addEventListener("r02_h01Released", this);
intervalID_ = setInterval(this, "resist", RESIT_TIME);
stop();
}
function r02_h01Released(evt) {
hitCount_++;
if (hitCount_ == RESIST_COUNT) {
_parent.removeEventListener("r02_h01Released", this);
clearInterval(intervalID_);
var _local2 = RIGHT_ARM_OPENED_PLEASURE;
if ((_parent.mtr.getValue() + _local2) >= _parent.mtr.getLimit()) {
_local2 = (_parent.mtr.getLimit() - 1) - _parent.mtr.getValue();
}
_parent.mtr.increase(_local2);
if (!_parent.isGaspPlaying()) {
_parent.rv_026.start();
}
play();
onEnterFrame = transitionToR02A_04;
}
}
function resist() {
_parent.removeEventListener("r02_h01Released", this);
clearInterval(intervalID_);
_parent.attachMovie("R02A_02", "reina", getDepth());
}
function transitionToR02A_04() {
if (_currentframe == _totalframes) {
_parent.r02_h01.removeMovieClip();
_parent.hideSelect04();
_parent.attachMovie("R02A_04", "reina", getDepth());
}
}
static var RESIT_TIME = 1000;
static var RESIST_COUNT = 4;
static var RIGHT_ARM_OPENED_PLEASURE = 15;
}
Symbol 406 MovieClip [__Packages.tf.entity.reina.R02A_02] Frame 0
class tf.entity.reina.R02A_02 extends MovieClip
{
var _parent, intervalID_, attachMovie, getNextHighestDepth, getDepth, _totalframes, _currentframe, onEnterFrame, onMouseUp, rv_023, rv_022;
function R02A_02 () {
super();
}
function onLoad() {
_parent.addEventListener("r02_h01Released", this);
_parent.addEventListener("r02_h03Released", this);
_parent.addEventListener("r02_h04Released", this);
_parent.addEventListener("r02_h05Released", this);
_parent.mtr.addEventListener("sexobjectOrgasmed", this);
_parent.mtr.addEventListener("meterIncreasedAtLow", this);
_parent.mtr.addEventListener("meterIncreasedAtMiddle", this);
_parent.mtr.addEventListener("meterIncreasedAtHigh", this);
if (!_parent.sel04.isSelected()) {
if (!_parent.sel04._visible) {
_parent.showSelect04();
}
_parent.addEventListener("select04Released", this);
}
_parent.addEventListener("next01Released", this);
_parent.addEventListener("next04Released", this);
intervalID_ = setInterval(this, "yell", YELL_INTERVAL);
attachMovie("R02_Eye01", "reina_eye", getNextHighestDepth());
}
function onUnload() {
_parent.removeEventListener("r02_h01Released", this);
_parent.removeEventListener("r02_h03Released", this);
_parent.removeEventListener("r02_h04Released", this);
_parent.removeEventListener("r02_h05Released", this);
_parent.mtr.removeEventListener("sexobjectOrgasmed", this);
_parent.mtr.removeEventListener("meterIncreasedAtLow", this);
_parent.mtr.removeEventListener("meterIncreasedAtMiddle", this);
_parent.mtr.removeEventListener("meterIncreasedAtHigh", this);
if (!_parent.sel04.isSelected()) {
_parent.removeEventListener("select04Released", this);
}
_parent.removeEventListener("next01Released", this);
_parent.removeEventListener("next04Released", this);
clearInterval(intervalID_);
}
function r02_h01Released(evt) {
_parent.attachMovie("R02A_02_Change_04", "reina", getDepth());
}
function r02_h03Released(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02A_02_React01", "reina", getDepth(), {onEnterFrame:returnToR02A_02});
break;
case 1 :
_parent.attachMovie("R02A_02_React02", "reina", getDepth(), {onEnterFrame:returnToR02A_02});
}
}
function r02_h04Released(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02A_02_Bust_R01", "reina", getDepth(), {onEnterFrame:returnToR02A_02});
break;
case 1 :
_parent.attachMovie("R02A_02_Bust_R02", "reina", getDepth(), {onEnterFrame:returnToR02A_02});
}
}
function r02_h05Released(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02A_02_Bust_L01", "reina", getDepth(), {onEnterFrame:returnToR02A_02});
break;
case 1 :
_parent.attachMovie("R02A_02_Bust_L02", "reina", getDepth(), {onEnterFrame:returnToR02A_02});
}
}
function sexobjectOrgasmed(evt) {
_parent.yellStop();
_parent.gaspStop();
var _local3 = transitionToR02A_02;
var _local2 = _parent.attachMovie("R02A_02_Ecstasy01", "reina", getDepth(), {onEnterFrame:transitionToR02A_02_Ecstasy02});
_local2.transitionToR02A_02 = _local3;
}
function meterIncreasedAtLow(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_024);
_local3.push(_parent.rv_025);
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_031);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function meterIncreasedAtMiddle(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_026);
_local3.push(_parent.rv_027);
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_032);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function meterIncreasedAtHigh(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_028);
_local3.push(_parent.rv_029);
if (_parent.r02_h04.isSelected() || (_parent.r02_h05.isSelected())) {
_local3.push(_parent.rv_030);
}
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_033);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function select04Released(evt) {
_parent.yellStop();
_parent.gaspStop();
_parent.attachMovie("R02A_02_Mas_Start", "reina", getDepth(), {onEnterFrame:transitionToR02A_02_Mas});
_parent.removeEventListener(evt.type, this);
}
function next01Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function next04Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function returnToR02A_02() {
if (_currentframe == _totalframes) {
_parent.attachMovie("R02A_02", "reina", getDepth());
}
}
function transitionToR02A_02_Ecstasy02() {
if (_currentframe == _totalframes) {
onEnterFrame = null;
onMouseUp = function () {
this._parent.mtr.zero();
this._parent.attachMovie("R02A_02_Ecstasy02", "reina", this.getDepth(), {onEnterFrame:this.transitionToR02A_02});
};
}
}
function transitionToR02A_02() {
if (_currentframe == _totalframes) {
onEnterFrame = null;
_parent.showNext01();
onMouseUp = function () {
this._parent.attachMovie("R02A_02", "reina", this.getDepth());
};
}
}
function transitionToR02A_02_Mas() {
if (_currentframe == _totalframes) {
_parent.attachMovie("R02A_02_Mas", "reina", getDepth());
}
}
function yell() {
if ((!_parent.isYellPlaying()) && (!_parent.isGaspPlaying())) {
((Math.round(Math.random()) == 0) ? (rv_022.start()) : (rv_023.start()));
}
}
static var EROGENOUS_ZONE_RELEASED_PLEASURE = 2;
static var YELL_INTERVAL = 10000;
}
Symbol 407 MovieClip [__Packages.tf.entity.reina.R02A_01_Change_03] Frame 0
class tf.entity.reina.R02A_01_Change_03 extends MovieClip
{
var hitCount_, _parent, intervalID_, stop, play, onEnterFrame, getDepth, _totalframes, _currentframe;
function R02A_01_Change_03 () {
super();
hitCount_ = 0;
}
function onLoad() {
_parent.addEventListener("r02_h01Released", this);
intervalID_ = setInterval(this, "resist", RESIT_TIME);
stop();
}
function r02_h01Released(evt) {
hitCount_++;
if (hitCount_ == RESIST_COUNT) {
_parent.removeEventListener("r02_h01Released", this);
clearInterval(intervalID_);
_parent.mtr.increase(RIGHT_ARM_OPENED_PLEASURE);
if (!_parent.isGaspPlaying()) {
_parent.rv_026.start();
}
play();
onEnterFrame = transitionToR02A_03;
}
}
function resist() {
_parent.removeEventListener("r02_h01Released", this);
clearInterval(intervalID_);
_parent.attachMovie("R02A_01", "reina", getDepth());
}
function transitionToR02A_03() {
if (_currentframe == _totalframes) {
_parent.r02_h01.removeMovieClip();
_parent.attachMovie("R02A_03", "reina", getDepth());
}
}
static var RESIT_TIME = 1000;
static var RESIST_COUNT = 4;
static var RIGHT_ARM_OPENED_PLEASURE = 10;
}
Symbol 408 MovieClip [__Packages.tf.entity.reina.R02A_01_Change_02] Frame 0
class tf.entity.reina.R02A_01_Change_02 extends MovieClip
{
var hitCount_, _parent, intervalID_, stop, play, onEnterFrame, getDepth, _totalframes, _currentframe;
function R02A_01_Change_02 () {
super();
hitCount_ = 0;
}
function onLoad() {
_parent.addEventListener("r02_h02Released", this);
intervalID_ = setInterval(this, "resist", RESIT_TIME);
stop();
}
function r02_h02Released(evt) {
hitCount_++;
if (hitCount_ == RESIST_COUNT) {
_parent.removeEventListener("r02_h02Released", this);
clearInterval(intervalID_);
_parent.mtr.increase(LEFT_ARM_OPENED_PLEASURE);
if (!_parent.isGaspPlaying()) {
_parent.rv_026.start();
}
play();
onEnterFrame = transitionToR02A_02;
}
}
function resist() {
_parent.removeEventListener("r02_h02Released", this);
clearInterval(intervalID_);
_parent.attachMovie("R02A_01", "reina", getDepth());
}
function transitionToR02A_02() {
if (_currentframe == _totalframes) {
_parent.r02_h02.removeMovieClip();
_parent.r02_h04.enabled = true;
_parent.attachMovie("R02A_02", "reina", getDepth());
}
}
static var RESIT_TIME = 1000;
static var RESIST_COUNT = 4;
static var LEFT_ARM_OPENED_PLEASURE = 10;
}
Symbol 409 MovieClip [__Packages.tf.entity.reina.R02A_01] Frame 0
class tf.entity.reina.R02A_01 extends MovieClip
{
var _parent, intervalID_, attachMovie, getNextHighestDepth, getDepth, _totalframes, _currentframe;
function R02A_01 () {
super();
}
function onLoad() {
_parent.addEventListener("r02_h01Released", this);
_parent.addEventListener("r02_h02Released", this);
_parent.addEventListener("r02_h05Released", this);
intervalID_ = setInterval(this, "yell", YELL_INTERVAL);
attachMovie("R02_Eye01", "reina_eye", getNextHighestDepth());
}
function onUnload() {
_parent.removeEventListener("r02_h01Released", this);
_parent.removeEventListener("r02_h02Released", this);
_parent.removeEventListener("r02_h05Released", this);
clearInterval(intervalID_);
}
function r02_h01Released(evt) {
_parent.attachMovie("R02A_01_Change_03", "reina", getDepth());
}
function r02_h02Released(evt) {
_parent.attachMovie("R02A_01_Change_02", "reina", getDepth());
}
function r02_h05Released(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_024);
_local3.push(_parent.rv_025);
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02A_01_React01", "reina", getDepth(), {onEnterFrame:returnToR02A_01});
break;
case 1 :
_parent.attachMovie("R02A_01_React02", "reina", getDepth(), {onEnterFrame:returnToR02A_01});
}
}
function returnToR02A_01() {
if (_currentframe == _totalframes) {
_parent.attachMovie("R02A_01", "reina", getDepth());
}
}
function yell() {
if ((!_parent.isYellPlaying()) && (!_parent.isGaspPlaying())) {
((Math.round(Math.random()) == 0) ? (_parent.rv_022.start()) : (_parent.rv_023.start()));
}
}
static var YELL_INTERVAL = 10000;
}
Symbol 410 MovieClip [__Packages.tf.entity.reina.R02_Eye01] Frame 0
class tf.entity.reina.R02_Eye01 extends MovieClip
{
var intervalID_, _totalframes, _currentframe, gotoAndPlay, _parent, getDepth;
function R02_Eye01 () {
super();
}
function onLoad() {
intervalID_ = setInterval(this, "blink", BLINK_INTERVAL + Math.floor(Math.random() * RANDOM_BLINK_INTERVAL));
}
function onEnterFrame() {
if (_currentframe == _totalframes) {
gotoAndPlay(1);
}
}
function blink() {
clearInterval(intervalID_);
_parent.attachMovie("R02_Eye02", "reina_eye", getDepth(), {onEnterFrame:returnToR02_Eye01});
}
function returnToR02_Eye01() {
if (_currentframe == _totalframes) {
if (Math.floor(Math.random() * CONTINUE_BLINK_PROBABILITY) == 0) {
gotoAndPlay(1);
} else {
_parent.attachMovie("R02_Eye01", "reina_eye", getDepth());
}
}
}
static var BLINK_INTERVAL = 6000;
static var RANDOM_BLINK_INTERVAL = 4000;
static var CONTINUE_BLINK_PROBABILITY = 8;
}
Symbol 411 MovieClip [__Packages.tf.entity.Icon] Frame 0
class tf.entity.Icon extends ascs.ctrl.ToggleButton
{
var isSelected_, cursor_, gotoAndStop, dispatchEvent;
function Icon () {
super();
}
function onRelease() {
if (!isSelected_) {
isSelected_ = true;
cursor_._x = cursor_._x + cursor_._xmouse;
cursor_._y = cursor_._y + cursor_._ymouse;
cursor_._visible = true;
(gotoAndStop("down_over"));// not popped
} else if (arguments.caller != null) {
isSelected_ = false;
cursor_._visible = false;
(gotoAndStop("up_over"));// not popped
}
dispatchEvent({type:"onRelease"});
}
function setCursor(csr) {
cursor_ = csr;
}
}
Symbol 412 MovieClip [__Packages.tf.entity.Cursor] Frame 0
class tf.entity.Cursor extends MovieClip
{
var _totalframes, _currentframe, gotoAndStop, stop, play, _x, _width, _xmouse, _y, _height, _ymouse;
function Cursor () {
super();
}
function onEnterFrame() {
if (_currentframe == _totalframes) {
(gotoAndStop(1));// not popped
}
}
function onLoad() {
stop();
}
function onMouseDown() {
play();
}
function onMouseMove() {
_x = _x + (_xmouse - (_width / 2));
_y = _y + (_ymouse - (_height / 2));
updateAfterEvent();
}
}
Symbol 413 MovieClip [__Packages.tf.entity.Meter] Frame 0
class tf.entity.Meter extends MovieClip
{
var value_, limit_, _totalframes, amountToMaximumCount_, stop, _currentframe, prevFrame, nextFrame, gotoAndStop, dispatchEvent;
function Meter () {
super();
ascs.util.EventLauncher.initialize(this);
value_ = 1;
limit_ = _totalframes;
amountToMaximumCount_ = 0;
}
function onLoad() {
stop();
}
function onEnterFrame() {
if (Math.floor(value_) < _currentframe) {
prevFrame();
} else if (Math.floor(value_) > _currentframe) {
nextFrame();
}
}
function setLimit(lmt) {
if (lmt < 1) {
lmt = 1;
} else if (lmt > _totalframes) {
lmt = _totalframes;
}
limit_ = lmt;
if (value_ > limit_) {
value_ = limit_;
gotoAndStop(Math.floor(value_));
}
}
function getLimit() {
return(limit_);
}
function getOrgasmCount() {
return(amountToMaximumCount_);
}
function getAmountToMaximumCount() {
return(amountToMaximumCount_);
}
function hasAmountToMaximum() {
return(amountToMaximumCount_ > 0);
}
function setValue(val) {
if (val < 1) {
value_ = 1;
} else if (val > _totalframes) {
value_ = _totalframes;
} else {
value_ = val;
}
gotoAndStop(Math.floor(value_));
}
function getValue() {
return(value_);
}
function zero() {
value_ = 1;
}
function isLow() {
return(value_ <= LOW_VALUE);
}
function isMiddle() {
return((value_ > LOW_VALUE) && (value_ <= HIGH_VALUE));
}
function isHigh() {
return(value_ > HIGH_VALUE);
}
function increase(incrNum) {
if (incrNum < 0) {
incrNum = 0;
} else {
var _local3 = _totalframes - value_;
if (incrNum > _local3) {
incrNum = _local3;
}
}
if (incrNum > 0) {
value_ = value_ + incrNum;
if (value_ > limit_) {
value_ = limit_;
}
}
}
function increaseWithEvent(incrNum) {
if (incrNum < 0) {
incrNum = 0;
} else {
var _local7 = _totalframes - value_;
if (incrNum > _local7) {
incrNum = _local7;
}
}
var _local3 = value_;
if (incrNum > 0) {
value_ = value_ + incrNum;
if (value_ > limit_) {
value_ = limit_;
}
}
var _local2 = value_;
if ((_local2 == _totalframes) && (_local3 != _totalframes)) {
amountToMaximumCount_++;
}
if (_local2 == _totalframes) {
var _local6 = false;
if (amountToMaximumCount_ == 1) {
_local6 = true;
}
dispatchEvent({type:"sexobjectOrgasmed", oldValue:_local3, newValue:_local2, isFirstOrgasm:_local6});
} else if (_local2 <= LOW_VALUE) {
dispatchEvent({type:"meterIncreasedAtLow", oldValue:_local3, newValue:_local2});
} else if ((_local2 > LOW_VALUE) && (_local2 <= HIGH_VALUE)) {
var _local5 = false;
if (_local3 <= LOW_VALUE) {
_local5 = true;
}
dispatchEvent({type:"meterIncreasedAtMiddle", oldValue:_local3, newValue:_local2, hasPassedThroughLow:_local5});
} else if (_local2 > HIGH_VALUE) {
var _local5 = false;
if ((_local3 > LOW_VALUE) && (_local3 <= HIGH_VALUE)) {
_local5 = true;
}
dispatchEvent({type:"meterIncreasedAtHigh", oldValue:_local3, newValue:_local2, hasPassedThroughMiddle:_local5});
}
dispatchEvent({type:"meterIncreased", oldValue:_local3, newValue:_local2});
}
static var LOW_VALUE = 40;
static var HIGH_VALUE = 75;
}
Symbol 414 MovieClip [__Packages.tf.entity.reina.R02B_04] Frame 0
class tf.entity.reina.R02B_04 extends MovieClip
{
var _parent, intervalID_, attachMovie, getNextHighestDepth, getDepth, _totalframes, _currentframe, onEnterFrame, onMouseUp, rv_023, rv_022;
function R02B_04 () {
super();
}
function onLoad() {
_parent.addEventListener("r02_h03Released", this);
_parent.addEventListener("r02_h04Released", this);
_parent.addEventListener("r02_h05Released", this);
_parent.mtr.addEventListener("sexobjectOrgasmed", this);
_parent.mtr.addEventListener("meterIncreasedAtLow", this);
_parent.mtr.addEventListener("meterIncreasedAtMiddle", this);
_parent.mtr.addEventListener("meterIncreasedAtHigh", this);
_parent.addEventListener("select03Released", this);
_parent.addEventListener("next01Released", this);
_parent.addEventListener("next02Released", this);
_parent.addEventListener("next03Released", this);
intervalID_ = setInterval(this, "yell", YELL_INTERVAL);
attachMovie("R02_Eye01", "reina_eye", getNextHighestDepth());
}
function onUnload() {
_parent.removeEventListener("r02_h03Released", this);
_parent.removeEventListener("r02_h04Released", this);
_parent.removeEventListener("r02_h05Released", this);
_parent.mtr.removeEventListener("sexobjectOrgasmed", this);
_parent.mtr.removeEventListener("meterIncreasedAtLow", this);
_parent.mtr.removeEventListener("meterIncreasedAtMiddle", this);
_parent.mtr.removeEventListener("meterIncreasedAtHigh", this);
_parent.removeEventListener("select03Released", this);
_parent.removeEventListener("next01Released", this);
_parent.removeEventListener("next02Released", this);
_parent.removeEventListener("next03Released", this);
clearInterval(intervalID_);
}
function r02_h03Released(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02B_04_React01", "reina", getDepth(), {onEnterFrame:returnToR02B_04});
break;
case 1 :
_parent.attachMovie("R02B_04_React02", "reina", getDepth(), {onEnterFrame:returnToR02B_04});
}
}
function r02_h04Released(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02B_04_Bust_R01", "reina", getDepth(), {onEnterFrame:returnToR02B_04});
break;
case 1 :
_parent.attachMovie("R02B_04_Bust_R02", "reina", getDepth(), {onEnterFrame:returnToR02B_04});
}
}
function r02_h05Released(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("R02B_04_Bust_L01", "reina", getDepth(), {onEnterFrame:returnToR02B_04});
break;
case 1 :
_parent.attachMovie("R02B_04_Bust_L02", "reina", getDepth(), {onEnterFrame:returnToR02B_04});
}
}
function sexobjectOrgasmed(evt) {
_parent.yellStop();
_parent.gaspStop();
var _local3 = transitionToR02B_04;
var _local2 = _parent.attachMovie("R02B_04_Ecstasy01", "reina", getDepth(), {onEnterFrame:transitionToR02B_04_Ecstasy02});
_local2.transitionToR02B_04 = _local3;
}
function meterIncreasedAtLow(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_024);
_local3.push(_parent.rv_025);
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_031);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function meterIncreasedAtMiddle(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_026);
_local3.push(_parent.rv_027);
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_032);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function meterIncreasedAtHigh(evt) {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.rv_028);
_local3.push(_parent.rv_029);
if (_parent.r02_h04.isSelected() || (_parent.r02_h05.isSelected())) {
_local3.push(_parent.rv_030);
}
if (_parent.ic02.isSelected()) {
_local3.push(_parent.rv_033);
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].isPlaying()) {
_local3.splice(_local2, 1);
}
_local2++;
}
if (_local3.length != 0) {
_local3[Math.floor(Math.random() * _local3.length)].start();
}
}
}
function select03Released(evt) {
var _local2 = SELECT03_RELEASED_PLEASURE;
if ((_parent.mtr.getValue() + _local2) >= _parent.mtr.getLimit()) {
_local2 = (_parent.mtr.getLimit() - 1) - _parent.mtr.getValue();
}
_parent.mtr.increase(_local2);
_parent.gaspStop();
_parent.rv_010.start();
_parent.attachMovie("R02A_04", "reina", getDepth());
}
function next01Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function next02Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function next03Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function returnToR02B_04() {
if (_currentframe == _totalframes) {
_parent.attachMovie("R02B_04", "reina", getDepth());
}
}
function transitionToR02B_04_Ecstasy02() {
if (_currentframe == _totalframes) {
onEnterFrame = null;
onMouseUp = function () {
this._parent.mtr.zero();
this._parent.attachMovie("R02B_04_Ecstasy02", "reina", this.getDepth(), {onEnterFrame:this.transitionToR02B_04});
};
}
}
function transitionToR02B_04() {
if (_currentframe == _totalframes) {
onEnterFrame = null;
onMouseUp = function () {
this._parent.showNext03();
this._parent.attachMovie("R02B_04", "reina", this.getDepth());
};
}
}
function yell() {
if ((!_parent.isYellPlaying()) && (!_parent.isGaspPlaying())) {
((Math.round(Math.random()) == 0) ? (rv_022.start()) : (rv_023.start()));
}
}
static var EROGENOUS_ZONE_RELEASED_PLEASURE = 2;
static var SELECT03_RELEASED_PLEASURE = 15;
static var YELL_INTERVAL = 10000;
}