servicebase.as

来自「Yahoo!search API. 用于搜索引擎接口」· AS 代码 · 共 39 行

AS
39
字号
/*Copyright (c) 2007, Yahoo! Inc. All rights reserved.Code licensed under the BSD License:http://developer.yahoo.com/flash/license.html*/package com.yahoo.webapis{	import flash.events.EventDispatcher;	import flash.events.IEventDispatcher;	/**	 * The base class for Service methods	 * 	 * @langversion ActionScript 3.0	 * @playerversion Flash 9	 * @author Alaric Cole 02/22/07	 */		public class ServiceBase extends EventDispatcher	{		/**		 * An Application ID is a string that uniquely identifies your application. Think of it as like a User-Agent string. 		 * If you have multiple applications, you must use a different ID for each one. 		 * @see http://developer.yahoo.com/faq/index.html#appid		 */		 //TODO: dispatch error if no applicationId is set		public var applicationId:String = "YahooDemo";						public function ServiceBase(target:IEventDispatcher=null)		{						super(target);		}			}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?