home *** CD-ROM | disk | FTP | other *** search
- package
- {
- import ENGINE.CORE.OGlobal;
- import ENGINE.INTERFACE.OIObject;
- import ENGINE.INTERFACE.OInterface;
- import flash.display.Bitmap;
- import flash.display.MovieClip;
- import flash.events.MouseEvent;
- import flash.geom.Rectangle;
- import flash.net.URLRequest;
- import flash.net.navigateToURL;
-
- public class OWLogo extends OIObject
- {
-
- public static var OLogoBig:Class = OWLogo_OLogoBig;
-
-
- public var iLogo:Bitmap;
-
- public function OWLogo()
- {
- var _loc1_:Rectangle = null;
- var _loc2_:MovieClip = null;
- this.graphics.beginFill(16777215);
- _loc1_ = OGlobal.StageRect;
- this.graphics.drawRect(-(_loc1_.width - 800 * OGlobal.Scale) / 2,-(_loc1_.height - 600 * OGlobal.Scale) / 2,_loc1_.width,_loc1_.height);
- this.graphics.endFill();
- super([],OInterface.iDefSlowAnimators);
- _loc2_ = new OLogoBig() as MovieClip;
- _loc2_.x = 0;
- _loc2_.y = 0;
- this.addChild(_loc2_);
- }
-
- public function OnClick(param1:MouseEvent) : void
- {
- navigateToURL(new URLRequest("http://www.shockwave.com"),"_blank");
- this.removeEventListener(MouseEvent.CLICK,OnClick);
- this.buttonMode = false;
- }
- }
- }
-