home *** CD-ROM | disk | FTP | other *** search
- package Code.LOGIC.OBJECTS.ACTORS.RECTS
- {
- import Code.LIB._uu24;
- import Code.LOGIC.OBJECTS.ACTORS.INTERFACES._xn130;
- import Code.OPTIONS._dx111;
- import Code.org.cove.ape._ms106;
- import flash.display.Sprite;
-
- public class _le239 extends _gg531 implements _xn130
- {
-
-
- private var _active:Boolean = true;
-
- private var _action:String;
-
- public function _le239(param1:Object)
- {
- var _loc2_:_ms106 = null;
- _active = true;
- param1.width = 40;
- param1.height = 18;
- super(param1);
- _action = param1.action;
- _loc2_ = new _ms106();
- _loc2_.addChild(_uu24._sa70(new _dx111.GActiveButton() as Sprite));
- _mb474(_loc2_);
- }
-
- public static function _lu255() : Object
- {
- var _loc1_:Object = null;
- return {
- "toolClass":_le239,
- "name":"active but",
- "params":{
- "_tp253":0,
- "x":0,
- "y":0,
- "action":""
- }
- };
- }
-
- public function get active() : Boolean
- {
- return _active == true;
- }
-
- public function get action() : String
- {
- return _action.substr(0,_action.length);
- }
-
- public function _he73(param1:String) : void
- {
- switch(param1)
- {
- case "disable":
- _active = false;
- }
- }
-
- public function _eu538() : Object
- {
- var _loc1_:Object = null;
- _loc1_ = new Object();
- _loc1_.prClass = "TActiveButton";
- _loc1_.x = _ej28 - width / 2;
- _loc1_.y = _th99 - height / 2;
- _loc1_._tp253 = _tp253;
- _loc1_.action = _action;
- return _loc1_;
- }
-
- public function _ur45() : Object
- {
- var _loc1_:Object = null;
- _loc1_ = _lu255();
- _loc1_.params.x = _ej28 - width / 2;
- _loc1_.params.y = _th99 - height / 2;
- _loc1_.params._tp253 = _tp253;
- _loc1_.params.action = _action;
- return _loc1_;
- }
- }
- }
-