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

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

?? airintrospector.js

?? 當前比較流行的,漂亮的JS框架,這里面用到的API文檔
?? JS
?? 第 1 頁 / 共 5 頁
字號:
/*
 * Ext JS Library 0.20
 * Copyright(c) 2006-2008, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://extjs.com/license
 */

/* AIRIntrospector.js - Revision: 0.15.88 */

// Copyright 2007-2008. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
//   * Redistributions of source code must retain the above copyright notice,
//     this list of conditions and the following disclaimer.
//   * Redistributions in binary form must reproduce the above copyright notice,
//     this list of conditions and the following disclaimer in the documentation
//     and/or other materials provided with the distribution.
//   * Neither the name of Adobe Systems Incorporated nor the names of its
//     contributors may be used to endorse or promote products derived from this
//     software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.

var air;

(function(){
	
if(typeof air=='undefined') air = {};
air.Introspector = {};


// Check the runtime. 
if(typeof window.runtime!='undefined' && typeof window.nativeWindow!='undefined') 
    var isAppSandbox = true;
else 
    var isAppSandbox = false;
	
//=======================================================================================================================================================
//Introspector.js
//=======================================================================================================================================================




//----------------------------------------------------------------------------------------------------
/**
*	@API air.Introspector.Console
*	@description Exposes log, warn, info, error, dump to the user
*	THIS IS THE ONLY SUPPORTED APIs 
*/

air.Introspector.Console = {
		 log: function(){
		   	air.Introspector.logArguments(arguments,
			 		{htmlLoader:isAppSandbox?window.htmlLoader:null});
		 },

		 warn : function(){
		        air.Introspector.logArguments(arguments,
			 			{htmlLoader:isAppSandbox?window.htmlLoader:null, type:'warn'});        
		 },

		 info : function(){
		        air.Introspector.logArguments(arguments,
			 			{htmlLoader:isAppSandbox?window.htmlLoader:null, type:'info'});        
		 },
 
		 error : function(){
		        air.Introspector.logArguments(arguments,
			 			{htmlLoader:isAppSandbox?window.htmlLoader:null, type:'error'});        
		 }, 
		 dump : function(obj, level){
			air.Introspector.logArguments(air.Introspector.dump(obj, level),
			 		{htmlLoader: isAppSandbox?window.htmlLoader:null, usePre:true});
		 }
};

//----------------------------------------------------------------------------------------------------

air.Introspector.config = {
    showTimestamp: true,						//Make the console show time stamps before each line
    showSender: true,							//Make the console show time stamps
    wrapColumns: 2000,							//Source files are soft-wrapped at around 2000 columns by default 
	flashTabLabels: true,						//Console and xhr columns can flash whenever something happend to them (eg. logged something). You can turn it off
												//by setting this to false
	closeIntrospectorOnExit: true,				//Makes the inspector window close when the last window closed
	debugRuntimeObjects: true,					//Also expand ActionScript objects
	introspectorKey:122,						//Inspect key - by default it is F11 (122)
	debuggerKey:123, 							//Toggle inspectors visibility - by default it is F12 (123)
    useAirDebugHtml: false,						//Internal only
};


/**
*	@module air.Introspector
*/

air.Introspector.extend = function(dst, src){
	//Take every property from src and put it in dst
    for(var i in src){
        dst[i]=src[i];
    }
};

//	Checking if the user has configured Introspector using global AIRIntrospectorConfig variable
if(typeof AIRIntrospectorConfig!='undefined'){
	air.Introspector.extend(air.Introspector.config, AIRIntrospectorConfig);
}

var eventListeners = [];

//	Can not expand ActionScript objects from remote sandbox - we can not even access ActionScript from there 
//	just disabled this feature
if(!isAppSandbox) air.Introspector.config.debugRuntimeObjects = false;

//	Made this use g/setters in order to make it easy to send its value over the bridge
air.Introspector.__defineGetter__('inspect', function(){
    return air.Introspector._inspect;
});

air.Introspector.__defineSetter__('inspect', function(value){
    air.Introspector._inspect=value;
    if(!isAppSandbox){
        setTimeout(function(){
			air.Introspector.noBridge(function(){
				parentSandboxBridge.air_Introspector_setInspect(value);
			});
        }, 0);
    }else{
		if(!value){
			air.Introspector.hideHighlight();
		}
	}
});
	
air.Introspector.extend(air.Introspector, { 

	/**
	*	Makes it easier to acces runtime packages
	*	it makes sense only in the application sandbox
	*/
	runtime: isAppSandbox?{ 
		HTMLLoader : window.runtime.flash.html.HTMLLoader,
		Event : window.runtime.flash.events.Event,
		IOErrorEvent: window.runtime.flash.events.IOErrorEvent,
		NativeApplication: window.runtime.flash.desktop.NativeApplication,
		URLLoader : window.runtime.flash.net.URLLoader,
		URLRequest : window.runtime.flash.net.URLRequest,
		NativeWindowInitOptions : window.runtime.flash.display.NativeWindowInitOptions,
		Capabilities: window.runtime.flash.system.Capabilities,
		trace : window.runtime.trace,
	}:null,
	
	_inspect: false,
	remoteInspect: false,
    canClick: false,

	bridgeCallbacks: [],
	
	
	/**
	*	Different coloring styles for tag names, by default 'default' is used
	*	Undocumented feature
	*		- you can change the color of elements while inspecting by tag name, check bellow the body: 0x00CC00 line,
	*		  uncomment that line, duplicate and change it with your own colors
	*/
    highlightBgColors: {
        'default': 0xFFCC00,
        //body: 0x00CC00,
        
    },

	/**
	*	@function trimRegExp
	*	@description Trims spaces from a string
	*	@private
	*/
    trimRegExp: /^[\s\r\n]*([\s\S]*?)[\s\r\n]*$/g,
    trim:function(str){
    	return str.replace(air.Introspector.trimRegExp, '$1');
    },

	/**
	*	@function blockWrap
	*	@description Wraps a string by air.Introspector.config.wrapColumns columns
	*/
    blockWrap: function(str){
    	//used for spliting large lines in <pre>
    	var cols = air.Introspector.config.wrapColumns;
    	var lines = str.split(/\n/);
    	var buffer = [];
    	var l = lines.length;
    	var lineNumbers = [];
    	for(var i=0;i<l;i++){
    		lineNumbers.push(i+1);
    		var line = lines[i];
    		while(line.length>cols){
    			buffer.push(line.substr(0, cols));
    			line = line.substr(cols);
    			lineNumbers.push('');
    		}
    		buffer.push(line);
    	}
    	lineNumbers.push('EOF');
    	return [buffer.join('\n'), lineNumbers.join('\n')];
    },
	
	/**
	*	@function getTextFormat
	*	@description Returns a new flash TextField
	*/
    createTextField: function(parentSprite, fontSize, fontBold) {
		if(isAppSandbox){
       		var tf = new runtime.flash.text.TextField();
	        tf.embedFonts = false;
	        tf.autoSize = runtime.flash.text.TextFieldAutoSize.LEFT;
	        tf.antiAliasType = runtime.flash.text.AntiAliasType.ADVANCED;
	        tf.defaultTextFormat = air.Introspector.getTextFormat(fontSize, fontBold);
	        tf.selectable = false;
	        tf.mouseEnabled = true;
	        tf.x = 4;
	        tf.text = "";
	        if(parentSprite.numChildren > 0) {
	            var sibling = parentSprite.getChildAt(parentSprite.numChildren - 1);
	            tf.y = sibling.y + sibling.height + 15;
	        }
	        parentSprite.addChild(tf);
	        return tf;
		}else{
			//should not get here
			return null;
		}
    },
    /**
	*	@function getTextFormat
	*	Returns a new flash TextFormat
	*	see createTextField
	*/
    getTextFormat: function(fontSize, fontBold){
		if(isAppSandbox){
        	var format = new runtime.flash.text.TextFormat();
	        format.size = fontSize;
	        format.font = "Tahoma";
	        format.bold = fontBold;
	        format.color = 0x330066;
        	return format;
		}else{
			//should not get here
			return null;
		}
    },
    
	/**
	*	@function extendRect 
	*	@description Initializes the sprite with values from the rectangle
	*/
	extendRect: function(sprite, rect){
		sprite.x = rect.x;
		sprite.y = rect.y;
		sprite.width = rect.width;
		sprite.height = rect.height;
		sprite.scaleX = rect.scaleX;
		sprite.scaleY = rect.scaleY;			
	},
	
	
	/**
	*	@function showHighlight
	*	@description Shows a highlighting flash sprite using coordinates from rectangle
	*/
    showHighlight: function(rect){
		if(isAppSandbox){
	        //dehilight everyone else
	        var ownedWindows = air.Introspector.getHtmlWindows();
	        for(var i=ownedWindows.length-1;i>=0;i--){
	                try{
	                    ownedWindows[i].htmlLoader.window.air.Introspector.hideHighlight();
	                }catch(e){
	                    //no air.Introspector
	                }
	        }
	        air.Introspector.extendRect(air.Introspector.highlightSprite, rect);
		}else{
			setTimeout(function(){
				air.Introspector.noBridge(function(){
					parentSandboxBridge.air_Introspector_showHighlight(rect);				
				});
				
			}, 0);
			
			
		}
    },

	/**
	*	@function hideHighlight
	*	@description Make the higlight box go away
	*/
    hideHighlight: function(){
		if(isAppSandbox){
        	air.Introspector.extendRect(air.Introspector.highlightSprite, {x:0, y:0, width:0, height:0, scaleX:0, scaleY:0});
	        air.Introspector.highlightText.visible = false;
		}else{
			setTimeout(function(){
				try{
					parentSandboxBridge.air_Introspector_hideHighlight();
				}catch(e){ 
						// no bridge yet
					}
			}, 0);
		}
    },

	/**
	*	@function remoteClick
	*	@description Make the remote sandbox know that the inspection finished
	*/
	remoteClick: function(){
		air.Introspector.debugWindow.finishInspect(false);
        air.Introspector.hideHighlight();
	},
	
	
	/**
	*	@function createHighlight
	*	@description 	Creates a flash sprite used to higlight elements
	*				    By using this method we are sure that no dom manipulation is done and  
	*				    no style is changed in HTML.
	*/
    createHighlight: function(){
		if(isAppSandbox){
	        var sprite = new runtime.flash.display.Sprite();
	        sprite.mouseEnabled =  false;
	        sprite.width = 0;
	        sprite.height = 0;
	        sprite.buttonMode = true;
	        var prevent = function(element, event, isClick){
	            air.Introspector.addEventListener(element, event, function(e){
	                if((air.Introspector.inspect||air.Introspector.remoteInspect) &&sprite.hitTestPoint(e.stageX, e.stageY)){
	                    e.preventDefault();
	                    e.stopPropagation();
	                    e.stopImmediatePropagation();
	                   	if(isClick&&air.Introspector.canClick){
							if(air.Introspector.remoteInspect){
								try{
									air.Introspector.inspectFrame.contentWindow.childSandboxBridge.air_Introspector_remoteClick();
								}catch(e){ air.Introspector.noChildBridge(air.Introspector.inspectFrame); }
							}else{
	                        	air.Introspector.debugWindow.finishInspect(false);
		                        air.Introspector.hideHighlight();
							}
	                    }
	                }

	            }, true, 2000000);
	        };
	        var check = function(element, event){
	            air.Introspector.addEventListener(element, event, function(e){
	               if((air.Introspector.inspect||air.Introspector.remoteInspect)&&nativeWindow.active){
	                    setTimeout(function(){
	                        air.Introspector.canClick = true;
	                    }, 100);
	               }
	            }, true, 200000);
	        }
        
	        var labelMover = function(element, event){
	        	air.Introspector.addEventListener(element, event, function(e){
		           if((air.Introspector.inspect||air.Introspector.remoteInspect)){
	                  air.Introspector.highlightText.x = e.stageX+15;
	                  air.Introspector.highlightText.y = e.stageY+15;
//					  air.Introspector.highlightText.visible = true;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩和欧美一区二区| 久久蜜臀精品av| 亚洲图片有声小说| 欧美午夜免费电影| 免费在线观看一区二区三区| 欧美不卡一二三| 韩国一区二区视频| 国产精品久久久久影院亚瑟| 91浏览器入口在线观看| 亚洲成人av一区二区| 日韩一级免费一区| 成人午夜碰碰视频| 亚洲一区二区av电影| 日韩视频在线永久播放| 成人综合在线网站| 一区二区三区在线不卡| 日韩一区二区免费电影| 床上的激情91.| 亚洲成人综合网站| 国产清纯美女被跳蛋高潮一区二区久久w | 国产主播一区二区三区| 中文幕一区二区三区久久蜜桃| 91激情在线视频| 理论片日本一区| 最新日韩在线视频| 56国语精品自产拍在线观看| 国产精品69久久久久水密桃| 一区二区成人在线| 精品福利视频一区二区三区| 99久久精品99国产精品| 蜜桃视频在线一区| 国产精品成人一区二区三区夜夜夜| 欧美视频在线一区| 国产电影一区在线| 天堂成人国产精品一区| 欧美高清在线精品一区| 欧美一级艳片视频免费观看| 成人av高清在线| 免费观看日韩电影| 亚洲激情网站免费观看| 久久精品视频在线看| 欧美精品乱码久久久久久按摩| 国产精品伊人色| 日本亚洲视频在线| 一区二区三区欧美日| 国产欧美一二三区| 精品国精品国产| 欧美日产在线观看| 日本韩国视频一区二区| 大胆欧美人体老妇| 国产一区二区电影| 美女在线一区二区| 奇米影视在线99精品| 一区二区三区免费网站| 中文字幕在线观看不卡| 久久精品一区八戒影视| 日韩午夜激情av| 欧美日产在线观看| 欧美日韩在线三级| 在线观看日韩高清av| 91丨porny丨最新| 成人毛片在线观看| 国产91综合网| 国产91精品入口| 国产精品自拍在线| 国产一区二区在线观看免费| 免费日韩伦理电影| 久久精品国产免费| 美女高潮久久久| 另类小说色综合网站| 狂野欧美性猛交blacked| 日本特黄久久久高潮| 日日夜夜一区二区| 日本不卡一区二区三区高清视频| 亚洲大片精品永久免费| 三级在线观看一区二区| 天堂在线一区二区| 男女视频一区二区| 韩国三级电影一区二区| 国产激情视频一区二区三区欧美| 国内精品写真在线观看| 国产精品18久久久久久久久久久久| 黑人巨大精品欧美黑白配亚洲| 国产精品99久久久久久久女警| 国产成人免费视| 成人精品视频一区| 日本韩国视频一区二区| 欧美福利电影网| 日韩欧美国产不卡| 久久久99久久精品欧美| 国产精品美女久久久久aⅴ国产馆| 中文字幕久久午夜不卡| 亚洲美女免费在线| 亚洲成a人v欧美综合天堂下载| 日韩精品色哟哟| 国产精品白丝av| 一本一道波多野结衣一区二区| 在线观看www91| 欧美一卡二卡三卡| 国产午夜精品一区二区| 亚洲男人天堂一区| 丝袜美腿亚洲一区| 国产成人av电影在线播放| bt欧美亚洲午夜电影天堂| 欧美制服丝袜第一页| 日韩欧美国产不卡| 国产精品久久久久国产精品日日| 亚洲综合色自拍一区| 免费视频一区二区| 不卡视频在线看| 欧美一区三区二区| 中文字幕欧美三区| 天堂蜜桃91精品| 成人午夜精品在线| 6080午夜不卡| 国产精品蜜臀av| 美腿丝袜亚洲色图| 91麻豆免费看| 久久午夜色播影院免费高清| 亚洲黄色免费电影| 国产麻豆视频一区二区| 欧美在线|欧美| 国产日韩一级二级三级| 亚洲成人一区二区在线观看| 国产成人免费视频精品含羞草妖精 | 亚洲一区二区三区精品在线| 久久99精品国产91久久来源| 91一区二区三区在线播放| 91精品婷婷国产综合久久竹菊| 欧美高清在线视频| 久久99国产精品麻豆| 91国偷自产一区二区开放时间| 26uuu国产电影一区二区| 亚洲图片自拍偷拍| 99精品国产91久久久久久| 欧美不卡在线视频| 日韩黄色在线观看| 色婷婷av一区二区三区大白胸| 久久久久青草大香线综合精品| 三级成人在线视频| 欧美色图第一页| **性色生活片久久毛片| 国产99精品国产| 精品999久久久| 青娱乐精品视频在线| 欧美色综合天天久久综合精品| 国产精品女主播av| 国产激情视频一区二区三区欧美| 日韩欧美一区在线| 日韩一区精品字幕| 欧美艳星brazzers| 亚洲精品免费视频| 91免费视频观看| 国产精品每日更新在线播放网址 | 国产不卡免费视频| 精品久久久网站| 老汉av免费一区二区三区| 6080yy午夜一二三区久久| 午夜电影久久久| 欧美久久高跟鞋激| 首页欧美精品中文字幕| 欧美日韩国产天堂| 水野朝阳av一区二区三区| 欧美日韩精品一区视频| 调教+趴+乳夹+国产+精品| 欧美亚洲一区二区三区四区| 亚洲综合色婷婷| 欧美日韩国产色站一区二区三区| 亚洲国产日韩a在线播放性色| 欧美亚洲高清一区| 视频在线在亚洲| 欧美一区二区人人喊爽| 蜜臀av国产精品久久久久| 精品国产91亚洲一区二区三区婷婷| 久久国产视频网| 2欧美一区二区三区在线观看视频| 韩国一区二区三区| 国产精品亲子乱子伦xxxx裸| 成人app网站| 一区二区三区在线免费观看| 欧美三片在线视频观看| 蜜臀精品久久久久久蜜臀| 久久久久久综合| 99久久婷婷国产精品综合| 亚洲综合视频网| 欧美一区二区三区日韩视频| 激情综合网av| 一区在线播放视频| 欧美日韩色综合| 蜜乳av一区二区| 国产精品国产精品国产专区不蜜 | 不卡视频在线观看| 亚洲丰满少妇videoshd| 欧美一级日韩一级| jlzzjlzz国产精品久久| 午夜欧美大尺度福利影院在线看| 日韩一区国产二区欧美三区| 国产麻豆欧美日韩一区| 亚洲欧美成人一区二区三区| 欧美一区二区视频在线观看|