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

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

?? livepreviewparent.as

?? flash 360全景瀏覽
?? AS
字號:
?/**
* @private
*/
// Copyright 2007. Adobe Systems Incorporated. All Rights Reserved.
package fl.livepreview {
	import flash.display.*;
	import flash.external.*;
	import flash.utils.*;	

	/**
	 * The LivePreviewParent class provides the timeline for a SWC file 
	 * or for a compiled clip that is being exported when ActionScript 3.0 
	 * is selected.
     *
	 * <p>When a property is set on a component instance or when a component 
	 * instance is resized on the Stage, Flash makes calls to the methods of 
	 * this class, which in turn call methods in your component code to set 
	 * the properties and to resize the component.</p>
	 *
	 * <p>In cases where your component must implement a specific action when 
	 * it is in live preview mode, use the following code to test for live preview 
	 * mode:</p>
	 *
	 * <listing>var isLivePreview:Boolean = (parent != null &amp;&amp; getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent");</listing>
	 *
	 * <p>The LivePreviewParent class supports the definition of a <code>setSize()</code> 
	 * method that uses <code>width</code> and <code>height</code> values to resize 
	 * a component. If you do not define a <code>setSize()</code> method, this object 
	 * sets the <code>width</code> and <code>height</code> properties individually.</p>
	 *
	 * <p>You can also use this class to create a custom live preview SWF file without 
	 * creating a SWC file; however, it is probably easier to create a component live 
	 * preview file by:</p>
	 * <ul>
	 * <li>Exporting your component as a SWC file.</li>
	 * <li>Changing the .swc file extension to .zip.</li>
	 * <li>Extracting the SWF file within the ZIP file.</li>
	 * </ul> 
	 * <p>To create a component live preview file in this way, follow these steps:</p>
	 * <ol>
	 * <li>Create a new Flash document.</li>
	 * <li>Set its document class to fl.livepreview.LivePreviewParent.</li> 
	 * <li>Drag your component to the Stage and position it to x and y coordinates of 0.</li>
	 * <li>Check to ensure that the component parameters remain at their default settings.
	 * This should be the case if you drag the component from the Library panel or from the 
	 * Components panel.</li>
	 * <li>Select Modify &gt; Document from the main menu and, for the Match option, click Contents.</li>
	 * <li>Click OK.</li>
	 * <li>Publish the file to see the resulting SWF file as a custom live preview
	 * SWF file.</li>
     * <li>Right-click the asset in the Library panel and select Component Definition from the context menu.</li>
     * <li>The Component Definition dialog box allows you to specify a custom live preview 
	 * SWF file for a component.</li>
	 * </ol>
	 *
	 * <p>In some cases, you may want to have a custom live preview SWF file that is
	 * completely different from your component. See the live preview of the fl.containers.UILoader
	 * component for such an example. This live preview does not use the properties of UILoader, 
	 * nor does it implement getter and setter functions for these properties. It does, however,
	 * implement a <code>setSize()</code> method that uses <code>width</code> and <code>height</code>
	 * parameters to draw the component at the new size.</p>
	 *
	 * @internal for example, you can look at the code UILoader live preview as and fla at
	 * //depot/main/frameworks/UIControls_BLAZE/fla/...
	 * 
     * @langversion 3.0
     * @playerversion Flash 9.0.28.0
	 */
	public class LivePreviewParent extends MovieClip {

		/**
         * The component instance.
         *
         * @langversion 3.0
         * @playerversion Flash 9.0.28.0
		 */
		public var myInstance:DisplayObject;

		/**
         * Initializes the scale and align modes of the Stage, sets the 
		 * <code>myInstance</code> property, resizes <code>myInstance</code> to
		 * the proper size and uses the ExternalInterface class to expose 
		 * functions to Flash.
         *
         * @langversion 3.0
         * @playerversion Flash 9.0.28.0
		 */
		public function LivePreviewParent()
		{
			// init Stage
			stage.align = StageAlign.TOP_LEFT;
			stage.scaleMode = StageScaleMode.NO_SCALE;

			// grab pointer to our one and only child, the component
			myInstance = getChildAt(0);

			// resize our one and only child
			onResize(stage.width, stage.height);

			// register external interfaces
			if (ExternalInterface.available) {
				ExternalInterface.addCallback("onResize", onResize);
				ExternalInterface.addCallback("onUpdate", onUpdate);
			}
		}


		/**
         * Resizes the component instance on the Stage to the specified
		 * dimensions, either by calling a user-defined method, or by 
		 * separately setting the <code>width</code> and <code>height</code> 
		 * properties.
		 *
		 * <p>This method is called by Flash Player.</p>
		 *
		 * @param width The new width for the <code>myInstance</code> instance.
		 * @param height The new height for the <code>myInstance</code> instance.
         *
         * @langversion 3.0
         * @playerversion Flash 9.0.28.0
		 */
		public function onResize(width:Number, height:Number):void
		{
			var setSizeFn:Function = null;
			try {
				setSizeFn = myInstance["setSize"];
			} catch (e:Error) {
				setSizeFn = null;
			}
			if (setSizeFn != null) {
				setSizeFn(width, height);
			} else {
				myInstance.width = width;
				myInstance.height = height;
			}
		}

		/**
         * Updates the properties of the component instance.  
		 * This method is called by Flash Player when there 
		 * is a change in the value of a property. This method
		 * updates all component properties, whether or not 
		 * they were changed.
		 *
		 * @param updateArray An array of parameter names and values.
         *
         * @langversion 3.0
         * @playerversion Flash 9.0.28.0
		 */
		public function onUpdate(...updateArray:Array):void
		{
			propertyInspectorSettingUpdate(true);
			for (var i:int = 0; i + 1 < updateArray.length; i += 2) {
				try {
					var name:String = String(updateArray[i]);
					var value:* = updateArray[i+1];
					if (typeof value == "object" && value.__treatAsCollectionSpecialSauce__) {
						updateCollection(value, name);
					} else {
						myInstance[name] = value;
					}
				} catch (e:Error) {
				}
			}
			propertyInspectorSettingUpdate(false);
		}
		
		public function propertyInspectorSettingUpdate(updating:Boolean):void
		{
			try {
				myInstance["propertyInspectorSetting"] = updating;
			} catch (e:Error) {
				trace("propertyInspectorSettingUpdate error", e.message);
			}
		}

		/**
         * @private
         *
         * @langversion 3.0
         * @playerversion Flash 9.0.28.0
		 */
		private function updateCollection(collDesc:Object, index:String):void
		{
			// load classes, create object
			var CollectionClass:Class = Class(getDefinitionByName(collDesc.collectionClass));
			var CollectionItemClass:Class = Class(getDefinitionByName(collDesc.collectionItemClass));
			var collObj:Object = new CollectionClass();

			// iterate through array, populating collObj
			for (var i:int = 0; i < collDesc.collectionArray.length; i++ ) {
				var itemObj:Object = new CollectionItemClass();
				var collProp:Object = collDesc.collectionArray[i];
				for (var j:* in collProp) {
					itemObj[j] = collProp[j];
				}
				collObj.addItem(itemObj);
			}

			// set the property
			myInstance[index] = (collObj as CollectionClass);
		}
	}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品午夜久久久| 美女视频一区二区| 在线精品观看国产| 亚洲国产成人91porn| 国产精品第五页| 亚洲免费在线视频一区 二区| 日韩欧美的一区二区| 奇米色777欧美一区二区| 欧美人xxxx| 成人一区二区三区| 一区二区三区久久| ww久久中文字幕| 欧美午夜不卡视频| 国产麻豆精品theporn| 一二三区精品视频| 欧美成人一区二区| 欧美日韩高清一区| 成人黄色一级视频| 蜜桃视频免费观看一区| 亚洲欧美一区二区在线观看| 91精品免费在线| www.在线成人| 久久疯狂做爰流白浆xx| 亚洲一级二级三级| 国产欧美日韩在线视频| 欧美老女人在线| 99re热视频精品| 不卡在线视频中文字幕| 精品一区二区三区在线观看国产 | 精品不卡在线视频| 欧美午夜寂寞影院| 欧美日韩一区在线| 在线中文字幕一区二区| 9人人澡人人爽人人精品| 国产成人亚洲综合a∨婷婷| 精品无人区卡一卡二卡三乱码免费卡| 亚洲高清免费在线| 婷婷国产v国产偷v亚洲高清| 天天操天天干天天综合网| 午夜久久久影院| 蜜桃av一区二区三区| 极品少妇xxxx精品少妇偷拍| 久久精品国内一区二区三区| 另类小说视频一区二区| 国产一区二区中文字幕| 91亚洲国产成人精品一区二三| 成人h动漫精品| 欧美女孩性生活视频| 欧美r级在线观看| 国产亚洲综合av| 亚洲精品写真福利| 久久99精品久久久久久| 国产不卡免费视频| 欧美精选午夜久久久乱码6080| 欧美精品v国产精品v日韩精品| 精品三级在线看| 伊人一区二区三区| 国精产品一区一区三区mba桃花| 成人精品免费视频| 日韩欧美电影一区| 五月天激情综合| 97久久精品人人澡人人爽| 日韩精品一区二区三区老鸭窝| 欧美—级在线免费片| 琪琪一区二区三区| 欧美视频在线观看一区二区| 日本一区二区高清| 国产精品一区二区果冻传媒| 欧美精品99久久久**| 中文字幕一区二区三区在线播放| 老司机免费视频一区二区三区| 91福利社在线观看| 亚洲欧美综合在线精品| 国产高清视频一区| 精品91自产拍在线观看一区| 蜜桃久久久久久| 欧美xxxxxxxx| 高清国产午夜精品久久久久久| 国产日韩综合av| 成人精品一区二区三区中文字幕| 欧美韩国日本一区| 99精品久久久久久| 亚洲免费观看高清| 欧美丝袜丝交足nylons| 日韩高清在线不卡| 69堂国产成人免费视频| 精东粉嫩av免费一区二区三区| 4438x亚洲最大成人网| 精品一区二区日韩| 国产精品欧美久久久久无广告| 成人激情小说网站| 亚洲午夜电影在线观看| 91精品国产一区二区三区| 国产一区二区在线视频| 亚洲精品亚洲人成人网| 91精品国产福利在线观看| 国产九九视频一区二区三区| 亚洲欧美国产高清| 欧美精品一区二区三区高清aⅴ| 成人免费视频一区二区| 天天做天天摸天天爽国产一区| 久久久久高清精品| 欧美年轻男男videosbes| 国产98色在线|日韩| 日韩经典一区二区| 亚洲一区免费观看| 国产精品的网站| 国产精品嫩草影院av蜜臀| 欧美一区二区三区免费大片 | 精品一区二区免费看| 亚洲欧美一区二区不卡| 国产精品国产三级国产普通话蜜臀 | 精品一区二区国语对白| 偷拍一区二区三区| 亚洲午夜精品在线| 亚洲精品自拍动漫在线| 国产精品久久久久一区二区三区| 91成人免费在线视频| 99久久精品免费| 91视视频在线观看入口直接观看www | 亚洲女同一区二区| 最新日韩在线视频| 亚洲人成网站影音先锋播放| 国产精品日韩成人| 亚洲午夜精品网| 免费久久精品视频| 国内成+人亚洲+欧美+综合在线| 久久精品国产亚洲aⅴ| 国内精品在线播放| 91亚洲永久精品| 欧美人与禽zozo性伦| 欧美一二三四在线| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 日本亚洲欧美天堂免费| 一卡二卡欧美日韩| 日韩精品91亚洲二区在线观看| 蜜桃av噜噜一区| 91美女蜜桃在线| 欧美一区二区三区公司| 国产日韩综合av| 亚洲bt欧美bt精品| 国产 欧美在线| 欧美日本一道本在线视频| 久久久久久久久久久久久久久99 | 国产精品久久久久久久久搜平片| 亚洲视频免费在线| 国产精品1区二区.| 欧美一区二区日韩| 亚洲男人天堂av| 久久99精品久久久| 日韩一区二区在线看片| 亚洲色图.com| 成人福利视频网站| 日韩免费观看2025年上映的电影 | 亚洲视频1区2区| 精品一区二区三区日韩| 日韩三级精品电影久久久 | 欧美丝袜自拍制服另类| 国产精品久久久久久久久免费桃花| 天堂va蜜桃一区二区三区| 欧美探花视频资源| 亚洲女同ⅹxx女同tv| www.亚洲色图.com| 亚洲女同ⅹxx女同tv| 99精品视频一区| 夜夜夜精品看看| 5858s免费视频成人| 秋霞国产午夜精品免费视频| 欧美日韩在线三级| 美国三级日本三级久久99| 欧美一级夜夜爽| 国内精品视频一区二区三区八戒| 欧美一二区视频| 国产成人亚洲精品狼色在线| 亚洲国产电影在线观看| 在线观看精品一区| 蜜桃精品视频在线观看| 国产精品欧美一区二区三区| 色呦呦日韩精品| 日本最新不卡在线| 91麻豆精品91久久久久久清纯| 激情六月婷婷综合| 一区二区三区欧美久久| 日韩精品在线网站| 色婷婷久久一区二区三区麻豆| 免费人成网站在线观看欧美高清| 国产亚洲精品超碰| 91超碰这里只有精品国产| 成人国产精品免费观看动漫| 蜜臀av性久久久久蜜臀aⅴ四虎 | 国产精品18久久久久久久久久久久| 国产精品传媒入口麻豆| 精品日韩99亚洲| 欧美精品成人一区二区三区四区| 粉嫩av亚洲一区二区图片| 美女视频黄久久| 日本在线不卡视频| 一区二区三区欧美| 99久久久国产精品免费蜜臀| 国产乱淫av一区二区三区|