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

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? tweenlite.as

?? 這是一款FLV視頻在線播放器
?? AS
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
?/*
VERSION: 6.1
DATE: 4/4/2008
ACTIONSCRIPT VERSION: 3.0 (AS2 version is also available)
UPDATES & MORE DETAILED DOCUMENTATION AT: http://www.TweenLite.com (there's a link to the AS3 version)
DESCRIPTION:
	Tweening. We all do it. Most of us have learned to avoid Adobe's Tween class in favor of a more powerful, 
	less code-heavy engine (Tweener, Fuse, MC Tween, etc.). Each has its own strengths & weaknesses. A few years back, 
	I created TweenLite because I needed a very compact tweening engine that was fast and efficient (I couldn't 
	afford the file size bloat that came with the other tweening engines). It quickly became integral to my work flow.

	Since then, I've added new capabilities while trying to keep file size way down (3K). TweenFilterLite extends 
	TweenLite and adds the ability to tween filters including ColorMatrixFilter effects like saturation, contrast, 
	brightness, hue, and even colorization but it only adds about 3k to the file size. Same syntax as TweenLite. 
	There are AS2 and AS3 versions of both of the classes.

	I know what you're thinking - "if it's so 'lightweight', it's probably missing a lot of features which makes 
	me nervous about using it as my main tweening engine." It is true that it doesn't have the same feature set 
	as the other tweening engines, but I can honestly say that after using it on almost every project I've worked 
	on over the last few years, I never found myself needing some other functionality. You can tween any property 
	(including a MovieClip's volume and tint), use any easing function, build in delays, callback functions, pass 
	parameters to that callback function, and even tween numeric arrays all with one line of code. You very well 
	may require a feature that TweenLite (or TweenFilterLite) doesn't have, but I think most developers will use 
	the built-in features to accomplish whatever they need and appreciate the streamlined nature of the class(es).

	I haven't been able to find a faster tween engine either. The syntax is simple and the class doesn't rely on 
	complicated prototype alterations that can cause problems with certain compilers. TweenLite is simple, very 
	fast, and more lightweight than any other popular tweening engine with similar features.

ARGUMENTS:
	1) $target : Object - Target MovieClip (or any other object) 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). For example:
							  alpha: The alpha (opacity level) that the target object should finish at (or begin at if you're 
									 using TweenLite.from()). For example, if the target.alpha is 1 when this script is 
									 called, and you specify this argument to be 0.5, it'll transition from 1 to 0.5.
							  x: To change a MovieClip's x position, just set this to the value you'd like the MovieClip to 
								 end up at (or begin at if you're using TweenLite.from()). 
				  SPECIAL PROPERTIES (**OPTIONAL**):
				  	  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.
	
	

EXAMPLES: 
	As a simple example, you could tween the alpha to 50% (0.5) and move the x position of a MovieClip named "clip_mc" 
	to 120 and fade the volume to 0 over the course of 1.5 seconds like so:
	
		import gs.TweenLite;
		TweenLite.to(clip_mc, 1.5, {alpha:0.5, x:120, volume:0});
	
	If you want to get more advanced and tween the clip_mc MovieClip over 5 seconds, changing the alpha to 0.5, 
	the x to 120 using the "easeOutBack" easing function, delay starting the whole tween by 2 seconds, and then call
	a function named "onFinishTween" when it has completed and pass in a few parameters to that function (a value of
	5 and a reference to the clip_mc), you'd do so like:
		
		import gs.TweenLite;
		import fl.motion.easing.Back;
		TweenLite.to(clip_mc, 5, {alpha:0.5, x:120, ease:Back.easeOut, 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 is already in it's end position and you just want to animate it into 
	place over 5 seconds (drop it into place by changing its y property to 100 pixels higher on the screen and 
	dropping it from there), you could:
		
		import gs.TweenLite;
		import fl.motion.easing.Elastic;
		TweenLite.from(clip_mc, 5, {y:"-100", ease:Elastic.easeOut});		
	

NOTES:
	- This class will add about 3kb to your Flash file.
	- Putting quotes around values will make the tween relative to the current value. For example, if you do
	  TweenLite.to(mc, 2, {x:"-20"}); it'll move the mc.x to the left 20 pixels which is the same as doing
	  TweenLite.to(mc, 2, {x:mc.x - 20});
	- You can change the TweenLite.defaultEase function if you prefer something other than Regular.easeOut.
	- You must target Flash Player 9 or later (ActionScript 3.0)
	- You can tween the volume of any MovieClip using the tween property "volume", like:
	  TweenLite.to(myClip_mc, 1.5, {volume:0});
	- You can tween the color of a MovieClip using the tween property "tint", like:
	  TweenLite.to(myClip_mc, 1.5, {tint:0xFF0000});
	- To tween an array, just pass in an array as a property named endArray like:
	  var myArray:Array = [1,2,3,4];
	  TweenLite.to(myArray, 1.5, {endArray:[10,20,30,40]});
	- You can kill all tweens for a particular object (usually a MovieClip) anytime with the 
	  TweenLite.killTweensOf(myClip_mc); function. If you want to have the tweens forced to completion, 
	  pass true as the second parameter, like TweenLite.killTweensOf(myClip_mc, true);
	- You can kill all delayedCalls to a particular function using TweenLite.killDelayedCallsTo(myFunction_func);
	  This can be helpful if you want to preempt a call.
	- Use the TweenLite.from() method to animate things into place. For example, if you have things set up on 
	  the stage in the spot where they should end up, and you just want to animate them into place, you can 
	  pass in the beginning x and/or y and/or alpha (or whatever properties you want).
	  
	  
CHANGE LOG:
	6.1:
		- Ensured that even thousands of tweens are synced (uses an internally-controlled timer)
		- Removed support for mcColor (in favor of "tint")
	6.04:
		- Fixed bug that caused calls to complete() to not render if the tween hadn't ever started (like if there was a delay that hadn't expired yet)
	6.03:
		- Added the "renderOnStart" property that can force TweenLite.from() to render only when the tween actually starts (by default, it renders immediately even if the tween has a delay.)
	6.02:
		- Fixed bug that could cause TweenLite.delayedCall() to generate a 1010 error.
	6.01:
		- Fixed bug that could cause TweenLite.from() to not render the values immediately.
		- Fixed bug that could prevent tweens with a duration of zero from rendering properly.
	6.0:
		- Added ability to tween a MovieClip's frame
		- Added onCompleteScope, onStartScope, and onUpdateScope
		- Reworked internal class routines for handling SubTweens
	5.9:
		- Added ability to tween sound volumes directly (not just MovieClip volumes).
	5.87:
		- Fixed potential 1010 errors when an onUpdate() calls a killTweensOf() for an object.
	5.85:
		- Fixed an issue that prevented TextField filters from being applied properly with TweenFilterLite.
	5.8:
		- 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 (made changes to the render() and initTweenVals() functions)
		- Added a complete() function which allows you to immediately skip to the end of a tween.
	5.61:
		- Removed a line of code that in some very rare instances could contribute to an intermittent 1010 error in TweenFilterLite which extends this class.
		- Fixed an issue with tweening tint and alpha together.
	5.5: 
		- Added a few very minor conditional checks to improve reliability, and re-released with TweenFilterLite 5.5 (which fixed rare 1010 errors).
	5.4: 
		- Eliminated rare 1010 errors with TweenFilterLite
	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 flash.events.Event;
	import flash.display.Sprite;
	import flash.display.MovieClip;
	import flash.display.DisplayObject;
	import flash.events.TimerEvent;
	import flash.media.SoundTransform;
	import flash.geom.ColorTransform;
	import flash.media.SoundChannel;
	import flash.utils.*;

	public class TweenLite {
		public static var version:Number = 6.1;
		public static var killDelayedCallsTo:Function = killTweensOf;
		public static var defaultEase:Function = TweenLite.easeOut;
		protected static var _all:Dictionary = new Dictionary(); //Holds references to all our tween targets.
		protected static var _curTime:uint;
		private static var _classInitted:Boolean;
		private static var _sprite:Sprite = new Sprite(); //A reference to the sprite that we use to drive all our ENTER_FRAME events.
		private static var _listening:Boolean; //If true, the ENTER_FRAME is being listened for (there are tweens that are in the queue)
		private static var _timer:Timer = new Timer(2000);
	
		public var duration:Number; //Duration (in seconds)
		public var vars:Object; //Variables (holds things like alpha or y or whatever we're tweening)
		public var delay:Number; //Delay (in seconds)
		public var startTime:uint; //Start time
		public var initTime:uint; //Time of initialization. Remember, we can build in delays so this property tells us when the frame action was born, not when it actually started doing anything.
		public var tweens:Object; //Contains parsed data for each property that's being tweened (each has to have a target, property, start, and a change).
		public var target:Object; //Target object (often a MovieClip)
		
		protected var _active:Boolean; //If true, this tween is active.
		protected var _subTweens:Array; //Only used for associated sub-tweens like tint and volume
		protected var _hst:Boolean; //Has sub-tweens. We track this with a boolean value as opposed to checking _subTweens.length for speed purposes
		protected var _initted:Boolean;
		
		public function TweenLite($target:Object, $duration:Number, $vars:Object) {
			if ($target == null) {return};
			if (($vars.overwrite != false && $target != null) || _all[$target] == undefined) { 
				delete _all[$target];
				_all[$target] = new Dictionary();
			}
			_all[$target][this] = this;
			this.vars = $vars;
			this.duration = $duration || 0.001; //Easing equations don't work when the duration is zero.
			this.delay = $vars.delay || 0;
			this.target = $target;
			if (!(this.vars.ease is Function)) {
				this.vars.ease = defaultEase;
			}
			if (this.vars.easeParams != null) {
				this.vars.proxiedEase = this.vars.ease;
				this.vars.ease = easeProxy;
			}
			if (!isNaN(Number(this.vars.autoAlpha))) {
				this.vars.alpha = Number(this.vars.autoAlpha);
			}
			this.tweens = {};
			_subTweens = [];
			_hst = _initted = false;
			_active = ($duration == 0 && this.delay == 0);
			if (!_classInitted) {
				_curTime = getTimer();
				_sprite.addEventListener(Event.ENTER_FRAME, executeAll);
				_classInitted = true;
			}
			this.initTime = _curTime;
			if ((this.vars.runBackwards == true && this.vars.renderOnStart != true) || _active) {
				initTweenVals();
				this.startTime = _curTime;
				if (_active) { //Means duration is zero and delay is zero, so render it now, but add one to the startTime because this.duration is always forced to be at least 0.001 since easing equations can't handle zero.
					render(this.startTime + 1);
				} else {
					render(this.startTime);
				}
			}
			if (!_listening && !_active) {
				_timer.addEventListener("timer", killGarbage);
            	_timer.start();
				_listening = true;

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品天干天干在观线| jvid福利写真一区二区三区| 日韩一级完整毛片| 狠狠色综合播放一区二区| 精品91自产拍在线观看一区| 国产精品99久| 亚洲欧洲国产日韩| 欧洲中文字幕精品| 日本午夜精品一区二区三区电影 | 91蝌蚪porny| 亚洲一区二区三区中文字幕在线| 欧美精三区欧美精三区| 美女在线一区二区| 国产亚洲人成网站| 91美女在线观看| 日韩精品一区第一页| 久久久精品黄色| 色婷婷精品大视频在线蜜桃视频| 午夜欧美一区二区三区在线播放| 精品乱人伦小说| 不卡视频一二三四| 亚洲电影一级黄| 久久嫩草精品久久久久| 91美女精品福利| 丝袜亚洲另类欧美综合| 久久久蜜臀国产一区二区| 色综合视频在线观看| 男人的天堂亚洲一区| 日本一区二区电影| 欧美高清性hdvideosex| 国产99久久精品| 亚洲电影激情视频网站| 久久久三级国产网站| 在线免费一区三区| 6080国产精品一区二区| 国产xxx精品视频大全| 亚洲一级片在线观看| 日韩国产一二三区| 色噜噜狠狠成人网p站| 热久久一区二区| 国产午夜亚洲精品不卡| 色视频成人在线观看免| 美女爽到高潮91| 亚洲欧洲国产专区| 6080亚洲精品一区二区| 豆国产96在线|亚洲| 亚洲一区二区三区免费视频| 欧美一区二区观看视频| 色综合久久中文综合久久牛| 狠狠色丁香婷婷综合久久片| 国产在线精品国自产拍免费| 欧美喷潮久久久xxxxx| 国产不卡视频一区| 秋霞午夜av一区二区三区| 国产日产欧美一区二区三区| 色综合天天性综合| 美女诱惑一区二区| 国产精品久久久久婷婷| 欧美一区二区在线不卡| 春色校园综合激情亚洲| 偷拍一区二区三区| 欧美激情中文字幕| 884aa四虎影成人精品一区| www.久久久久久久久| 国产一二三精品| 首页国产欧美日韩丝袜| 亚洲另类中文字| 国产三级精品三级在线专区| 欧美一区二区三区免费视频| 97久久超碰国产精品| 国内精品久久久久影院一蜜桃| 午夜精品久久久久久不卡8050| 国产精品成人免费| 日韩久久精品一区| 色婷婷亚洲婷婷| 国产精品99久久久久久有的能看 | 麻豆成人在线观看| 亚洲欧美日韩电影| 国产欧美精品一区二区色综合| 日韩欧美自拍偷拍| 欧美日韩激情一区二区三区| 国产人伦精品一区二区| 日韩欧美国产三级| 欧美妇女性影城| 欧美在线不卡一区| 色噜噜偷拍精品综合在线| 成人久久久精品乱码一区二区三区| 精品一区二区综合| 免费人成在线不卡| 亚洲gay无套男同| 亚洲综合视频在线观看| 亚洲丝袜另类动漫二区| 国产欧美综合在线观看第十页| 日韩一二三区视频| 欧美一区二区三区免费观看视频 | 亚洲成人先锋电影| 亚洲精品成人在线| 亚洲免费毛片网站| 国产精品免费av| 欧美国产日韩a欧美在线观看| 久久精品视频在线看| 精品国产制服丝袜高跟| 日韩一区二区在线观看视频播放| 色狠狠色噜噜噜综合网| 不卡在线视频中文字幕| 成人av在线网| 91免费看片在线观看| av午夜精品一区二区三区| 国产91丝袜在线播放| 国产在线国偷精品产拍免费yy | 日韩国产欧美在线播放| 亚洲永久免费视频| 亚洲黄色免费网站| 一区二区三区在线免费观看| 亚洲一区二区视频在线观看| 午夜亚洲国产au精品一区二区| 亚洲成人av资源| 在线一区二区三区做爰视频网站| 91一区二区在线观看| 在线一区二区视频| 欧美精品一级二级| 欧美一区二区三区视频在线观看| 精品少妇一区二区三区免费观看| 欧美不卡123| 久久久精品国产免费观看同学| 国产欧美日韩麻豆91| 国产精品国产三级国产普通话蜜臀 | 日韩免费看的电影| 久久亚洲欧美国产精品乐播| 中文字幕第一区| 亚洲免费大片在线观看| 午夜精品久久久久久久久久| 日本vs亚洲vs韩国一区三区二区| 精品在线播放免费| 国产又粗又猛又爽又黄91精品| 国产一区二区视频在线| 国产精品一区在线观看乱码| www.爱久久.com| 欧洲一区在线电影| 在线成人免费观看| 欧美一卡2卡3卡4卡| 亚洲精品在线电影| 久久嫩草精品久久久精品一| 国产精品免费久久久久| 亚洲另类在线视频| 亚洲高清中文字幕| 国内成人精品2018免费看| av在线不卡观看免费观看| 欧美婷婷六月丁香综合色| 亚洲精品在线电影| 亚洲精品国产无套在线观| 日本aⅴ精品一区二区三区 | 精品国产乱码久久久久久久久 | 日韩欧美色综合| 日本一区二区免费在线观看视频| 亚洲精品成人a在线观看| 日韩av午夜在线观看| 成人一区二区三区视频在线观看 | 色哟哟国产精品| 日韩一级精品视频在线观看| 欧美激情综合五月色丁香小说| 亚洲精品老司机| 韩国av一区二区三区四区| 91在线你懂得| 日韩精品一区二区三区视频 | 亚洲小少妇裸体bbw| 国产剧情一区二区三区| 在线看国产一区| 久久久777精品电影网影网| 亚洲一区二区三区四区在线免费观看| 久久99精品国产麻豆不卡| 色哟哟日韩精品| 国产亚洲美州欧州综合国| 香蕉成人伊视频在线观看| 波多野洁衣一区| 精品日韩一区二区三区免费视频| 亚洲品质自拍视频| 精品一区二区三区影院在线午夜| 在线视频你懂得一区二区三区| 欧美精品一区二| 婷婷久久综合九色综合伊人色| 波多野结衣在线一区| 欧美成人精品福利| 亚洲一区精品在线| 成人做爰69片免费看网站| 91精品久久久久久蜜臀| 亚洲欧美一区二区久久| 国产精品一品二品| 欧美一区二区成人| 亚洲综合一区二区三区| 高清不卡一二三区| 91精品黄色片免费大全| 亚洲欧美日韩中文字幕一区二区三区| 美国av一区二区| 在线亚洲高清视频| 国产精品入口麻豆原神| 久久福利视频一区二区| 91麻豆国产福利精品| 精品入口麻豆88视频| 亚洲成人www|