亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
欧美电影一区二区| 亚洲精品成人a在线观看| 国产精品久久久久三级| 亚洲成人av中文| 成人激情免费网站| 精品sm捆绑视频| 亚洲激情在线激情| 粉嫩av一区二区三区粉嫩| 日韩天堂在线观看| 午夜精品视频一区| 欧美丝袜丝交足nylons图片| 中文字幕精品一区| 国产乱妇无码大片在线观看| 欧美一级片在线看| 午夜伦理一区二区| 欧美性猛交xxxx乱大交退制版| 国产精品久久久久婷婷| 国产suv精品一区二区883| 欧美一区二区三区色| 亚洲一线二线三线久久久| 成人99免费视频| 国产欧美一区二区三区网站| 久久国产精品第一页| 91精品国产入口| 午夜电影一区二区| 欧美美女激情18p| 午夜精品久久久久久久蜜桃app| 99久久伊人久久99| 亚洲三级电影网站| 99精品国产视频| 亚洲免费av观看| 91国内精品野花午夜精品| 亚洲美女区一区| 欧美日韩视频一区二区| 亚洲国产sm捆绑调教视频| 欧美精品在线观看一区二区| 亚洲1区2区3区视频| 中文字幕乱码一区二区免费| 国产高清在线精品| 国产精品久久精品日日| 国产精品99久久久久久似苏梦涵| 久久久99精品免费观看| 99视频精品免费视频| 一卡二卡三卡日韩欧美| 欧美系列亚洲系列| 日本特黄久久久高潮| 2欧美一区二区三区在线观看视频| 国产在线不卡视频| 中文字幕一区二区三区在线观看 | 欧美色爱综合网| 亚洲成a人片在线不卡一二三区| 欧美巨大另类极品videosbest | 亚洲视频一区在线观看| 欧美午夜片在线观看| 日韩精品电影一区亚洲| 亚洲精品在线观| 色婷婷久久99综合精品jk白丝| 亚洲高清视频的网址| 精品国产精品网麻豆系列| 成人性生交大片免费看中文| 久久不见久久见免费视频7| 国产午夜亚洲精品羞羞网站| 色婷婷久久久久swag精品| 免费成人在线视频观看| 国产精品进线69影院| 欧美一区二区视频观看视频| 成年人网站91| 人人狠狠综合久久亚洲| 亚洲欧美怡红院| 日韩精品专区在线| 97久久精品人人澡人人爽| 日本vs亚洲vs韩国一区三区二区| 欧美韩日一区二区三区四区| 欧美精品色综合| 成人深夜在线观看| 青草国产精品久久久久久| 国产精品狼人久久影院观看方式| 制服丝袜亚洲色图| 色噜噜狠狠色综合中国| 国产一区二区三区免费播放| 亚洲一区二区精品久久av| 亚洲国产精品精华液2区45| 欧美一区国产二区| 欧美在线免费观看亚洲| 9l国产精品久久久久麻豆| 免费在线观看精品| 亚洲国产人成综合网站| 国产精品国产a级| 久久久久久久网| 欧美不卡一区二区三区四区| 色婷婷国产精品综合在线观看| 国产精品一区一区三区| 日韩专区中文字幕一区二区| 亚洲黄色av一区| 国产精品乱人伦中文| 亚洲精品一区二区三区影院| 91精品在线免费观看| 色屁屁一区二区| 99精品国产一区二区三区不卡| 国产精品一区二区在线观看网站| 蜜臂av日日欢夜夜爽一区| 日韩精品亚洲一区| 婷婷六月综合网| 三级一区在线视频先锋| 午夜视频在线观看一区二区| 亚洲一区在线视频| 一区二区三区电影在线播| 亚洲另类一区二区| 亚洲乱码中文字幕综合| 亚洲女同一区二区| 亚洲一区欧美一区| 亚洲高清在线视频| 丝瓜av网站精品一区二区| 亚洲h动漫在线| 日韩精品一区第一页| 秋霞电影网一区二区| 蜜桃一区二区三区在线观看| 久久国产精品露脸对白| 国产精品综合网| 成人av免费在线观看| 色欧美日韩亚洲| 欧美伊人久久久久久午夜久久久久| 91福利在线看| 91精品国产福利在线观看| 欧美成人一区二区三区在线观看| 精品日韩欧美一区二区| 国产亚洲精久久久久久| 日本一二三四高清不卡| 亚洲精品国产高清久久伦理二区| 亚洲一区二区三区中文字幕 | 国产a区久久久| 成人性视频网站| 色婷婷精品大在线视频| 欧美日韩在线亚洲一区蜜芽| 91精品国产综合久久福利| 日韩免费高清视频| 国产精品久久久久久久久久免费看 | 亚洲成av人片在线观看| 美国毛片一区二区| 国产成人欧美日韩在线电影| 91在线免费播放| 欧美高清视频一二三区| 久久久久久久av麻豆果冻| 中文字幕色av一区二区三区| 亚洲成va人在线观看| 国内成人免费视频| 91亚洲精品一区二区乱码| 欧美电影在线免费观看| 欧美激情中文字幕一区二区| 亚洲在线视频一区| 国产一区二区免费看| 色呦呦一区二区三区| 精品免费国产二区三区 | 欧美综合欧美视频| 日韩视频一区在线观看| 国产精品激情偷乱一区二区∴| 国内精品国产成人| 色婷婷av一区| 日韩免费观看高清完整版| 亚洲精品视频自拍| 国产黄色成人av| 91精品国产综合久久精品性色 | 蜜桃av一区二区在线观看| av一区二区三区| 精品日产卡一卡二卡麻豆| 亚洲欧美电影一区二区| 国产精选一区二区三区| 欧美人xxxx| 亚洲美女屁股眼交| 懂色av一区二区在线播放| 欧美一区二区在线视频| 一区二区三区四区乱视频| 国内精品久久久久影院一蜜桃| 欧美三日本三级三级在线播放| 国产精品素人视频| 精品一区二区三区在线播放视频| 色综合天天综合网天天狠天天| 精品免费国产一区二区三区四区| 亚洲成人午夜影院| 99久久er热在这里只有精品66| 久久亚洲影视婷婷| 青青草国产成人av片免费| 91福利小视频| 亚洲欧美电影院| 99久久99久久精品免费观看| 欧美国产精品v| 国产一区二区不卡| 欧美电影精品一区二区| 日本三级韩国三级欧美三级| 欧美区在线观看| 午夜精品爽啪视频| 欧美日韩激情一区| 亚洲精品国产第一综合99久久| 99re6这里只有精品视频在线观看| 国产精品免费丝袜| 波多野结衣欧美| 中文字幕日韩精品一区| 成人动漫中文字幕| 国产精品视频免费看| 99久久精品国产观看|