(仅� AIR)
包mx.core
ç±»public class FlexHTMLLoader
继承FlexHTMLLoader Inheritance HTMLLoader Inheritance Sprite Inheritance DisplayObjectContainer Inheritance InteractiveObject Inheritance DisplayObject Inheritance EventDispatcher Inheritance Object
实现 IFocusManagerComplexComponent

è¿�行时版本: AIR 1.1

FlexHTMLLoader 是 Player 的 HTMLLoader 类的�类,�供 Flex HTML 控件使用。它将覆盖 toString() 方法以返回一个字符串,用于指示对象在应用程�的 DisplayObject 层次结构中所处的�置。



公共属性
 å±žæ€§å®šä¹‰æ–¹
 InheritedaccessibilityProperties : AccessibilityProperties
此显示对象的当�辅助功能选项。
DisplayObject
 Inheritedalpha : Number
指示指定对象的 Alpha �明度值。
DisplayObject
 InheritedAIR-only authenticate : Boolean
指定是�应为此对象�出的 HTTP 请求处�验�请求,如果是,则为 true,�则为 false。
HTMLLoader
 InheritedblendMode : String
BlendMode 类中的一个值,用于指定�使用的混�模�。
DisplayObject
 InheritedblendShader : Shader
[�写] 设置用于混��景和背景的�色器。
DisplayObject
 InheritedbuttonMode : Boolean
指定此 sprite 的按钮模�。
Sprite
 InheritedcacheAsBitmap : Boolean
如果设置为 true,则 Flash Player 或 Adobe AIR 将缓存显示对象的内部�图表示形�。
DisplayObject
 InheritedAIR-only cacheResponse : Boolean
指定是�应为此对象�出的 HTTP 请求缓存�功的�应数�。
HTMLLoader
 Inheritedconstructor : Object
对类对象或给定对象实例的构造函数的引用。
Object
 InheritedAIR-only contentHeight : Number
[�读 (read-only)] HTML 内容的高度(以�素为��)。
HTMLLoader
 InheritedAIR-only contentWidth : Number
[�读 (read-only)] HTML 内容的宽度(以�素为��)。
HTMLLoader
 InheritedcontextMenu : NativeMenu
指定与此对象相关�的上下文��。
InteractiveObject
 InheriteddoubleClickEnabled : Boolean
指定此对象是�接收 doubleClick 事件。
InteractiveObject
 InheriteddropTarget : DisplayObject
[�读 (read-only)] 指定拖动 sprite 时�过的显示对象,或放置 sprite 的显示对象。
Sprite
 Inheritedfilters : Array
包�当�与显示对象关�的�个滤镜对象的索引数组。
DisplayObject
  focusEnabled : Boolean
一个标志,用于指示组件处于选中状�时是��以获得焦点。
FlexHTMLLoader
 InheritedfocusRect : Object
指定此对象是�显示焦点矩形。
InteractiveObject
 Inheritedgraphics : Graphics
[�读 (read-only)] 指定属于此 sprite 的 Graphics 对象,在此 sprite 中�执行矢�绘画命令。
Sprite
 InheritedAIR-only hasFocusableContent : Boolean
[�读 (read-only)] 指示 HTMLLoader 对象中的任何内容是��获得焦点。
HTMLLoader
 InheritedAIR-only height : Number
指定所呈现的 HTML 画布的矩形高度。
HTMLLoader
 InheritedAIR-only historyLength : uint
[�读 (read-only)] 历�记录列表的总长度,包括��和��的�目。
HTMLLoader
 InheritedAIR-only historyPosition : uint
历�记录列表中的当��置。
HTMLLoader
 InheritedhitArea : Sprite
指定一个 sprite 用作�一个 sprite 的点击区域。
Sprite
 InheritedAIR-only htmlHost : HTMLHost
用于处��些用户界�元素更改的 HTMLHost 对象,如 HTMLLoader 对象的 window.document.title 属性。
HTMLLoader
 InheritedAIR-only loaded : Boolean
[�读 (read-only)] 指示与先�调用 load() 或 loadString() 方法相对应的 JavaScript load 事件是�已传�到 HTMLLoader 对象中的 HTML DOM。
HTMLLoader
 InheritedloaderInfo : LoaderInfo
[�读 (read-only)] 返回一个 LoaderInfo 对象,其中包�加载此显示对象所属的文件的相关信�。
DisplayObject
 InheritedAIR-only location : String
[�读 (read-only)] 在 HTMLLoader 对象中加载的内容的 URL。
HTMLLoader
 InheritedAIR-only manageCookies : Boolean
指定 HTTP �议堆栈是�应管�此对象的 cookie。
HTMLLoader
 Inheritedmask : DisplayObject
调用显示对象被指定的 mask 对象�罩。
DisplayObject
 InheritedmouseChildren : Boolean
确定对象的�项是�支�鼠标。
DisplayObjectContainer
 InheritedmouseEnabled : Boolean
指定此对象是�接收鼠标消�。
InteractiveObject
  mouseFocusEnabled : Boolean
�击组件时,组件是��以获得焦点。
FlexHTMLLoader
 InheritedmouseX : Number
[�读 (read-only)] 指示鼠标�置的 x �标,以�素为��。
DisplayObject
 InheritedmouseY : Number
[�读 (read-only)] 指示鼠标�置的 y �标,以�素为��。
DisplayObject
 Inheritedname : String
指示 DisplayObject 的实例�称。
DisplayObject
 InheritedAIR-only navigateInSystemBrowser : Boolean
指定 HTML 内容根帧的导航(如用户�击链接时�设置 window.location 属性时或调用 window.open() 时)是导致在 HTMLLoader 对象中导航 (false) 还是在默认系统 Web �览器中导航 (true)。
HTMLLoader
 InheritednumChildren : int
[�读 (read-only)] 返回此对象的�项数目。
DisplayObjectContainer
 InheritedopaqueBackground : Object
指定显示对象是�由于具有��背景颜色而��明。
DisplayObject
 InheritedAIR-only paintsDefaultBackground : Boolean
指定 HTMLLoader 文档背景是�为��明白色,如果是,则为 true,�则为 false。
HTMLLoader
 Inheritedparent : DisplayObjectContainer
[�读 (read-only)] 指示包�此显示对象的 DisplayObjectContainer 对象。
DisplayObject
 InheritedAIR-only pdfCapability : int
[��] [�读 (read-only)] 用户系统上的 PDF 支�类型,它被定义为整数代�值。
HTMLLoader
 InheritedAIR-only placeLoadStringContentInApplicationSandbox : Boolean
指定通过 loadString() 方法加载的内容放置在应用程�沙箱中 (true) 还是�应用程�沙箱中 (false)。
HTMLLoader
 Inheritedprototype : Object
[��] 对类或函数对象的原型对象的引用。
Object
 Inheritedroot : DisplayObject
[�读 (read-only)] 对于加载的 SWF 文件中的显示对象,root 属性是此 SWF 文件所表示的显示列表树结构部分中的顶级显示对象。
DisplayObject
 Inheritedrotation : Number
指示 DisplayObject 实例�其原始方�的旋转程度,以度为��。
DisplayObject
 InheritedrotationX : Number
指示 DisplayObject 实例相对于 3D 父容器�离其原始方�的 x 轴旋转(以度为��)。
DisplayObject
 InheritedrotationY : Number
指示 DisplayObject 实例相对于 3D 父容器�离其原始方�的 y 轴旋转(以度为��)。
DisplayObject
 InheritedrotationZ : Number
指示 DisplayObject 实例相对于 3D 父容器�离其原始方�的 z 轴旋转(以度为��)。
DisplayObject
 InheritedAIR-only runtimeApplicationDomain : ApplicationDomain
用于 HTML 页的 JavaScript 中的 window.runtime 对象的应用程�域。
HTMLLoader
 Inheritedscale9Grid : Rectangle
当�有效的缩放网格。
DisplayObject
 InheritedscaleX : Number
指示从注册点开始应用的对象的水平缩放比例(百分比)。
DisplayObject
 InheritedscaleY : Number
指示从对象注册点开始应用的对象的垂直缩放比例(百分比)。
DisplayObject
 InheritedscaleZ : Number
指示从对象的注册点开始应用的对象的深度缩放比例(百分比)。
DisplayObject
 InheritedAIR-only scrollH : Number
HTMLLoader 对象中的 HTML 内容的水平滚动�置。
HTMLLoader
 InheritedscrollRect : Rectangle
显示对象的滚动矩形范围。
DisplayObject
 InheritedAIR-only scrollV : Number
HTMLLoader 对象中的 HTML 内容的垂直滚动�置。
HTMLLoader
 InheritedsoundTransform : SoundTransform
控制此 sprite 中的声音。
Sprite
 Inheritedstage : Stage
[�读 (read-only)] 显示对象的舞�。
DisplayObject
 InheritedtabChildren : Boolean
确定对象的�项是�支� Tab 键。
DisplayObjectContainer
 InheritedtabEnabled : Boolean
指定此对象是��循 Tab 键顺�。
InteractiveObject
 InheritedtabIndex : int
指定 SWF 文件中的对象按 Tab 键顺�排列。
InteractiveObject
 InheritedAIR-only textEncodingFallback : String
在 HTML 页未指定字符编�时 HTMLLoader 内容使用的字符编�。
HTMLLoader
 InheritedAIR-only textEncodingOverride : String
HTMLLoader 内容使用的字符编�,它将覆盖 HTML 页中的任何设置。
HTMLLoader
 InheritedtextSnapshot : TextSnapshot
[�读 (read-only)] 返回此 DisplayObjectContainer 实例的 TextSnapshot 对象。
DisplayObjectContainer
 Inheritedtransform : Transform
一个对象,具有与显示对象的矩阵�颜色转�和�素范围有关的属性。
DisplayObject
 InheritedAIR-only useCache : Boolean
指定在此对象�出的 HTTP 请求获�数�之�是�应查询本地缓存。
HTMLLoader
 InheriteduseHandCursor : Boolean
布尔值,指示当鼠标滑过其 buttonMode 属性设置为 true 的 sprite 时是�显示手指形(手形光标)。
Sprite
 InheritedAIR-only userAgent : String
�自此 HTMLLoader 对象的任何�续内容请求中使用的用户代�字符串。
HTMLLoader
 Inheritedvisible : Boolean
显示对象是���。
DisplayObject
 InheritedAIR-only width : Number
指定所呈现的 HTML 画布的矩形宽度。
HTMLLoader
 InheritedAIR-only window : Object
[�读 (read-only)] 加载到 HTML 控件中的内容的全局 JavaScript 对象。
HTMLLoader
 Inheritedx : Number
指示 DisplayObject 实例相对于父级 DisplayObjectContainer 本地�标的 x �标。
DisplayObject
 Inheritedy : Number
指示 DisplayObject 实例相对于父级 DisplayObjectContainer 本地�标的 y �标。
DisplayObject
 Inheritedz : Number
指示 DisplayObject 实例相对于 3D 父容器沿 z 轴的 z �标�置。
DisplayObject
公共方法
 æ–¹æ³•定义方
  
构造函数。
FlexHTMLLoader
 Inherited
将一个 DisplayObject �实例添加到该 DisplayObjectContainer 实例中。
DisplayObjectContainer
 Inherited
将一个 DisplayObject �实例添加到该 DisplayObjectContainer 实例中。
DisplayObjectContainer
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦�器对象,以使侦�器能够接收事件通知。
EventDispatcher
 Inherited
指示安全�制是�会导致出现以下情况:在列表中忽略了使用指定 point 点调用 DisplayObjectContainer.getObjectsUnderPoint() 方法时返回的所有显示对象。
DisplayObjectContainer
  
当组件获得焦点时,由 FocusManager 调用。
FlexHTMLLoader
 Inherited
�消正在进行的任何加载�作。
HTMLLoader
 Inherited
确定指定显示对象是 DisplayObjectContainer 实例的�项还是该实例本身。
DisplayObjectContainer
 Inherited
AIR-only createRootWindow(visible:Boolean = true, windowInitOptions:NativeWindowInitOptions = null, scrollBarsVisible:Boolean = true, bounds:Rectangle = null):HTMLLoader
[��] 创建新的 NativeWindow 对象,其中包� HTMLLoader 对象。
HTMLLoader
 Inherited
将事件调度到事件�中。
EventDispatcher
  
当组件获得焦点时,由 FocusManager 调用。
FlexHTMLLoader
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
返回一个矩形,该矩形定义相对于 targetCoordinateSpace 对象�标系的显示对象区域。
DisplayObject
 Inherited
返回�于指定索引处的�显示对象实例。
DisplayObjectContainer
 Inherited
返回具有指定�称的�显示对象。
DisplayObjectContainer
 Inherited
返回 DisplayObject 的 child 实例的索引�置。
DisplayObjectContainer
 Inherited
返回指定�置的历�记录�目。
HTMLLoader
 Inherited
返回对象的数组,这些对象�于指定点下,并且是该 DisplayObjectContainer 实例的�项(或孙�项,�此类推)。
DisplayObjectContainer
 Inherited
getRect(targetCoordinateSpace:DisplayObject):Rectangle
返回一个矩形,该矩形根� targetCoordinateSpace �数定义的�标系定义显示对象的边界,但�包括形状上的任何笔触。
DisplayObject
 Inherited
将 point 对象从舞�(全局)�标转�为显示对象的(本地)�标。
DisplayObject
 Inherited
将二维点从舞�(全局)�标转�为三维显示对象的(本地)�标。
DisplayObject
 Inherited
检查 EventDispatcher 对象是�为特定事件类型注册了任何侦�器。
EventDispatcher
 Inherited
指示对象是�已�定义了指定的属性。
Object
 Inherited
如果�能,在�览器历�记录中���览。
HTMLLoader
 Inherited
如果�能,在�览器历�记录中���览。
HTMLLoader
 Inherited
AIR-only historyGo(steps:int):void
在�览器历�记录中�览指定的步骤数。
HTMLLoader
 Inherited
计算显示对象,以确定它是�与 obj 显示对象��或相交。
DisplayObject
 Inherited
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
计算显示对象,以确定它是�与 x 和 y �数指定的点��或相交。
DisplayObject
 Inherited
指示 Object 类的实例是�在指定为�数的对象的原型链中。
Object
 Inherited
AIR-only load(urlRequestToLoad:URLRequest):void
使用 urlRequestToLoad �数指定的站点中的数�加载 HTMLLoader 对象。
HTMLLoader
 Inherited
AIR-only loadString(htmlContent:String):void
使用 HTML 字符串中包�的 HTML 内容加载 HTMLLoader 对象。
HTMLLoader
 Inherited
将三维显示对象的(本地)�标的三维点转�为舞�(全局)�标中的二维点。
DisplayObject
 Inherited
将 point 对象从显示对象的(本地)�标转�为舞�(全局)�标。
DisplayObject
 Inherited
指示指定的属性是�存在�是��枚举。
Object
 Inherited
从当��置�新加载页�。
HTMLLoader
 Inherited
从 DisplayObjectContainer 实例的�列表中删除指定的 child DisplayObject 实例。
DisplayObjectContainer
 Inherited
从 DisplayObjectContainer 的�列表中指定的 index �置删除� DisplayObject。
DisplayObjectContainer
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
从 EventDispatcher 对象中删除侦�器。
EventDispatcher
 Inherited
更改现有�项在显示对象容器中的�置。
DisplayObjectContainer
  
当组件获得焦点时,由 FocusManager 调用。
FlexHTMLLoader
 Inherited
设置循环�作动�属性的�用性。
Object
 Inherited
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
�许用户拖动指定的 Sprite。
Sprite
 Inherited
结� startDrag() 方法。
Sprite
 Inherited
交�两个指定�对象的 Z 轴顺�(从�到�顺�)。
DisplayObjectContainer
 Inherited
swapChildrenAt(index1:int, index2:int):void
在�级列表中两个指定的索引�置,交��对象的 Z 轴顺�(��顺�)。
DisplayObjectContainer
  
返回一个字符串,用于指示此对象在应用程�的 DisplayObject 层次结构中所处的�置。
FlexHTMLLoader
 Inherited
返回指定对象的原始值。
Object
 Inherited
检查是�用此 EventDispatcher 对象或其任何始祖为指定事件类型注册了事件侦�器。
EventDispatcher
事件
 äº‹ä»¶ 摘è¦� 定义方
 Inherited[广播事件] Flash Player 或 AIR 应用程åº�获得æ“�作系统焦点并å�˜ä¸ºæ´»åŠ¨çŠ¶æ€�时将调度此事件。EventDispatcher
 Inherited将显示对象添加到显示列表中时调度。DisplayObject
 Inherited在将显示对象直接添加到舞å�°æ˜¾ç¤ºåˆ—表或将包å�«æ˜¾ç¤ºå¯¹è±¡çš„å­�树添加至舞å�°æ˜¾ç¤ºåˆ—表中时调度。DisplayObject
 Inherited当用户从文本上下文è�œå�•中选择“清除â€�(或“删除â€�)时调度。InteractiveObject
 Inherited用户在å�Œä¸€ InteractiveObject 上按下并释放用户指针设备的主按钮时调度。InteractiveObject
 Inherited指出 loadString 或 load 方法上次请求的加载æ“�作已完æˆ�。HTMLLoader
 Inherited当用户在 AIR 应用程åº�中选择与此交互å¼�对象相关è�”的上下文è�œå�•时调度。InteractiveObject
 Inherited当用户激活特定于平å�°çš„å¤�制æ“�作的快æ�·é”®ç»„å�ˆæˆ–从文本上下文è�œå�•中选择“å¤�制â€�时调度。InteractiveObject
 Inherited当用户激活特定于平å�°çš„剪切æ“�作的快æ�·é”®ç»„å�ˆæˆ–从文本上下文è�œå�•中选择“剪切â€�时调度。InteractiveObject
 Inherited[广播事件] Flash Player 或 AIR 应用程åº�失去æ“�作系统焦点并å�˜ä¸ºé�žæ´»åŠ¨çŠ¶æ€�时将调度此事件。EventDispatcher
 Inherited如果 InteractiveObject çš„ doubleClickEnabled 标志设置为 true,当用户在该对象上快速连续按下两次并释放指针设备的主按钮时调度。InteractiveObject
 Inherited[播放事件] 播放头进入新帧时调度。DisplayObject
 Inherited[广播事件] 播放头退出当å‰�帧时调度。DisplayObject
 Inherited显示对象获得焦点å�Žè°ƒåº¦ã€‚InteractiveObject
 Inherited显示对象失去焦点å�Žè°ƒåº¦ã€‚InteractiveObject
 Inherited[广播事件] 在帧显示对象的构造函数è¿�行之å�Žä½†åœ¨å¸§è„šæœ¬è¿�行之å‰�调度。DisplayObject
 Inherited指出 HTMLLoader 对象的 contentWidth å’Œ/或 contentHeight 属性已å�‘生更改。HTMLLoader
 Inherited指出已创建 HTML DOM 以å“�应加载æ“�作。HTMLLoader
 Inherited指出 HTMLLoader 对象中的内容呈现完全处于最新状æ€�。HTMLLoader
 Inherited用户按下æŸ�个键时调度。InteractiveObject
 Inherited用户å°�试使用键盘导航更改焦点时调度。InteractiveObject
 Inherited用户释放æŸ�个键时调度。InteractiveObject
 Inherited指出更改了 HTMLLoader 对象的 location 属性。HTMLLoader
 Inherited当用户在å�Œä¸€ InteractiveObject 上按下并释放用户指针设备的中间按钮时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上按下指针设备的中间按钮时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上释放指针设备按钮时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上按下指针设备按钮时调度。InteractiveObject
 Inherited用户å°�试使用指针设备更改焦点时调度。InteractiveObject
 Inherited用户移动 InteractiveObject 上的指针设备时调度。InteractiveObject
 Inherited用户将指针设备从 InteractiveObject 实例上移开时调度。InteractiveObject
 Inherited用户将指针设备移动到 InteractiveObject 实例上时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上释放指针设备按钮时调度。InteractiveObject
 Inherited当鼠标滚轮滚动到 InteractiveObject 实例上时调度。InteractiveObject
 Inherited当用户释放拖动动作时由拖动å�¯åЍ噍 InteractiveObject 调度。InteractiveObject
 Inherited在将拖动对象放置到目标上且已通过对 DragManager.acceptDragDrop() 的调用接å�—该放置æ“�作时,由目标 InteractiveObject 调度。InteractiveObject
 Inherited当拖动动作进入其边界时由 InteractiveObject 调度。InteractiveObject
 Inherited当拖动动作离开其边界时由 InteractiveObject 调度。InteractiveObject
 Inherited当拖动动作ä¿�æŒ�在其边界内时,由 InteractiveObject æŒ�续调度。InteractiveObject
 Inherited在拖动æ“�作开始时由在 DragManager.doDrag() 调用中指定为拖动å�¯åŠ¨å™¨çš„ InteractiveObject 调度。InteractiveObject
 Inherited在拖动æ“�作期间由在 DragManager.doDrag() 调用中指定为拖动å�¯åŠ¨å™¨çš„ InteractiveObject 调度。InteractiveObject
 Inherited当用户激活特定于平å�°çš„粘贴æ“�作的快æ�·é”®ç»„å�ˆæˆ–从文本上下文è�œå�•中选择“粘贴â€�时调度。InteractiveObject
 Inheritedå°†è¦�从显示列表中删除显示对象时调度。DisplayObject
 Inherited在从显示列表中直接删除显示对象或删除包å�«æ˜¾ç¤ºå¯¹è±¡çš„å­�树时调度。DisplayObject
 Inherited[广播事件] å°†è¦�更新和呈现显示列表时调度。DisplayObject
 Inherited当用户在å�Œä¸€ InteractiveObject 上按下并释放用户指针设备的å�³æŒ‰é’®æ—¶è°ƒåº¦ã€‚InteractiveObject
 Inherited当用户在 InteractiveObject 实例上按下指针设备按钮时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上释放指针设备按钮时调度。InteractiveObject
 Inherited用户将指针设备从 InteractiveObject 实例上移开时调度。InteractiveObject
 Inherited用户将指针设备移动到 InteractiveObject 实例上时调度。InteractiveObject
 Inherited指出 scrollH 或 scrollV 属性已被 HTMLLoader 对象更改。HTMLLoader
 Inherited当用户激活特定于平å�°çš„全选æ“�作的快æ�·é”®ç»„å�ˆæˆ–从文本上下文è�œå�•中选择“全选â€�时调度。InteractiveObject
 Inherited对象的 tabChildren 标志值å�‘生更改时调度。InteractiveObject
 Inherited对象的 tabEnabled 标志å�‘生更改时调度。InteractiveObject
 Inherited对象的 tabIndex 属性值å�‘生更改时调度。InteractiveObject
 Inherited指出在 HTMLLoader 对象中å�‘生了未æ�•获的 JavaScript 异常。HTMLLoader
属性详细信�
focusEnabled属性
focusEnabled:Boolean  [读写]

一个标志,用于指示组件处于选中状�时是��以获得焦点。

如果组件中的�组件实现了 IFocusManagerComponent 接�,但是您从�希望它获得焦点,作为一�优化,您�以先将 focusEnabled 设置为 false,然��在�组件上调用 addChild()。

这将使 FocusManager 忽略此组件,并且使它�会对组件进行监视以查看 tabEnabled�tabChildren 和 mouseFocusEnabled 属性是��生更改。这也�味� addChild() 之�,您无法更改此值,也�能指望 FocusManager 进行监视。

注�:这并��味�您无法在 setFocus() 方法中以编程方�使此对象获得焦点;它仅通知 FocusManager 在 Tab 和鼠标�索中忽略此 IFocusManagerComponent 组件。



实现
    public function get focusEnabled():Boolean
    public function set focusEnabled(value:Boolean):void
mouseFocusEnabled属性 
mouseFocusEnabled:Boolean  [读写]

�击组件时,组件是��以获得焦点。如果值为 false,则焦点将转�到已将 mouseFocusEnable 设置为 true 的第一个父项。

默认值为 true.



实现
    public function get mouseFocusEnabled():Boolean
    public function set mouseFocusEnabled(value:Boolean):void
构造函数详细信�
FlexHTMLLoader()构造函数
public function FlexHTMLLoader()

构造函数。

将 name 属性设置为 mx.utils.NameUtils 类的 createUniqueName() 方法返回的字符串。

此字符串由对象的类�称和应用程�内的唯一整数连接而�,如 "FlexLoader13"。

�请��

flash.display.DisplayObject.name
mx.utils.NameUtils.createUniqueName()
方法详细信�
assignFocus()方法
public function assignFocus(direction:String):void

当组件获得焦点时,由 FocusManager 调用。�样,该组件�以将焦点设置给�个内部组件。当通过鼠标设置焦点时,将�调用此组件的 setFocus() 方法,但当通过键盘更改焦点时,将使用此方法。

�数

direction:String — flash.display.FocusDirection 之一

drawFocus()方法 
public function drawFocus(isFocused:Boolean):void

当组件获得焦点时,由 FocusManager 调用。组件应该绘制或��表示组件具有焦点的图形。

�数

isFocused:Boolean — 如果为 true,则绘制焦点指示符,å�¦åˆ™éš�è—�它。

setFocus()方法 
public function setFocus():void

当组件获得焦点时,由 FocusManager 调用。�样,该组件�以将焦点设置给�个内部组件。

toString()方法 
override public function toString():String

返回一个字符串,用于指示此对象在应用程�的 DisplayObject 层次结构中所处的�置。此字符串(如 "MyApp0.HBox5.FlexLoader13")由 mx.utils.NameUtils 类的 displayObjectToString() 方法从对象�其�代的 name 属性中生�。

返回
String — 指示此对象在应用程åº�çš„ DisplayObject 层次结构中所处的ä½�置的 String。

�请��

flash.display.DisplayObject.name
mx.utils.NameUtils.displayObjectToString()