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

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

bonsai.swf

This is the info page for
Flash #189681

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


Text
23 Days

100%

ActionScript [AS3]

Section 1
//ControlEvent (com.whirled.ControlEvent) package com.whirled { import flash.events.*; public class ControlEvent extends Event { protected var _name:String; protected var _value:Object; public static const MESSAGE_RECEIVED:String = "messageRecieved"; public static const STATE_CHANGED:String = "stateChanged"; public static const GOT_CONTROL:String = "gotControl"; public static const AVATAR_SPOKE:String = "avatarSpoke"; public static const ACTION_TRIGGERED:String = "actionTriggered"; public static const MEMORY_CHANGED:String = "memoryChanged"; public static const APPEARANCE_CHANGED:String = "appearanceChanged"; public static const RECEIVED_CHAT:String = "receivedChat"; public function ControlEvent(_arg1:String, _arg2:String=null, _arg3:Object=null){ super(_arg1); _name = _arg2; _value = _arg3; } public function get name():String{ return (_name); } override public function toString():String{ return ((((((("ControlEvent [type=" + type) + ", name=") + _name) + ", value=") + _value) + "]")); } override public function get target():Object{ return (super.target); } public function get value():Object{ return (_value); } override public function clone():Event{ return (new ControlEvent(type, _name, _value)); } } }//package com.whirled
Section 2
//EntityControl (com.whirled.EntityControl) package com.whirled { import flash.events.*; import flash.display.*; import flash.utils.*; public class EntityControl extends WhirledControl { protected var _hasControl:Boolean;// = false protected var _location:Array; protected var _ticker:Timer; protected var _tickInterval:Number;// = 0 public function EntityControl(_arg1:DisplayObject){ _tickInterval = 0; _hasControl = false; super(_arg1); } public function setTickInterval(_arg1:Number):void{ _tickInterval = ((((_arg1 > 100)) || ((_arg1 <= 0)))) ? _arg1 : 100; if (_hasControl){ recheckTicker(); } else { if (_tickInterval > 0){ requestControl(); }; }; } public function triggerAction(_arg1:String, _arg2:Object=null):void{ callHostCode("sendMessage_v1", _arg1, _arg2, true); } protected function messageReceived_v1(_arg1:String, _arg2:Object, _arg3:Boolean):void{ dispatch((_arg3) ? ControlEvent.ACTION_TRIGGERED : ControlEvent.MESSAGE_RECEIVED, _arg1, _arg2); } public function getInstanceId():int{ return (int(callHostCode("getInstanceId_v1"))); } override protected function gotInitProperties(_arg1:Object):void{ super.gotInitProperties(_arg1); _location = (_arg1["location"] as Array); } public function lookupMemory(_arg1:String, _arg2:Object=null):Object{ var _local3:Object; _local3 = callHostCode("lookupMemory_v1", _arg1); return (((_local3)==null) ? _arg2 : _local3); } protected function recheckTicker():void{ if (((_hasControl) && ((_tickInterval > 0)))){ if (_ticker == null){ _ticker = new Timer(_tickInterval); _ticker.addEventListener(TimerEvent.TIMER, dispatchEvent); } else { _ticker.delay = _tickInterval; }; _ticker.start(); } else { stopTicker(); }; } public function getPixelLocation():Array{ var _local1:Array; var _local2:int; if (_location == null){ return (null); }; _local1 = getRoomBounds(); _local2 = 0; while (_local2 < _location.length) { _local1[_local2] = (_local1[_local2] * _location[_local2]); _local2++; }; return (_local1); } public function updateMemory(_arg1:String, _arg2:Object):Boolean{ return (callHostCode("updateMemory_v1", _arg1, _arg2)); } protected function stopTicker():void{ if (_ticker != null){ _ticker.stop(); _ticker = null; }; } public function setHotSpot(_arg1:Number, _arg2:Number, _arg3:Number=NaN):void{ callHostCode("setHotSpot_v1", _arg1, _arg2, _arg3); } public function getLogicalLocation():Array{ return (_location); } public function showPopup(_arg1:String, _arg2:DisplayObject, _arg3:Number, _arg4:Number, _arg5:uint=0xFFFFFF, _arg6:Number=1):Boolean{ return ((callHostCode("showPopup_v1", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6) as Boolean)); } override protected function populateProperties(_arg1:Object):void{ _arg1["memoryChanged_v1"] = memoryChanged_v1; _arg1["gotControl_v1"] = gotControl_v1; _arg1["messageReceived_v1"] = messageReceived_v1; } override protected function handleUnload(_arg1:Event):void{ super.handleUnload(_arg1); _hasControl = false; stopTicker(); } protected function gotControl_v1():void{ if (_hasControl){ return; }; _hasControl = true; dispatch(ControlEvent.GOT_CONTROL); recheckTicker(); } public function requestControl():void{ callHostCode("requestControl_v1"); } public function getMemories():Object{ var _local1:Object; _local1 = callHostCode("getMemories_v1"); return (((_local1)==null) ? {} : _local1); } protected function memoryChanged_v1(_arg1:String, _arg2:Object):void{ dispatch(ControlEvent.MEMORY_CHANGED, _arg1, _arg2); } public function sendMessage(_arg1:String, _arg2:Object=null):void{ callHostCode("sendMessage_v1", _arg1, _arg2, false); } public function hasControl():Boolean{ return (_hasControl); } public function getRoomBounds():Array{ return ((callHostCode("getRoomBounds_v1") as Array)); } public function clearPopup():void{ callHostCode("clearPopup_v1"); } public function canEditRoom():Boolean{ return ((callHostCode("canEditRoom_v1") as Boolean)); } } }//package com.whirled
Section 3
//FurniControl (com.whirled.FurniControl) package com.whirled { import flash.display.*; public class FurniControl extends EntityControl { public static const BODY_ENTERED:String = "bodyEntered"; public static const BODY_LEFT:String = "bodyLeft"; public function FurniControl(_arg1:DisplayObject){ super(_arg1); } override protected function isAbstract():Boolean{ return (false); } } }//package com.whirled
Section 4
//WhirledControl (com.whirled.WhirledControl) package com.whirled { import flash.events.*; import flash.display.*; public class WhirledControl extends EventDispatcher { protected var _props:Object; public function WhirledControl(_arg1:DisplayObject){ var _local2:ConnectEvent; var _local3:Object; super(); if (isAbstract()){ throw (new Error(("This control is abstract. Please use the " + "appropriate subclass: FurniControl, AvatarControl..."))); }; _local2 = new ConnectEvent(); _local3 = new Object(); populateProperties(_local3); _local2.userProps = _local3; _arg1.root.loaderInfo.sharedEvents.dispatchEvent(_local2); _props = _local2.hostProps; if (((!((_props == null))) && (("initProps" in _props)))){ gotInitProperties(_props["initProps"]); delete _props["initProps"]; }; _arg1.root.loaderInfo.addEventListener(Event.UNLOAD, handleUnload, false, 0, true); } protected function callHostCode(_arg1:String, ... _args){ var func:Function; var name = _arg1; var args = _args; if (_props != null){ try { func = (_props[name] as Function); if (func != null){ return (func.apply(null, args)); }; } catch(err:Error) { trace(err.getStackTrace()); trace("--"); throw (new Error(("Unable to call host code: " + err.message))); }; }; return (undefined); } protected function isAbstract():Boolean{ return (true); } protected function handleUnload(_arg1:Event):void{ } protected function gotInitProperties(_arg1:Object):void{ } protected function dispatch(_arg1:String, _arg2:String=null, _arg3:Object=null):void{ if (hasEventListener(_arg1)){ dispatchEvent(new ControlEvent(_arg1, _arg2, _arg3)); }; } protected function populateProperties(_arg1:Object):void{ } public function isConnected():Boolean{ return (!((_props == null))); } } }//package com.whirled import flash.events.*; class ConnectEvent extends Event { protected var _parent:ConnectEvent; protected var _userProps:Object; protected var _hostProps:Object; private function ConnectEvent(){ super("controlConnect", true, false); } public function set userProps(_arg1:Object):void{ _userProps = _arg1; } public function set hostProps(_arg1:Object):void{ if (_parent != null){ _parent.hostProps = _arg1; } else { _hostProps = _arg1; }; } override public function clone():Event{ var _local1:ConnectEvent; _local1 = new ConnectEvent(); _local1._parent = this; return (_local1); } public function get userProps():Object{ if (_parent != null){ return (_parent.userProps); }; return (_userProps); } public function get hostProps():Object{ return (_hostProps); } }
Section 5
//MainTimeline (plant_bonsai_3_fla.MainTimeline) package plant_bonsai_3_fla { import flash.events.*; import flash.display.*; import com.whirled.*; import flash.utils.*; import flash.geom.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public const SPEED:Number = 1; public const HEALTH:String = "health"; public const WATERING_START:String = "wateringStart"; public const WATERING_STOP:String = "wateringStop"; public const TWO_PER_HOUR:Number = 5.55555555555556E-7; public const WATERING_SPAWN:String = "wateringSpawn"; public const WATERING_DESPAWN:String = "wateringDespawn"; public const POTENCY:Number = 5; public const GROWTH_SPEED:Number = 1; public const TIME_STAMP:String = "timeStamp"; public const BIRTH:String = "birth"; public const WATERING_THROTTLE:int = 500; public const GROWTH:String = "growth"; public const WATER_SPEED:Number = 7; public var _clock:Number; public var _status:MovieClip; public var _clickMousePos:Point; public var hitBox:MovieClip; public var _spade:MovieClip; public var _reset:MovieClip; public var _ctrl:FurniControl; public var _timer:Timer; public var _mouseDown:Boolean; public var thePlant:MovieClip; public var _pitcher:MovieClip; public var birth:Number; public var _wateringTime:int; public var _wateringId:int; public function MainTimeline(){ addFrameScript(0, frame1); } public function messageReceived(_arg1:ControlEvent):void{ var _local2:String; var _local3:int; var _local4:MovieClip; _local2 = _arg1.name.split("-")[0]; _local3 = int(_arg1.name.split("-")[1]); switch (_local2){ case WATERING_SPAWN: if (_wateringId == -1){ _wateringId = _local3; _pitcher = new pitcher(); _pitcher.scaleX = 0.75; _pitcher.scaleY = 0.75; _pitcher.addEventListener(Event.ENTER_FRAME, pitcherEnterFrame); thePlant.addChild(_pitcher); if (_local3 == _ctrl.getInstanceId()){ _pitcher.x = _clickMousePos.x; _pitcher.y = _clickMousePos.y; _pitcher.startDrag(); } else { _pitcher.x = 50; _pitcher.y = (((Math.random() * 50) + 100) * -1); }; if (_spade != null){ removeChild(_spade); }; }; break; case WATERING_START: if (_wateringId == _local3){ _pitcher.gotoAndPlay("pour_start"); }; break; case WATERING_STOP: if ((((_wateringId == _local3)) && ((((_pitcher.currentLabel == "pour_start")) || ((_pitcher.currentLabel == "pouring")))))){ _pitcher.gotoAndPlay("pour_end"); }; break; case WATERING_DESPAWN: if (_wateringId == _local3){ _local4 = new pitcher_despawn(); _local4.x = _pitcher.x; _local4.y = _pitcher.y; thePlant.addChild(_local4); thePlant.removeChild(_pitcher); _pitcher.removeEventListener(Event.ENTER_FRAME, pitcherEnterFrame); _pitcher = null; _wateringId = -1; if (_spade != null){ addChild(_spade); }; }; break; }; } public function updateStatus():void{ var _local1:Number; var _local2:int; var _local3:Number; if (_status == null){ return; }; _local1 = new Date().time; _local1 = (_local1 - (_ctrl.lookupMemory(BIRTH, _local1) as Number)); _local2 = Math.floor(((_local1 / (((1000 * 60) * 60) * 24)) * SPEED)); _status.box.age.text = (_local2 + " Days"); _status.box.growth.text = (Math.round((_ctrl.lookupMemory(GROWTH, 0) as Number)) + " %"); _local3 = (_ctrl.lookupMemory(HEALTH, 0) as Number); _status.meter.gotoAndStop((Math.round(((_local3 / 130) * 14)) + 1)); if (_local3 >= 125){ _status.face.gotoAndStop("Bad"); } else { if (_local3 >= 110){ _status.face.gotoAndStop("Normal"); } else { if (_local3 >= 90){ _status.face.gotoAndStop("Best"); } else { if (_local3 >= 70){ _status.face.gotoAndStop("Normal"); } else { if (_local3 >= 40){ _status.face.gotoAndStop("Bad"); } else { _status.face.gotoAndStop("Worst"); }; }; }; }; }; } public function gotControl(_arg1:ControlEvent):void{ if (_timer != null){ return; }; _timer = new Timer(2000); _timer.addEventListener(TimerEvent.TIMER, onTimerEvent); _timer.start(); onTimerEvent(); } public function addMouseHandler(_arg1:EventDispatcher, _arg2:Function):void{ _arg1.addEventListener(MouseEvent.MOUSE_DOWN, _arg2); _arg1.addEventListener(MouseEvent.MOUSE_UP, _arg2); _arg1.addEventListener(MouseEvent.MOUSE_OVER, _arg2); _arg1.addEventListener(MouseEvent.MOUSE_OUT, _arg2); } public function cancelClick(_arg1:MouseEvent):void{ _reset.hitBox_cancel.removeEventListener(MouseEvent.MOUSE_DOWN, cancelClick); _reset.hitBox_reset.removeEventListener(MouseEvent.MOUSE_DOWN, resetClick); removeChild(_reset); _reset = null; addMouseHandler(hitBox, plantHandler); addMouseHandler(_spade, spadeHandler); } public function plantHandler(_arg1:MouseEvent):void{ if (_arg1.type == MouseEvent.MOUSE_OVER){ if (_status == null){ _status = new status(); updateStatus(); _status.mouseEnabled = false; _status.buttonMode = false; _status.x = 0; _status.y = (-(thePlant.height) - 100); thePlant.addChild(_status); }; } else { if (_arg1.type == MouseEvent.MOUSE_OUT){ _mouseDown = false; if (_wateringId == _ctrl.getInstanceId()){ _ctrl.sendMessage(((WATERING_DESPAWN + "-") + _ctrl.getInstanceId())); }; if (_status != null){ thePlant.removeChild(_status); _status = null; }; } else { if (_arg1.type == MouseEvent.MOUSE_DOWN){ _mouseDown = true; _clickMousePos = thePlant.globalToLocal(new Point(_arg1.stageX, _arg1.stageY)); if (_wateringId == -1){ _ctrl.sendMessage(((WATERING_SPAWN + "-") + _ctrl.getInstanceId())); }; } else { if (_arg1.type == MouseEvent.MOUSE_UP){ _mouseDown = false; if (_wateringId == _ctrl.getInstanceId()){ _ctrl.sendMessage(((WATERING_STOP + "-") + _ctrl.getInstanceId())); updateWateringHealth(); }; }; }; }; }; } public function pitcherEnterFrame(_arg1:Event):void{ var _local2:Number; var _local3:MovieClip; if (_wateringId != _ctrl.getInstanceId()){ return; }; if (((_mouseDown) && ((_pitcher.currentLabel == "idle_loop")))){ _ctrl.sendMessage(((WATERING_START + "-") + _ctrl.getInstanceId())); } else { if (_pitcher.currentLabel == "pouring"){ _local2 = (Math.random() * -(thePlant.height)); if (_local2 > (_pitcher.y + 50)){ _local3 = MovieClip(new splash()); thePlant.addChild(_local3); _local3.scaleX = 0.5; _local3.scaleY = 0.5; _local3.x = ((_pitcher.x - 20) - (Math.random() * 30)); _local3.y = _local2; updateWateringHealth(); } else { _local3 = new splash_ground(); thePlant.addChild(_local3); _local3.scaleX = (0.5 + (Math.random() * 0.5)); _local3.scaleY = _local3.scaleX; _local3.x = ((_pitcher.x - 20) - (Math.random() * 50)); _local3.y = (Math.random() * 10); }; }; }; } public function spadeHandler(_arg1:MouseEvent):void{ if (_arg1.type == MouseEvent.MOUSE_OVER){ _spade.gotoAndStop("on"); } else { if (_arg1.type == MouseEvent.MOUSE_OUT){ _spade.gotoAndStop("off"); } else { if (_arg1.type == MouseEvent.MOUSE_UP){ _spade.gotoAndStop("off"); _reset = new reset_window(); addChild(_reset); _reset.x = thePlant.x; _reset.y = ((thePlant.y - thePlant.height) - 100); _reset.hitBox_cancel.buttonMode = true; _reset.hitBox_cancel.mouseEnabled = true; _reset.hitBox_reset.buttonMode = true; _reset.hitBox_reset.mouseEnabled = true; _reset.hitBox_cancel.addEventListener(MouseEvent.CLICK, cancelClick); _reset.hitBox_reset.addEventListener(MouseEvent.CLICK, resetClick); removeMouseHandler(hitBox, plantHandler); removeMouseHandler(_spade, spadeHandler); } else { if (_arg1.type == MouseEvent.MOUSE_DOWN){ _spade.gotoAndStop("down"); }; }; }; }; } public function removeMouseHandler(_arg1:EventDispatcher, _arg2:Function):void{ _arg1.removeEventListener(MouseEvent.MOUSE_DOWN, _arg2); _arg1.removeEventListener(MouseEvent.MOUSE_UP, _arg2); _arg1.removeEventListener(MouseEvent.MOUSE_OVER, _arg2); _arg1.removeEventListener(MouseEvent.MOUSE_OUT, _arg2); } public function resetClick(_arg1:MouseEvent):void{ _reset.hitBox_cancel.removeEventListener(MouseEvent.MOUSE_DOWN, cancelClick); _reset.hitBox_reset.removeEventListener(MouseEvent.MOUSE_DOWN, resetClick); removeChild(_reset); _reset = null; addMouseHandler(hitBox, plantHandler); addMouseHandler(_spade, spadeHandler); _ctrl.updateMemory(HEALTH, 0); _ctrl.updateMemory(GROWTH, 0); _ctrl.updateMemory(TIME_STAMP, new Date().time); _ctrl.updateMemory(BIRTH, new Date().time); } public function memoryChanged(_arg1:ControlEvent):void{ if (_arg1.name == GROWTH){ thePlant.plant_health.plant.gotoAndStop((Math.round((_arg1.value as Number)) + 2)); } else { if (_arg1.name == HEALTH){ thePlant.plant_health.gotoAndStop((Math.round((_arg1.value as Number)) + 2)); }; }; if ((((_arg1.name == GROWTH)) || ((_arg1.name == HEALTH)))){ updateStatus(); }; } public function onTimerEvent(... _args):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; if (!_ctrl.hasControl()){ _timer.removeEventListener(TimerEvent.TIMER, onTimerEvent); _timer.stop(); _timer = null; return; }; _local2 = new Date().time; _local3 = (_ctrl.lookupMemory(TIME_STAMP, -1) as Number); _local3 = ((_local3 == -1)) ? 0 : (_local2 - _local3); _ctrl.updateMemory(TIME_STAMP, _local2); _local4 = (_ctrl.lookupMemory(HEALTH, 0) as Number); if ((((_wateringId == -1)) || (((!((_pitcher == null))) && ((_pitcher.currentLabel == "idle_loop")))))){ _local4 = (_local4 - (((_local3 * SPEED) * WATER_SPEED) * TWO_PER_HOUR)); _local4 = Math.min(130, Math.max(0, _local4)); _ctrl.updateMemory(HEALTH, _local4); }; if (_local4 > 100){ _local4 = (100 - (_local4 - 100)); }; _local5 = (_ctrl.lookupMemory(GROWTH, 0) as Number); _local5 = (_local5 + (((((_local4 / 100) * _local3) * SPEED) * GROWTH_SPEED) * TWO_PER_HOUR)); _ctrl.updateMemory(GROWTH, Math.min(100, Math.max(0, _local5))); } public function onUnload(_arg1:Event):void{ if (_timer != null){ _timer.removeEventListener(TimerEvent.TIMER, onTimerEvent); }; if (_pitcher != null){ _timer.removeEventListener(Event.ENTER_FRAME, pitcherEnterFrame); }; } public function updateWateringHealth():void{ var _local1:Number; if (((((getTimer() - _wateringTime) < WATERING_THROTTLE)) && (!((_wateringTime == -1))))){ return; }; _local1 = (_ctrl.lookupMemory(HEALTH, 0) as Number); _ctrl.updateMemory(HEALTH, Math.min(130, (_local1 + POTENCY))); _wateringTime = getTimer(); } function frame1(){ stop(); _ctrl = new FurniControl(this); if (_ctrl.isConnected()){ _ctrl.addEventListener(ControlEvent.MEMORY_CHANGED, memoryChanged); _ctrl.addEventListener(ControlEvent.MESSAGE_RECEIVED, messageReceived); _ctrl.addEventListener(ControlEvent.GOT_CONTROL, gotControl); _ctrl.requestControl(); _ctrl.setHotSpot(thePlant.x, thePlant.y, thePlant.height); if (_ctrl.canEditRoom()){ _spade = new spade(); addChild(_spade); _spade.x = thePlant.x; _spade.y = (thePlant.y + 10); _spade.buttonMode = true; _spade.mouseEnabled = true; addMouseHandler(_spade, spadeHandler); }; _clock = new Date().time; birth = (_ctrl.lookupMemory(BIRTH, _clock) as Number); if (birth == _clock){ _ctrl.updateMemory(BIRTH, birth); }; thePlant.plant_health.plant.gotoAndStop(((_ctrl.lookupMemory(GROWTH, 0) as Number) + 2)); thePlant.plant_health.gotoAndStop(((_ctrl.lookupMemory(HEALTH, 0) as Number) + 2)); hitBox.buttonMode = true; addMouseHandler(hitBox, plantHandler); addEventListener(Event.UNLOAD, onUnload); } else { thePlant.plant_health.gotoAndStop(102); thePlant.plant_health.plant.gotoAndStop(102); }; _mouseDown = false; _wateringId = -1; _wateringTime = -1; } } }//package plant_bonsai_3_fla
Section 6
//meter_tick_pulse_30 (plant_bonsai_3_fla.meter_tick_pulse_30) package plant_bonsai_3_fla { import flash.display.*; public dynamic class meter_tick_pulse_30 extends MovieClip { public function meter_tick_pulse_30(){ addFrameScript(6, frame7); } function frame7(){ stop(); } } }//package plant_bonsai_3_fla
Section 7
//plant_1 (plant_bonsai_3_fla.plant_1) package plant_bonsai_3_fla { import flash.display.*; public dynamic class plant_1 extends MovieClip { public var plant_health:MovieClip; public function plant_1(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package plant_bonsai_3_fla
Section 8
//plant_growth_3 (plant_bonsai_3_fla.plant_growth_3) package plant_bonsai_3_fla { import flash.display.*; public dynamic class plant_growth_3 extends MovieClip { public var plant:MovieClip; public function plant_growth_3(){ addFrameScript(0, frame1, 24, frame25, 49, frame50, 74, frame75, 100, frame101); } function frame75(){ stop(); } function frame25(){ stop(); } function frame1(){ stop(); } function frame101(){ stop(); } function frame50(){ stop(); } } }//package plant_bonsai_3_fla
Section 9
//plant_health_2 (plant_bonsai_3_fla.plant_health_2) package plant_bonsai_3_fla { import flash.display.*; public dynamic class plant_health_2 extends MovieClip { public var plant:MovieClip; public function plant_health_2(){ addFrameScript(1, frame2); } function frame2(){ stop(); } } }//package plant_bonsai_3_fla
Section 10
//spout_drip_24 (plant_bonsai_3_fla.spout_drip_24) package plant_bonsai_3_fla { import flash.display.*; public dynamic class spout_drip_24 extends MovieClip { public var dice:Number; public function spout_drip_24(){ addFrameScript(44, frame45); } function frame45(){ dice = (Math.random() * 100); if (dice > 80){ gotoAndPlay("wait"); } else { gotoAndPlay("drip"); }; } } }//package plant_bonsai_3_fla
Section 11
//status_box_32 (plant_bonsai_3_fla.status_box_32) package plant_bonsai_3_fla { import flash.display.*; import flash.text.*; public dynamic class status_box_32 extends MovieClip { public var growth:TextField; public var age:TextField; } }//package plant_bonsai_3_fla
Section 12
//status_face_33 (plant_bonsai_3_fla.status_face_33) package plant_bonsai_3_fla { import flash.display.*; public dynamic class status_face_33 extends MovieClip { public function status_face_33(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package plant_bonsai_3_fla
Section 13
//status_meter_29 (plant_bonsai_3_fla.status_meter_29) package plant_bonsai_3_fla { import flash.display.*; public dynamic class status_meter_29 extends MovieClip { public function status_meter_29(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package plant_bonsai_3_fla
Section 14
//buzzbuzz (buzzbuzz) package { import flash.display.*; public dynamic class buzzbuzz extends MovieClip { } }//package
Section 15
//pitcher (pitcher) package { import flash.display.*; public dynamic class pitcher extends MovieClip { public function pitcher(){ addFrameScript(69, frame70, 199, frame200, 224, frame225); } function frame70(){ gotoAndPlay("idle_loop"); } function frame200(){ gotoAndPlay("pouring"); } function frame225(){ gotoAndPlay("idle_loop"); } } }//package
Section 16
//pitcher_despawn (pitcher_despawn) package { import flash.display.*; public dynamic class pitcher_despawn extends MovieClip { public function pitcher_despawn(){ addFrameScript(4, frame5); } function frame5(){ stop(); this.parent.removeChild(this); } } }//package
Section 17
//reset_window (reset_window) package { import flash.display.*; public dynamic class reset_window extends MovieClip { public var hitBox_cancel:MovieClip; public var hitBox_reset:MovieClip; } }//package
Section 18
//spade (spade) package { import flash.display.*; public dynamic class spade extends MovieClip { public var hitBox:MovieClip; public function spade(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 19
//splash (splash) package { import flash.display.*; public dynamic class splash extends MovieClip { public function splash(){ addFrameScript(4, frame5); } function frame5(){ stop(); this.parent.removeChild(this); } } }//package
Section 20
//splash_ground (splash_ground) package { import flash.display.*; public dynamic class splash_ground extends MovieClip { public function splash_ground(){ addFrameScript(20, frame21); } function frame21(){ stop(); this.parent.removeChild(this); } } }//package
Section 21
//status (status) package { import flash.display.*; public dynamic class status extends MovieClip { public var face:MovieClip; public var meter:MovieClip; public var box:MovieClip; public function status(){ addFrameScript(10, frame11); } function frame11(){ stop(); } } }//package
Section 22
//stench (stench) package { import flash.display.*; public dynamic class stench extends MovieClip { public function stench(){ addFrameScript(60, frame61); } function frame61(){ stop(); this.parent.removeChild(this); } } }//package

Library Items

Symbol 1 GraphicUsed by:5
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:5
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip {spade}Uses:1 3 4
Symbol 6 GraphicUsed by:12
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:12
Symbol 9 GraphicUsed by:12
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:12
Symbol 12 MovieClip {reset_window}Uses:6 8 9 11
Symbol 13 ShapeTweeningUsed by:47
Symbol 14 ShapeTweeningUsed by:47
Symbol 15 GraphicUsed by:33
Symbol 16 GraphicUsed by:33
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:19
Symbol 19 MovieClip {plant_bonsai_3_fla.meter_tick_pulse_30}Uses:18Used by:33
Symbol 20 GraphicUsed by:33
Symbol 21 GraphicUsed by:33
Symbol 22 GraphicUsed by:33
Symbol 23 GraphicUsed by:33
Symbol 24 GraphicUsed by:33
Symbol 25 GraphicUsed by:33
Symbol 26 GraphicUsed by:33
Symbol 27 GraphicUsed by:33
Symbol 28 GraphicUsed by:33
Symbol 29 GraphicUsed by:33
Symbol 30 GraphicUsed by:33
Symbol 31 GraphicUsed by:33
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClip {plant_bonsai_3_fla.status_meter_29}Uses:15 16 19 20 21 22 23 24 25 26 27 28 29 30 31 32Used by:47
Symbol 34 GraphicUsed by:38
Symbol 35 FontUsed by:36 37
Symbol 36 EditableTextUses:35Used by:38
Symbol 37 EditableTextUses:35Used by:38
Symbol 38 MovieClip {plant_bonsai_3_fla.status_box_32}Uses:34 36 37Used by:47
Symbol 39 ShapeTweeningUsed by:45
Symbol 40 GraphicUsed by:45
Symbol 41 GraphicUsed by:45
Symbol 42 GraphicUsed by:45
Symbol 43 GraphicUsed by:45
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClip {plant_bonsai_3_fla.status_face_33}Uses:39 40 41 42 43 44Used by:47
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClip {status}Uses:13 14 33 38 45 46
Symbol 48 GraphicUsed by:49 65
Symbol 49 MovieClipUses:48Used by:54 65
Symbol 50 GraphicUsed by:51 65
Symbol 51 MovieClipUses:50Used by:54 65
Symbol 52 GraphicUsed by:53 65
Symbol 53 MovieClipUses:52Used by:54 65
Symbol 54 MovieClip {pitcher_despawn}Uses:49 51 53
Symbol 55 ShapeTweeningUsed by:60
Symbol 56 GraphicUsed by:58 60
Symbol 57 ShapeTweeningUsed by:60
Symbol 58 MovieClipUses:56Used by:60
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClip {plant_bonsai_3_fla.spout_drip_24}Uses:55 56 57 58 59Used by:65
Symbol 61 GraphicUsed by:64
Symbol 62 BitmapUsed by:63
Symbol 63 GraphicUses:62Used by:64
Symbol 64 MovieClipUses:61 63Used by:65
Symbol 65 MovieClip {pitcher}Uses:49 51 53 60 48 50 52 64
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:66Used by:72
Symbol 68 GraphicUsed by:72 74
Symbol 69 GraphicUsed by:72
Symbol 70 GraphicUsed by:72 74
Symbol 71 GraphicUsed by:72 74
Symbol 72 MovieClip {splash_ground}Uses:67 68 69 70 71
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClip {splash}Uses:68 73 70 71
Symbol 75 GraphicUsed by:78
Symbol 76 GraphicUsed by:78
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:75 76 77Used by:79 80 81
Symbol 79 MovieClipUses:78Used by:82
Symbol 80 MovieClipUses:78Used by:82
Symbol 81 MovieClipUses:78Used by:82
Symbol 82 MovieClip {buzzbuzz}Uses:79 80 81
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83Used by:85
Symbol 85 MovieClip {stench}Uses:84
Symbol 86 GraphicUsed by:100
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:87Used by:97
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClipUses:89Used by:97
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:91Used by:97
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:97
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:97 98
Symbol 97 MovieClip {plant_bonsai_3_fla.plant_growth_3}Uses:88 90 92 94 96Used by:98
Symbol 98 MovieClip {plant_bonsai_3_fla.plant_health_2}Uses:97 96Used by:100
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClip {plant_bonsai_3_fla.plant_1}Uses:86 98 99Used by:Timeline
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:Timeline

Instance Names

"thePlant"Frame 1Symbol 100 MovieClip {plant_bonsai_3_fla.plant_1}
"hitBox"Frame 1Symbol 102 MovieClip
"hitBox"Symbol 5 MovieClip {spade} Frame 1Symbol 3 MovieClip
"hitBox"Symbol 5 MovieClip {spade} Frame 2Symbol 3 MovieClip
"hitBox_cancel"Symbol 12 MovieClip {reset_window} Frame 1Symbol 11 MovieClip
"hitBox_reset"Symbol 12 MovieClip {reset_window} Frame 1Symbol 11 MovieClip
"age"Symbol 38 MovieClip {plant_bonsai_3_fla.status_box_32} Frame 1Symbol 36 EditableText
"growth"Symbol 38 MovieClip {plant_bonsai_3_fla.status_box_32} Frame 1Symbol 37 EditableText
"meter"Symbol 47 MovieClip {status} Frame 1Symbol 33 MovieClip {plant_bonsai_3_fla.status_meter_29}
"box"Symbol 47 MovieClip {status} Frame 1Symbol 38 MovieClip {plant_bonsai_3_fla.status_box_32}
"face"Symbol 47 MovieClip {status} Frame 1Symbol 45 MovieClip {plant_bonsai_3_fla.status_face_33}
"plant"Symbol 97 MovieClip {plant_bonsai_3_fla.plant_growth_3} Frame 1Symbol 88 MovieClip
"plant"Symbol 97 MovieClip {plant_bonsai_3_fla.plant_growth_3} Frame 25Symbol 90 MovieClip
"plant"Symbol 97 MovieClip {plant_bonsai_3_fla.plant_growth_3} Frame 50Symbol 92 MovieClip
"plant"Symbol 97 MovieClip {plant_bonsai_3_fla.plant_growth_3} Frame 75Symbol 94 MovieClip
"plant"Symbol 97 MovieClip {plant_bonsai_3_fla.plant_growth_3} Frame 101Symbol 96 MovieClip
"plant"Symbol 98 MovieClip {plant_bonsai_3_fla.plant_health_2} Frame 1Symbol 97 MovieClip {plant_bonsai_3_fla.plant_growth_3}
"plant_health"Symbol 100 MovieClip {plant_bonsai_3_fla.plant_1} Frame 1Symbol 98 MovieClip {plant_bonsai_3_fla.plant_health_2}

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.

Labels

"off"Symbol 5 MovieClip {spade} Frame 1
"on"Symbol 5 MovieClip {spade} Frame 2
"down"Symbol 5 MovieClip {spade} Frame 3
"Best"Symbol 45 MovieClip {plant_bonsai_3_fla.status_face_33} Frame 1
"Normal"Symbol 45 MovieClip {plant_bonsai_3_fla.status_face_33} Frame 2
"Bad"Symbol 45 MovieClip {plant_bonsai_3_fla.status_face_33} Frame 3
"Worst"Symbol 45 MovieClip {plant_bonsai_3_fla.status_face_33} Frame 4
"expanded"Symbol 47 MovieClip {status} Frame 1
"drip"Symbol 60 MovieClip {plant_bonsai_3_fla.spout_drip_24} Frame 1
"wait"Symbol 60 MovieClip {plant_bonsai_3_fla.spout_drip_24} Frame 35
"spawn"Symbol 65 MovieClip {pitcher} Frame 1
"idle_loop"Symbol 65 MovieClip {pitcher} Frame 10
"pour_start"Symbol 65 MovieClip {pitcher} Frame 75
"pouring"Symbol 65 MovieClip {pitcher} Frame 90
"pour_end"Symbol 65 MovieClip {pitcher} Frame 205
"seedling"Symbol 97 MovieClip {plant_bonsai_3_fla.plant_growth_3} Frame 1
"sprout"Symbol 97 MovieClip {plant_bonsai_3_fla.plant_growth_3} Frame 25
"sappling"Symbol 97 MovieClip {plant_bonsai_3_fla.plant_growth_3} Frame 50
"twiggling"Symbol 97 MovieClip {plant_bonsai_3_fla.plant_growth_3} Frame 75
"adult"Symbol 97 MovieClip {plant_bonsai_3_fla.plant_growth_3} Frame 101




http://swfchan.com/38/189681/info.shtml
Created: 15/10 -2018 14:07:04 Last modified: 15/10 -2018 14:07:04 Server time: 22/12 -2024 04:17:39