home *** CD-ROM | disk | FTP | other *** search
- package Code.LOGIC.OBJECTS.GRAPHICS
- {
- import Code.LIB._iv163;
- import Code.LIB._uu24;
- import Code.LOGIC.OBJECTS.ACTORS.BLOB._pg56;
- import Code.OPTIONS._dx111;
- import Code.org.cove.ape._ms106;
- import flash.display.Sprite;
-
- public class _mi130 extends _ms106
- {
-
-
- private var pictureInd:int;
-
- private var picture:_iv163;
-
- private var pictures:Array;
-
- private var timer:int;
-
- private var direction:int = 1;
-
- private var blob:_pg56;
-
- public function _mi130(param1:_pg56)
- {
- var _loc2_:Sprite = null;
- direction = 1;
- super();
- this.blob = param1;
- this.picture = new _iv163();
- this.pictures = new Array();
- _loc2_ = new _dx111.GAlienBlob1() as Sprite;
- _loc2_.scaleX = _loc2_.scaleY = param1.radius / 30;
- pictures.push(_uu24._sa70(_loc2_));
- _loc2_ = new _dx111.GAlienBlob2() as Sprite;
- _loc2_.scaleX = _loc2_.scaleY = param1.radius / 30;
- pictures.push(_uu24._sa70(_loc2_));
- _loc2_ = new _dx111.GAlienBlob3() as Sprite;
- _loc2_.scaleX = _loc2_.scaleY = param1.radius / 30;
- pictures.push(_uu24._sa70(_loc2_));
- _loc2_ = new _dx111.GAlienBlob4() as Sprite;
- _loc2_.scaleX = _loc2_.scaleY = param1.radius / 30;
- pictures.push(_uu24._sa70(_loc2_));
- _loc2_ = new _dx111.GAlienBlob5() as Sprite;
- _loc2_.scaleX = _loc2_.scaleY = param1.radius / 30;
- pictures.push(_uu24._sa70(_loc2_));
- addChild(this.picture);
- this.pictureInd = 0;
- _iv163(pictures[pictureInd])._dn458(picture);
- this.timer = 0;
- }
-
- override public function onEnterFrame() : void
- {
- super.onEnterFrame();
- if(++timer > 2)
- {
- pictureInd += direction;
- _iv163(pictures[pictureInd])._dn458(picture);
- timer = 0;
- if(pictureInd >= pictures.length - 1 || pictureInd <= 0)
- {
- direction *= -1;
- }
- }
- if(blob._rx33.x > 0.1 && scaleX > 0 || blob._rx33.x < -0.1 && scaleX < 0)
- {
- scaleX *= -1;
- }
- }
-
- override public function set rotation(param1:Number) : void
- {
- }
- }
- }
-