Frame 1
var sceneFlow__;
if (sceneFlow__ == null) {
this._lockroot = true;
sceneFlow__ = new ascs.scene.SceneFlow(_root, SharedObject.getLocal("touch_feel", "/"));
sceneFlow__.changeScene(tf.scene.T003.LINKAGE_ID);
}
Symbol 12 MovieClip [Next02] Frame 1
#initclip 31
Object.registerClass("Next02", ascs.ctrl.PushButton);
#endinitclip
Symbol 14 MovieClip [Next01] Frame 1
#initclip 25
Object.registerClass("Next01", ascs.ctrl.PushButton);
#endinitclip
Symbol 54 MovieClip [T03B_S02] Frame 1
#initclip 26
Object.registerClass("T03B_S02", tf.entity.tomoe.T03B_S02);
#endinitclip
Symbol 54 MovieClip [T03B_S02] Frame 15
this.gotoAndPlay("10");
Symbol 114 MovieClip [T03B_S01] Frame 89
this.gotoAndPlay("84");
Symbol 153 MovieClip [T03B] Frame 1
#initclip 27
Object.registerClass("T03B", tf.entity.tomoe.T03B);
#endinitclip
Symbol 156 MovieClip [T03A_S02] Frame 1
#initclip 28
Object.registerClass("T03A_S02", tf.entity.tomoe.T03A_S02);
#endinitclip
Symbol 156 MovieClip [T03A_S02] Frame 6
this.gotoAndPlay("1");
Symbol 203 MovieClip [T03A_S01] Frame 97
this.gotoAndPlay("92");
Symbol 210 MovieClip [T03A] Frame 1
#initclip 29
Object.registerClass("T03A", tf.entity.tomoe.T03A);
#endinitclip
Symbol 217 MovieClip [Meter] Frame 1
#initclip 30
Object.registerClass("Meter", tf.entity.Meter);
#endinitclip
Symbol 218 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 219 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 220 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 221 MovieClip [__Packages.tf.scene.T003] Frame 0
class tf.scene.T003 extends ascs.scene.AbstractScene
{
var attachMovie, getNextHighestDepth, nxt01, nxt02, tv_048, tv_049, tv_051, tv_052, yell_, gasp_, isEventListenerEmpty, dispatchEvent, onMouseUp, unloadMovie, sceneFlow_, mtr;
function T003 () {
super();
ascs.util.EventLauncher.initialize(this);
}
function onLoad() {
Mouse.show();
attachMovie("T03A", "tomoe", getNextHighestDepth());
attachMovie("Meter", "mtr", getNextHighestDepth());
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));
var _local2 = 41;
while (_local2 < 47) {
this["tv_0" + _local2] = new ascs.media.SoundClip("TV_0" + _local2);
if (_local2 < 43) {
this["tv_0" + _local2].addEventListener("soundclipStarted", mx.utils.Delegate.create(this, yellStarted));
} else {
this["tv_0" + _local2].addEventListener("soundclipStarted", mx.utils.Delegate.create(this, gaspStarted));
}
_local2++;
}
tv_048 = new ascs.media.SoundClip("TV_048");
tv_048.addEventListener("soundclipStarted", mx.utils.Delegate.create(this, gaspStarted));
tv_049 = new ascs.media.SoundClip("TV_049");
tv_049.addEventListener("soundclipStarted", mx.utils.Delegate.create(this, gaspStarted));
tv_051 = new ascs.media.SoundClip("TV_051");
tv_051.addEventListener("soundclipStarted", mx.utils.Delegate.create(this, gaspStarted));
tv_052 = new ascs.media.SoundClip("TV_052");
tv_052.addEventListener("soundclipStarted", mx.utils.Delegate.create(this, gaspStarted));
var _local3 = new mx.transitions.TransitionManager(this);
_local3.startTransition({type:mx.transitions.PixelDissolve, direction:mx.transitions.Transition.IN, duration:PIXEL_DISSOLVE_DURATION, easing:mx.transitions.easing.None.easeNone, xSections:10, ySections:10});
_local3.addEventListener("allTransitionsInDone", mx.utils.Delegate.create(this, beginT003));
}
function onUnload() {
for (var _local2 in this) {
if (this[_local2] instanceof ascs.media.SoundClip) {
this[_local2].removeSoundClip();
}
}
}
function showNext01() {
nxt01._visible = true;
var _local2 = new mx.transitions.TransitionManager(nxt01);
_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 showNext02() {
nxt01.enabled = false;
var _local2 = new mx.transitions.TransitionManager(nxt01);
_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.removeMovieClip);
nxt02._visible = true;
var _local3 = new mx.transitions.TransitionManager(nxt02);
_local3.startTransition({type:mx.transitions.Fade, direction:mx.transitions.Transition.IN, duration:2, easing:mx.transitions.easing.Back.easeIn});
_local3.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 mouseReleased() {
if (isEventListenerEmpty("mouseReleased")) {
return(undefined);
}
dispatchEvent({type:"mouseReleased"});
}
function next01Released(evt) {
evt.target.enabled = false;
onMouseUp = null;
var _local2 = new mx.transitions.TransitionManager(this);
_local2.startTransition({type:mx.transitions.PixelDissolve, direction:mx.transitions.Transition.OUT, duration:PIXEL_DISSOLVE_DURATION, easing:mx.transitions.easing.None.easeNone, xSections:10, ySections:10});
_local2.addEventListener("allTransitionsOutDone", mx.utils.Delegate.create(this, changeToT004));
}
function next02Released(evt) {
evt.target.enabled = false;
onMouseUp = null;
var _local2 = new mx.transitions.TransitionManager(this);
_local2.startTransition({type:mx.transitions.PixelDissolve, direction:mx.transitions.Transition.OUT, duration:PIXEL_DISSOLVE_DURATION, easing:mx.transitions.easing.None.easeNone, xSections:10, ySections:10});
_local2.addEventListener("allTransitionsOutDone", mx.utils.Delegate.create(this, changeToT004));
}
function beginT003(evt) {
onMouseUp = mouseReleased;
}
function changeToT004(evt) {
unloadMovie();
var _local3 = sceneFlow_.getContext();
if (mtr.getAmountToMaximumCount() == 1) {
_local3.data.isA = true;
_local3.data.isB = false;
} else if (mtr.getAmountToMaximumCount() == 2) {
_local3.data.isA = false;
_local3.data.isB = true;
}
var _local4 = new MovieClipLoader();
_local4.loadClip("/tomoe/T004.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.T003";
static var CONSTRUCTOR = tf.scene.T003;
static var IS_REGISTERED = Object.registerClass(LINKAGE_ID, CONSTRUCTOR);
static var PIXEL_DISSOLVE_DURATION = 1.5;
static var GASP_POSITION_RATIO = 0.7;
}
Symbol 222 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 223 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 224 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 225 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 226 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 227 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 228 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 229 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 230 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 231 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 232 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 233 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 234 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 235 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 236 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 237 MovieClip [__Packages.tf.entity.tomoe.T03B_S02] Frame 0
class tf.entity.tomoe.T03B_S02 extends MovieClip
{
var _parent, onMouseUp;
function T03B_S02 () {
super();
}
function onLoad() {
_parent.tv_051.start();
_parent.tv_051.addEventListener("soundclipCompleted", mx.utils.Delegate.create(this, tv_051Completed));
}
function mouseReleased() {
_parent.showNextToT004B();
onMouseUp = null;
}
function tv_051Completed(evt) {
_parent.tv_052.start();
_parent.tv_052.addEventListener("soundclipCompleted", mx.utils.Delegate.create(this, tv_052Completed));
evt.target.removeEventListener(evt.type, arguments.caller);
}
function tv_052Completed(evt) {
_parent.showNext02();
onMouseUp = function () {
this.onMouseUp = null;
};
evt.target.removeEventListener(evt.type, arguments.caller);
}
}
Symbol 238 MovieClip [__Packages.tf.entity.tomoe.T03B] Frame 0
class tf.entity.tomoe.T03B extends MovieClip
{
var _parent, intervalID_, getDepth, _totalframes, _currentframe, onMouseUp;
function T03B () {
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);
intervalID_ = setInterval(this, "yell", YELL_INTERVAL);
}
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);
clearInterval(intervalID_);
}
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();
_parent.attachMovie("T03B_S01", "tomoe", getDepth(), {onEnterFrame:transitionToT03B_S02});
}
function meterIncreasedAtLow(evt) {
gasp();
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("T03B_B01_001", "tomoe", getDepth(), {onEnterFrame:returnToT03B});
break;
case 1 :
_parent.attachMovie("T03B_B01_002", "tomoe", getDepth(), {onEnterFrame:returnToT03B});
}
}
function meterIncreasedAtMiddle(evt) {
gasp();
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("T03B_B02_001", "tomoe", getDepth(), {onEnterFrame:returnToT03B});
break;
case 1 :
_parent.attachMovie("T03B_B02_002", "tomoe", getDepth(), {onEnterFrame:returnToT03B});
}
}
function meterIncreasedAtHigh(evt) {
gasp();
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("T03B_B03_001", "tomoe", getDepth(), {onEnterFrame:returnToT03B});
break;
case 1 :
_parent.attachMovie("T03B_B03_002", "tomoe", getDepth(), {onEnterFrame:returnToT03B});
}
}
function next01Released(evt) {
_parent.gaspStop();
clearInterval(intervalID_);
}
function returnToT03B() {
if (_currentframe == _totalframes) {
_parent.attachMovie("T03B", "tomoe", getDepth());
}
}
function transitionToT03B_S02() {
if (_currentframe == _totalframes) {
onMouseUp = function () {
this._parent.attachMovie("T03B_S02", "tomoe", this.getDepth());
};
}
}
function yell() {
if ((!_parent.isYellPlaying()) && (!_parent.isGaspPlaying())) {
var _local2 = new Array();
_local2.push(_parent.tv_041);
_local2.push(_parent.tv_042);
if (_parent.mtr.isMiddle()) {
_local2.push(_parent.tv_049);
}
_local2[Math.floor(Math.random() * _local2.length)].start();
}
}
function gasp() {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.tv_043);
_local3.push(_parent.tv_044);
_local3.push(_parent.tv_045);
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();
}
}
}
static var EROGENOUS_ZONE_RELEASED_PLEASURE = 2;
static var YELL_INTERVAL = 10000;
}
Symbol 239 MovieClip [__Packages.tf.entity.tomoe.T03A_S02] Frame 0
class tf.entity.tomoe.T03A_S02 extends MovieClip
{
var _parent, onMouseUp;
function T03A_S02 () {
super();
}
function onLoad() {
_parent.tv_048.start();
_parent.tv_048.addEventListener("soundclipCompleted", mx.utils.Delegate.create(this, tv_048Completed));
}
function tv_048Completed(evt) {
_parent.showNext01();
onMouseUp = function () {
this._parent.attachMovie("T03B", "tomoe", this.getDepth());
};
evt.target.removeEventListener(evt.type, arguments.caller);
}
}
Symbol 240 MovieClip [__Packages.tf.entity.tomoe.T03A] Frame 0
class tf.entity.tomoe.T03A extends MovieClip
{
var _parent, intervalID_, getDepth, _totalframes, _currentframe, onMouseUp;
function T03A () {
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);
intervalID_ = setInterval(this, "yell", YELL_INTERVAL);
}
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);
clearInterval(intervalID_);
}
function mouseReleased(evt) {
_parent.mtr.increaseWithEvent(EROGENOUS_ZONE_RELEASED_PLEASURE);
}
function sexobjectOrgasmed(evt) {
_parent.yellStop();
_parent.gaspStop();
_parent.attachMovie("T03A_S01", "tomoe", getDepth(), {onEnterFrame:transitionToT03A_S02});
}
function meterIncreasedAtLow(evt) {
gasp();
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("T03A_B01_001", "tomoe", getDepth(), {onEnterFrame:returnToT03A});
break;
case 1 :
_parent.attachMovie("T03A_B01_002", "tomoe", getDepth(), {onEnterFrame:returnToT03A});
}
}
function meterIncreasedAtMiddle(evt) {
gasp();
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("T03A_B02_001", "tomoe", getDepth(), {onEnterFrame:returnToT03A});
break;
case 1 :
_parent.attachMovie("T03A_B02_002", "tomoe", getDepth(), {onEnterFrame:returnToT03A});
}
}
function meterIncreasedAtHigh(evt) {
gasp();
switch (Math.round(Math.random())) {
case 0 :
_parent.attachMovie("T03A_B03_001", "tomoe", getDepth(), {onEnterFrame:returnToT03A});
break;
case 1 :
_parent.attachMovie("T03A_B03_002", "tomoe", getDepth(), {onEnterFrame:returnToT03A});
}
}
function returnToT03A() {
if (_currentframe == _totalframes) {
_parent.attachMovie("T03A", "tomoe", getDepth());
}
}
function transitionToT03A_S02() {
if (_currentframe == _totalframes) {
onMouseUp = function () {
this._parent.mtr.zero();
this._parent.attachMovie("T03A_S02", "tomoe", this.getDepth());
};
}
}
function yell() {
if ((!_parent.isYellPlaying()) && (!_parent.isGaspPlaying())) {
((Math.round(Math.random()) == 0) ? (_parent.tv_041.start()) : (_parent.tv_042.start()));
}
}
function gasp() {
if (!_parent.isGaspPlaying()) {
var _local3 = new Array();
_local3.push(_parent.tv_043);
_local3.push(_parent.tv_044);
_local3.push(_parent.tv_045);
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();
}
}
}
static var EROGENOUS_ZONE_RELEASED_PLEASURE = 2;
static var YELL_INTERVAL = 10000;
}
Symbol 241 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;
}