⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gtalk.as

📁 flash blog
💻 AS
字号:
 //Yellow Gtalkimport gotopimport mx.utils.Delegateimport mx.containers.ScrollPaneclass gtalk extends MovieClip{	var zoomer : MovieClip;	var mcmask : MovieClip	var ccc : ScrollPane	var mcdrag, t1, t2, t3, centermc, b1, go_, gox, logomc, rssbutton, s1, s2, s3, stxt	function onLoad ()	{		init ()		_root.attachMovie ("zoom_mouse", "zoom_mouse", - 123)		new gotop (_root.zoom_mouse)		_root.zoom_mouse._visible = false		//		zoomer.bigw = 160;		zoomer.bigh = 200;		//			}	function init ()	{		ccc.setStyle ("themeColor", "0x0099FF");		ccc.setStyle ("borderStyle", "none");		mcdrag._alpha = mcmask._alpha = 0		mcdrag.useHandCursor = t1.useHandCursor = t2.useHandCursor = t3.useHandCursor = centermc.useHandCursor = b1.useHandCursor = false		t1.onRelease = t2.onRelease = t3.onRelease = centermc.onRelease = b1.onRelease = function ()		{			new gotop (this._parent)			new gotop (this._parent)		}		this.attachMovie ("zoomer", "zoomer", - 123)		new gotop (this.zoomer)		zoomer.setDepthAbove (mcmask);		zoomer.callfunction = Delegate.create (this, zoomchange);		zoomer.mc = mcmask;		startdrags()		zoomchange ()		mcdrag.onPress = Delegate.create (this, dragonpress);		mcdrag.onRelease = mcdrag.onReleaseOutside = Delegate.create (this, stopdrag);	}	function dragonpress ()	{		new gotop (this)		new gotop (this)		t1.startDrag (false, - this._x, - this._y, - this._x + Stage.width - this.b1._width, - this._y + Stage.height - this.mcmask._height)		this.onEnterFrame = function ()		{			startdrags ();		};	}	function stopdrag ()	{		t1.stopDrag ();		delete this.onEnterFrame;		startdrags ();	}	function startdrags ()	{		ccc._x = t1._x;		ccc._y = t1._y + 150;		mcdrag._x = t1._x;		mcdrag._y = t1._y;		logomc._x = t1._x + 3.55;		logomc._y = t1._y + 3.25;		t2._x = t1._x + t1._width;		t3._x = t2._x + t2._width;		mcmask._x = t1._x;		mcmask._y = t1._y;		t2._y = t3._y = t1._y;		b1._x = centermc._x = t1._x;		centermc._y = t1._y + t1._height;		b1._y = centermc._y + centermc._height;		//		rssbutton._x = t3._x - 23.8;		rssbutton._y = t1._y + 30;		s1._y = s2._y = s3._y = t1._y + 122;		s1._x = t1._x + 9.4;		s3._x = t3._x - 19.5;		s2._x = s1._x + s1._width;		stxt._y = s1._y + 2;		stxt._x = s2._x + 3;		ccc.setSize (mcmask._width, t1._y + (mcmask._height - ccc._y) - 16);	}	function zoomchange ()	{		new gotop (this)		new gotop (_root.zoom_mouse)		dingwei (mcmask._width, mcmask._height);	}	function dingwei (w : Number, h : Number)	{		mcdrag._width = w;		ccc._x = t1._x;		ccc._y = t1._y + 150;		mcdrag._x = t1._x;		mcdrag._y = t1._y;		logomc._x = t1._x + 3.55;		logomc._y = t1._y + 3.25;		t2._width = w - (t1._width + t3._width);		t2._x = t1._x + t1._width;		t3._x = t2._x + t2._width;		t2._y = t3._y = t1._y;		b1._width = centermc._width = w;		centermc._height = h - (t1._height + b1._height);		b1._x = centermc._x = t1._x;		b1._y = centermc._y + centermc._height;		//		rssbutton._x = t3._x - 23.8;		rssbutton._y = t1._y + 30;		s1._y = s2._y = s3._y = t1._y + 122;		s1._x = t1._x + 9.4;		s3._x = t3._x - 19.5;		s2._x = s1._x + s1._width;		stxt._width = s2._width = s3._x - (s1._width + s1._x);		stxt._y = s1._y + 2;		stxt._x = s2._x + 3;		ccc.setSize (w, t1._y + (h - ccc._y) - 16);		//			}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -