亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tweenfilterlite.as

?? 這是一款FLV視頻在線播放器
?? AS
?? 第 1 頁 / 共 2 頁
字號:
?/*
VERSION: 7.06
DATE: 4/4/2008
ACTIONSCRIPT VERSION: 3.0 (AS2 version is available)
UPDATES & MORE DETAILED DOCUMENTATION AT: http://www.TweenFilterLite.com (has link to AS3 version)
DESCRIPTION:
	TweenFilterLite extends the extremely lightweight (about 3k), powerful TweenLite "core" class, adding the ability to tween filters (like blurs, 
	glows, drop shadows, bevels, etc.) as well as image effects like contrast, colorization, brightness, saturation, hue, and threshold (combined size: about 6k). 
	The syntax is identical to the TweenLite class. If you're unfamiliar with TweenLite, I'd highly recommend that you check it out. 
	It provides easy way to tween multiple object properties over time including a MovieClip's position, alpha, volume, color, etc. 
	Just like the TweenLite class, TweenFilterLite allows you to build in a delay, call any function when the tween starts or has completed
	(even passing any number of parameters you define), automatically kill other tweens that are affecting the same object (to avoid conflicts),
	tween arrays, etc. One of the big benefits of this class (and the reason "Lite" is in the name) is that it was carefully built to 
	minimize file size. There are several other Tweening engines out there, but in my experience, they required more than triple the 
	file size which was unacceptable when dealing with strict file size requirements (like banner ads). I haven't been able to find a 
	faster tweening engine either. The syntax is simple and the class doesn't rely on complicated prototype alterations that can cause 
	problems with certain compilers. TweenFilterLite is simple, very fast, and more lightweight than any other popular tweening engine with similar features.

ARGUMENTS:
	1) $target : Object - Target whose properties we're tweening
	2) $duration : Number - Duration (in seconds) of the effect
	3) $vars : Object - An object containing the end values of all the properties you'd like to have tweened (or if you're using the 
	      TweenLite.from() method, these variables would define the BEGINNING values). Pass in one object for each filter
		  (named appropriately, like blurFilter, glowFilter, colorMatrixFilter, etc.) Filter objects can contain any number of
		  properties specific to that filter, like blurX, blurY, contrast, color, distance, colorize, brightness, highlightAlpha, etc. 
		      SPECIAL PROPERTIES: 
			  	  delay : Number - Amount of delay before the tween should begin (in seconds).
				  ease : Function - You can specify a function to use for the easing with this variable. For example, 
									fl.motion.easing.Elastic.easeOut. The Default is Regular.easeOut.
				  easeParams : Array - An array of extra parameters to feed the easing equation. This can be useful when you 
									   use an equation like Elastic and want to control extra parameters like the amplitude and period.
									   Most easing equations, however, don't require extra parameters so you won't need to pass in any easeParams.
				  autoAlpha : Number - Use it instead of the alpha property to gain the additional feature of toggling 
									   the visible property to false when alpha reaches 0. It will also toggle visible 
									   to true before the tween starts if the value of autoAlpha is greater than zero.
				  volume : Number - To change a MovieClip's or SoundChannel's volume, just set this to the value you'd like the 
									MovieClip/SoundChannel to end up at (or begin at if you're using TweenLite.from()).
				  tint : Number - To change a DisplayObject's tint/color, set this to the hex value of the tint you'd like
								  to end up at(or begin at if you're using TweenLite.from()). An example hex value would be 0xFF0000. 
								  If you'd like to remove the color, just pass null as the value of tint.
				  frame : Number - Use this to tween a MovieClip to a particular frame.
				  onStart : Function - If you'd like to call a function as soon as the tween begins, pass in a reference to it here.
									   This is useful for when there's a delay. 
				  onStartParams : Array - An array of parameters to pass the onStart function. (this is optional)
				  onUpdate : Function - If you'd like to call a function every time the property values are updated (on every frame during
										the time the tween is active), pass a reference to it here.
				  onUpdateParams : Array - An array of parameters to pass the onUpdate function (this is optional)
				  onComplete : Function - If you'd like to call a function when the tween has finished, use this. 
				  onCompleteParams : Array - An array of parameters to pass the onComplete function (this is optional)
				  renderOnStart : Boolean - If you're using TweenFilterLite.from() with a delay and want to prevent the tween from rendering until it
											actually begins, set this to true. By default, it's false which causes TweenLite.from() to render
											its values immediately, even before the delay has expired.
				  overwrite : Boolean - If you do NOT want the tween to automatically overwrite all other tweens that are 
										affecting the same target, make sure this value is false.

	
FITLERS & PROPERTIES:
	blurFilter
		Possible properties: blurX, blurY, quality
		
	glowFilter
		Possible properties: alpha, blurX, blurY, color, strength, quality, inner, knockout
	
	colorMatrixFilter
		Possible properties: colorize, amount, contrast, brightness, saturation, hue, threshold, relative, matrix
	
	dropShadowFilter
		Possible properties: alpha, angle, blurX, blurY, color, distance, strength, quality
	
	bevelFilter
		Possible properties: angle, blurX, blurY, distance, highlightAlpha, highlightColor, shadowAlpha, shadowColor, strength, quality
	

EXAMPLES: 
	As a simple example, you could tween the blur of clip_mc from where it's at now to 20 over the course of 1.5 seconds by:
		
		import gs.TweenFilterLite;
		TweenFilterLite.to(clip_mc, 1.5, {blurFilter:{blurX:20, blurY:20}});
	
	To set up a sequence where we colorize a MovieClip red over the course of 2 seconds, and then blur it over the course of 1 second,:
	
		import gs.TweenFilterLite;
		TweenFilterLite.to(clip_mc, 2, {colorMatrixFilter:{colorize:0xFF0000, amount:1}});
		TweenFilterLite.to(clip_mc, 1, {blurFilter:{blurX:20, blurY:20}, delay:2, overwrite:false});
		
	If you want to get more advanced and tween the clip_mc MovieClip over 5 seconds, changing the saturation to 0, 
	delay starting the whole tween by 2 seconds, and then call a function named "onFinishTween" when it has 
	completed and pass in a few arguments to that function (a value of 5 and a reference to the clip_mc), you'd 
	do so like:
		
		import gs.TweenFilterLite;
		import fl.motion.easing.Back;
		TweenFilterLite.to(clip_mc, 5, {colorMatrixFilter:{saturation:0}, delay:2, onComplete:onFinishTween, onCompleteParams:[5, clip_mc]});
		function onFinishTween(argument1:Number, argument2:MovieClip):void {
			trace("The tween has finished! argument1 = " + argument1 + ", and argument2 = " + argument2);
		}
	
	If you have a MovieClip on the stage that already has the properties you'd like to end at, and you'd like to 
	start with a colorized version (red: 0xFF0000) and tween to the current properties, you could:
		
		import gs.TweenFilterLite;
		TweenFilterLite.from(clip_mc, 5, {type:"color", colorize:0xFF0000});		
	

NOTES:
	- This class (along with the TweenLite class which it extends) will add about 6kb total to your Flash file.
	- Requires that you target Flash 9 Player or later (ActionScript 3.0).
	- Quality defaults to a level of "2" for all filters, but you can pass in a value to override it.
	- The image filter (colorMatrixFilter) functions were built so that you can leverage this class to manipulate matrixes for the
	  ColorMatrixFilter by calling the static functions directly (so you don't necessarily have to be tweening 
	  anything). For example, you could colorize a matrix by:
	  var myNewMatrix:Array = TweenFilterLite.colorize(myOldMatrix, 0xFF0000, 1);
	- Special thanks to Mario Klingemann (http://www.quasimondo.com) for the work he did on his ColorMatrix class.
	  It was very helpful for the image effects.

	  
CHANGE LOG:
	7.04:
		- Added ability to define a "matrix" property for colorMatrixFilters.
	7.03:
		- Fixed to() and from() methods to accept an Object as the target instead of only DisplayObjects
	7.01:
		- SIGNIFICANT: Changed the syntax for defining filters. OLD: TweenFilterLite.to(mc, 2, {type:"blur", blurX:20, blurY:20}), NEW: TweenFilterLite.to(mc, 2, {blurFilter:{blurX:20, blurY:20}})
	6.05:
		- Rearranged some code to make the class more flexible and easier to extend.
	6.04:
		- Made it possible to tween the object's alpha when the filter type doesn't contain an "alpha" property. (like blur, bevel, etc.) 
	6.03:
		- Fixed bug that could cause script timeouts
	6.02:
		- Fixed bug that could cause 1010 errors when TweenFilterLite is used without a filter (example: TweenFilterLite.to(my_mc, 2, {alpha:0.5}).
	6.01:
		- Reduced size
	6.0:
		- Reworked to conform to the changes in TweenLite 6.0
		- Reduced file size and improved speed
		- Fixed a bug that could cause ColorMatrixFilter tweens not to terminate properly
	5.86 and 5.87 and 5.88:
		- Fixed potential 1010 errors when an onUpdate() calls a killTweensOf() for an object.
		- Minor formatting changes
	5.85:
		- Fixed 1010 and 1009 errors that popped up sometimes when TweenFilterLite was used for non-filter tweens.
	5.84:
		- Fixed an issue that prevented TextField filters from being applied properly.
	5.81:
		- Added the ability to define extra easing parameters using easeParams.
		- Changed "mcColor" to "tint" in order to make it more intuitive. Using mcColor for tweening color values is deprecated and will be removed eventually.
	5.7: 
		- Improved speed
	5.6 and 5.5:
		- Fixed very rare, intermittent 1010 errors
	5.3:
		- Added onUpdate and onUpdateParams features
		- Finally removed extra/duplicated (deprecated) constructor parameters that had been left in for almost a year simply for backwards compatibility.
	  
CODED BY: Jack Doyle, jack@greensock.com
Copyright 2008, GreenSock (This work is subject to the terms in http://www.greensock.com/terms_of_use.html.)
*/

package gs {
	import gs.TweenLite;
	import flash.filters.*;
	import flash.display.DisplayObject;
	import flash.utils.getTimer;
	
	public class TweenFilterLite extends TweenLite {
		public static var version:Number = 7.06;
		public static var delayedCall:Function = TweenLite.delayedCall; //Otherwise TweenFilterLite.delayedCall() would throw errors (it's a static method of TweenLite)
		public static var killTweensOf:Function = TweenLite.killTweensOf; //Otherwise TweenFilterLite.killTweensOf() would throw errors (it's a static method of TweenLite)
		public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; //Otherwise TweenFilterLite.killDelayedCallsTo() would throw errors (it's a static method of TweenLite)
		public static var defaultEase:Function = TweenLite.defaultEase;
		private static var _idMatrix:Array = [1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0];
		private static var _lumR:Number = 0.212671; //Red constant - used for a few color matrix filter functions
		private static var _lumG:Number = 0.715160; //Green constant - used for a few color matrix filter functions
		private static var _lumB:Number = 0.072169; //Blue constant - used for a few color matrix filter functions
		private var _matrix:Array;
		private var _endMatrix:Array;
		private var _cmf:ColorMatrixFilter;
		private var _clrsa:Array; //Array that pertains to any color properties (like "color", "highlightColor", "shadowColor", etc.)
		private var _hf:Boolean = false; //Has filters
		private var _filters:Array = []; //Contains objects, one for each filter that's being tweened. Each object contains the following properties: filter, type
		
		public function TweenFilterLite($target:Object, $duration:Number, $vars:Object) {
			super($target, $duration, $vars);
			if (TweenLite.version < 6.1 || isNaN(TweenLite.version)) {
				trace("ERROR! Please update your TweenLite class. TweenFilterLite requires a more recent version. Download updates at http://www.TweenLite.com.");
			}
			if ($vars.type != undefined) {
				trace("TweenFilterLite error: " + $target + " is using deprecated syntax. Please update to the new syntax. See http://www.TweenFilterLite.com for details.");
			}
		}
		
		public static function to($mc:Object, $duration:Number, $vars:Object):TweenFilterLite {
			return new TweenFilterLite($mc, $duration, $vars);
		}
		
		//This function really helps if there are MovieClips whose filters we want to animate into place (they are already in their end state on the stage for example). 
		public static function from($mc:Object, $duration:Number, $vars:Object):TweenFilterLite {
			$vars.runBackwards = true;
			return new TweenFilterLite($mc, $duration, $vars);
		}
		
		override public function initTweenVals($hrp:Boolean = false, $reservedProps:String = ""):void {
			_clrsa = [];
			_filters = [];
			_matrix = _idMatrix.slice();
			$reservedProps += " blurFilter glowFilter colorMatrixFilter dropShadowFilter bevelFilter ";
			if (this.target is DisplayObject) {
				var i:uint, fv:Object; //filter vars
				if (this.vars.blurFilter != undefined) {
					fv = this.vars.blurFilter;
					addFilter("blur", fv, BlurFilter, ["blurX", "blurY", "quality"], new BlurFilter(0, 0, fv.quality || 2));
				}
				if (this.vars.glowFilter != undefined) {
					fv = this.vars.glowFilter;
					addFilter("glow", fv, GlowFilter, ["alpha", "blurX", "blurY", "color", "quality", "strength", "inner", "knockout"], new GlowFilter(0xFFFFFF, 0, 0, 0, fv.strength || 1, fv.quality || 2, fv.inner, fv.knockout));
				}
				if (this.vars.colorMatrixFilter != undefined) {
					fv = this.vars.colorMatrixFilter;
					var cmf:Object = addFilter("colorMatrix", fv, ColorMatrixFilter, [], new ColorMatrixFilter(_matrix));
					_cmf = cmf.filter;
					_matrix = ColorMatrixFilter(_cmf).matrix;
					if (fv.matrix != undefined && fv.matrix is Array) {
						_endMatrix = fv.matrix;
					} else {
						if (fv.relative == true) {
							_endMatrix = _matrix.slice();
						} else {
							_endMatrix = _idMatrix.slice();
						}
						_endMatrix = setBrightness(_endMatrix, fv.brightness);
						_endMatrix = setContrast(_endMatrix, fv.contrast);
						_endMatrix = setHue(_endMatrix, fv.hue);
						_endMatrix = setSaturation(_endMatrix, fv.saturation);
						_endMatrix = setThreshold(_endMatrix, fv.threshold);
						if (!isNaN(fv.colorize)) {
							_endMatrix = colorize(_endMatrix, fv.colorize, fv.amount);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
4438成人网| 中文字幕欧美区| 首页综合国产亚洲丝袜| 欧美日本一区二区在线观看| 亚洲va欧美va人人爽| 欧美肥胖老妇做爰| 久久国产人妖系列| 久久午夜色播影院免费高清| 粉嫩久久99精品久久久久久夜| 国产精品亲子伦对白| 色域天天综合网| 天天操天天综合网| 久久综合色婷婷| av不卡免费在线观看| 性做久久久久久免费观看欧美| 精品人在线二区三区| 成人高清视频免费观看| 亚洲综合在线免费观看| 日韩欧美激情一区| 波多野结衣在线aⅴ中文字幕不卡| 国产精品丝袜91| 欧美日韩高清在线播放| 国产激情视频一区二区在线观看 | 五月天欧美精品| 欧美一级欧美一级在线播放| 成人综合在线视频| 亚洲成人av免费| 国产精品免费视频一区| 欧美久久高跟鞋激| 在线免费观看视频一区| 久久爱www久久做| 一区二区三区中文免费| 精品国产精品网麻豆系列| 91片黄在线观看| 久久成人18免费观看| 亚洲女人****多毛耸耸8| 欧美成人综合网站| 欧美影院午夜播放| 丁香婷婷深情五月亚洲| 日产欧产美韩系列久久99| 中文字幕在线免费不卡| 欧美变态tickling挠脚心| 欧洲一区在线观看| 成人美女视频在线观看18| 久久精品久久99精品久久| 亚洲精品自拍动漫在线| 国产午夜精品在线观看| 91精品久久久久久久99蜜桃 | 日韩一区二区免费在线观看| 97精品国产97久久久久久久久久久久| 男男视频亚洲欧美| 亚洲综合999| 亚洲欧洲av另类| 国产香蕉久久精品综合网| 日韩欧美国产高清| 51精品秘密在线观看| 在线看国产一区二区| 91在线视频在线| 粉嫩高潮美女一区二区三区| 欧美日韩午夜精品| 激情综合色播五月| 丝袜诱惑亚洲看片| 亚洲一级在线观看| 亚洲综合在线视频| 亚洲成人在线免费| 麻豆极品一区二区三区| 五月天激情综合网| 亚洲自拍偷拍麻豆| 一区二区在线电影| 亚洲免费av观看| 中文字幕一区二区三区色视频| 欧美激情综合在线| 中文字幕精品在线不卡| 中文久久乱码一区二区| 亚洲国产成人自拍| 一区视频在线播放| 亚洲欧美欧美一区二区三区| 亚洲欧美一区二区三区极速播放| 国产精品久久久久久福利一牛影视| 国产午夜精品在线观看| 国产精品久久久久久户外露出 | 午夜精品国产更新| 亚欧色一区w666天堂| 图片区小说区区亚洲影院| 三级在线观看一区二区| 性做久久久久久免费观看欧美| 爽爽淫人综合网网站| 麻豆精品视频在线观看免费| 九九国产精品视频| 国产乱码字幕精品高清av| 国产成人福利片| 99麻豆久久久国产精品免费优播| 99久久99久久免费精品蜜臀| 91麻豆精品视频| 欧美猛男gaygay网站| 日韩美女一区二区三区| 久久久久久一级片| 亚洲色图欧美激情| 亚洲第一电影网| 蜜桃在线一区二区三区| 国产成人精品影视| 91视频一区二区| 7777精品伊人久久久大香线蕉经典版下载| 欧美酷刑日本凌虐凌虐| 26uuu色噜噜精品一区二区| 国产精品久久久久久久久久免费看| 夜夜揉揉日日人人青青一国产精品 | 国产欧美一区二区三区沐欲| 亚洲日韩欧美一区二区在线| 亚洲韩国精品一区| 韩国中文字幕2020精品| 亚洲美女屁股眼交3| 日韩经典中文字幕一区| 日本不卡高清视频| 国产高清亚洲一区| 日本大香伊一区二区三区| 欧美一区二区精品在线| 国产日韩在线不卡| 亚洲电影欧美电影有声小说| 九九精品视频在线看| 色94色欧美sute亚洲线路一ni| 91精品国产91久久久久久最新毛片| 国产日韩精品一区二区三区| 亚洲自拍偷拍九九九| 国产精品18久久久久| 欧美无砖专区一中文字| 国产午夜精品在线观看| 天天综合色天天| 成人激情免费视频| 久草在线在线精品观看| 不卡一卡二卡三乱码免费网站| 欧美三级日韩三级国产三级| 国产亚洲自拍一区| 日韩国产一二三区| 91在线小视频| 久久久不卡影院| 免费久久99精品国产| 91黄视频在线观看| 国产精品私人影院| 美女视频黄 久久| 欧美伊人久久久久久久久影院| 欧美国产欧美亚州国产日韩mv天天看完整| 偷拍一区二区三区| 日本道免费精品一区二区三区| 国产精品理伦片| 国产一区二区三区视频在线播放| 欧美日韩国产免费一区二区 | 日韩西西人体444www| 一区二区三区四区中文字幕| 风流少妇一区二区| 久久婷婷综合激情| 久久 天天综合| 日韩三级视频中文字幕| 国产 日韩 欧美大片| 99re6这里只有精品视频在线观看| 日韩视频免费观看高清完整版在线观看 | 亚洲精品大片www| 不卡电影免费在线播放一区| 久久久精品免费网站| 美女性感视频久久| 欧美一区二区精品| 日韩电影在线免费| 制服丝袜亚洲网站| 午夜成人免费电影| 欧美日韩高清一区| 亚洲成人免费视频| 欧美日韩二区三区| 视频一区在线视频| 91精品国产91热久久久做人人| 午夜亚洲福利老司机| 欧美日韩大陆一区二区| 天天综合色天天| 日韩一区二区三区三四区视频在线观看 | 精品国产乱码久久久久久图片| 日本成人中文字幕在线视频| 91精品欧美一区二区三区综合在 | 久久亚洲综合av| 国产一区二区不卡在线| 国产午夜精品久久久久久免费视| 国产一区三区三区| 国产精品三级在线观看| yourporn久久国产精品| 亚洲人成人一区二区在线观看| 91国偷自产一区二区三区成为亚洲经典 | 国产乱码精品一品二品| 欧美国产禁国产网站cc| 91欧美一区二区| 亚洲高清视频在线| 日韩午夜激情电影| 国产成人精品免费在线| 亚洲国产综合在线| 精品国产sm最大网站| 国产成人在线视频网址| 亚洲欧洲日本在线| 精品视频免费看| 国产自产视频一区二区三区| 国产精品毛片a∨一区二区三区| 色婷婷精品大在线视频| 日韩一区精品视频| 国产日韩精品一区|