blob: 608ff91f09cf91bf732cd34b35befb768f18c591 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<apiPackage xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" id="flash.html" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiPackage/apiPackage "><apiName class="- topic/title reference/title apiRef/apiName ">flash.html</apiName><apiDetail class="- topic/body reference/refbody apiRef/apiDetail "/><apiClassifier languages="" id="flash.html:HTMLSWFCapability" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiClassifier/apiClassifier "><apiName class="- topic/title reference/title apiRef/apiName ">HTMLSWFCapability</apiName><shortdesc class="- topic/shortdesc ">
HTMLSWFCapability クラスには、HTMLLoader オブジェクトの swfCapability プロパティで使用できる値が含まれます。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiClassifierDetail class="- topic/body reference/refbody apiRef/apiDetail apiClassifier/apiClassifierDetail "><apiClassifierDef class="- topic/section reference/section apiRef/apiDef apiClassifier/apiClassifierDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiFinal class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiFinal "/><apiBaseClassifier class="- topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier ">Object</apiBaseClassifier></apiClassifierDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLSWFCapability クラスには、HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">swfCapability</codeph> プロパティで使用できる値が含まれます。また、SWF コンテンツのロードが失敗したときに送出される ErrorEvent オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">errorID</codeph> プロパティの値を定義します。
</apiDesc></apiClassifierDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#swfCapability" class="- topic/link "><linktext class="- topic/linktext ">HTMLLoader.swfCapability</linktext></link></related-links><apiValue id="flash.html:HTMLSWFCapability:ERROR_INSTALLED_PLAYER_NOT_FOUND" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">ERROR_INSTALLED_PLAYER_NOT_FOUND</apiName><shortdesc class="- topic/shortdesc ">
Adobe Flash Player が検出されません。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">3221</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">int</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
Adobe Flash Player が検出されません。HTMLLoader オブジェクトで PDF のコンテンツを表示することはできません。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLSWFCapability:ERROR_INSTALLED_PLAYER_TOO_OLD" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">ERROR_INSTALLED_PLAYER_TOO_OLD</apiName><shortdesc class="- topic/shortdesc ">
Adobe Flash Player が検出されましたが、バージョンが古すぎます。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">3222</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">int</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
Adobe Flash Player が検出されましたが、バージョンが古すぎます。HTMLLoader オブジェクトは SWF のコンテンツを表示できません。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLSWFCapability:STATUS_OK" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">STATUS_OK</apiName><shortdesc class="- topic/shortdesc ">
適切なバージョンの Adobe Flash Player が検出されたので、HTMLLoader オブジェクトに SWF のコンテンツをロードできます。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">0</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">int</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
適切なバージョンの Adobe Flash Player が検出されたので、HTMLLoader オブジェクトに SWF のコンテンツをロードできます。
</apiDesc></apiValueDetail></apiValue></apiClassifier><apiClassifier languages="" id="flash.html:HTMLHistoryItem" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiClassifier/apiClassifier "><apiName class="- topic/title reference/title apiRef/apiName ">HTMLHistoryItem</apiName><shortdesc class="- topic/shortdesc ">
HTMLHistoryItem オブジェクトは、HTMLLoader オブジェクトの移動履歴内の位置を記述します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiClassifierDetail class="- topic/body reference/refbody apiRef/apiDetail apiClassifier/apiClassifierDetail "><apiClassifierDef class="- topic/section reference/section apiRef/apiDef apiClassifier/apiClassifierDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiBaseClassifier class="- topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier ">Object</apiBaseClassifier></apiClassifierDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLHistoryItem オブジェクトは、HTMLLoader オブジェクトの移動履歴内の位置を記述します。
</apiDesc></apiClassifierDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html" class="- topic/link "><linktext class="- topic/linktext ">HTMLLoader</linktext></link><link href="HTMLWindowCreateOptions.html" class="- topic/link "><linktext class="- topic/linktext ">HTMLWindowCreateOptions</linktext></link></related-links><apiValue id="flash.html:HTMLHistoryItem:isPost:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">isPost</apiName><shortdesc class="- topic/shortdesc ">
HTML ページに POST データが含まれているかどうかを示します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTML ページに POST データが含まれているかどうかを示します。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLHistoryItem:originalUrl:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">originalUrl</apiName><shortdesc class="- topic/shortdesc ">
リダイレクトされる前の、HTML ページの元の URL です。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">String</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
リダイレクトされる前の、HTML ページの元の URL です。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLHistoryItem:title:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">title</apiName><shortdesc class="- topic/shortdesc ">
HTML ページのタイトルです。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">String</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTML ページのタイトルです。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLHistoryItem:url:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">url</apiName><shortdesc class="- topic/shortdesc ">
HTML ページの URL です。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">String</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTML ページの URL です。
</apiDesc></apiValueDetail></apiValue></apiClassifier><apiClassifier languages="" id="flash.html:HTMLHost" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiClassifier/apiClassifier "><apiName class="- topic/title reference/title apiRef/apiName ">HTMLHost</apiName><shortdesc class="- topic/shortdesc ">
HTMLHost オブジェクトは HTML ページの window オブジェクトで各種プロパティの設定または各種メソッドの呼び出しを行うことにより制御可能なユーザーインターフェイスエレメントに対する HTMLLoader オブジェクトの動作を定義します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiClassifierDetail class="- topic/body reference/refbody apiRef/apiDetail apiClassifier/apiClassifierDetail "><apiClassifierDef class="- topic/section reference/section apiRef/apiDef apiClassifier/apiClassifierDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiBaseClassifier class="- topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier ">Object</apiBaseClassifier></apiClassifierDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLHost オブジェクトは HTML ページの <codeph class="+ topic/ph pr-d/codeph ">window</codeph> オブジェクトで各種プロパティの設定または各種メソッドの呼び出しを行うことにより制御可能なユーザーインターフェイスエレメントに対する HTMLLoader オブジェクトの動作を制御します。そのメソッドとプロパティは次のとおりです。
<ul class="- topic/ul "><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">window.blur()</codeph></li><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">window.focus()</codeph></li><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">window.moveBy()</codeph></li><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">window.moveTo()</codeph></li><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">window.location</codeph></li><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">window.close()</codeph></li><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph></li><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">window.resizeBy()</codeph></li><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">window.resizeTo()</codeph></li><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">window.status</codeph></li><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">window.document.title</codeph></li></ul>
<p class="- topic/p ">HTMLHost クラスのメソッドを使用して、<codeph class="+ topic/ph pr-d/codeph ">window</codeph> の各設定を変更することができます。このクラスを使用するには、HTMLHost クラスを継承して動作を定義するメソッドをオーバーライドする新しいクラス(サブクラス)を作成します。HTMLHost クラスのメソッドは、JavaScript のプロパティおよびメソッドを次のように処理します。</p>
<adobetable class="innertable"><tgroup cols="2" class="- topic/tgroup "><thead class="- topic/thead "><row class="- topic/row "><entry class="- topic/entry ">JavaScript のプロパティまたはメソッド</entry><entry class="- topic/entry ">HTMLHost メソッド</entry></row></thead><tbody class="- topic/tbody "><row class="- topic/row "><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">window.blur()</codeph></entry><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">windowBlur()</codeph></entry></row><row class="- topic/row "><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">window.focus()</codeph></entry><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">windowFocus</codeph></entry></row><row class="- topic/row "><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">window.location</codeph></entry><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">updateLocation</codeph></entry></row><row class="- topic/row "><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">window.close()</codeph></entry><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">windowClose</codeph></entry></row><row class="- topic/row "><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph></entry><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">createWindow</codeph></entry></row><row class="- topic/row "><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">window.status</codeph></entry><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">updateStatus</codeph></entry></row><row class="- topic/row "><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">window.document.title</codeph></entry><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">updateTitle</codeph></entry></row></tbody></tgroup></adobetable>
<p class="- topic/p "><codeph class="+ topic/ph pr-d/codeph ">window.moveBy()</codeph><codeph class="+ topic/ph pr-d/codeph ">window.moveTo()</codeph><codeph class="+ topic/ph pr-d/codeph ">window.resizeBy()</codeph> および <codeph class="+ topic/ph pr-d/codeph ">window.resizeTo()</codeph> の各メソッドの変更に応答するには、HTMLHost のサブクラスで <codeph class="+ topic/ph pr-d/codeph ">set windowRect()</codeph> メソッドをオーバーライドします。</p>
<p class="- topic/p ">各 HTMLHost オブジェクトに関連付けることができるのは、1 つの HTMLLoader オブジェクトまでです。この関連付けは、HTMLHost インスタンスを HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">htmlHost</codeph> プロパティに割り当てることにより確立されます。<codeph class="+ topic/ph pr-d/codeph ">null</codeph> を HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">htmlHost</codeph> プロパティに割り当てるまたは HTMLHost オブジェクトを別の HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">htmlHost</codeph> プロパティとして設定すると、HTMLHost は最初の HTMLLoader オブジェクトから削除されます。</p>
</apiDesc><example conref="examples\HTMLHost.1.as" class="- topic/example "> 次のコードは、HTMLHost のサブクラスとして CustomHost を定義します。CustomHost クラスのメソッドは、HTMLHost クラス内の継承されたメソッドをオーバーライドし、HTMLLoader ページ内の JavaScript コード が各種プロパティを設定するとき、または <codeph class="+ topic/ph pr-d/codeph ">window</codeph> オブジェクトの各種メソッドを呼び出すときに実行するアクションを定義します。
<codeblock xml:space="preserve" class="+ topic/pre pr-d/codeblock ">
package
{
import flash.html.HTMLHost;
import flash.html.HTMLLoader;
import flash.display.NativeWindow;
import flash.display.NativeWindowInitOptions;
import flash.display.StageScaleMode;
import flash.geom.Rectangle;
import flash.text.TextField;
public class CustomHost extends HTMLHost
{
import flash.html.*;
public var statusField:TextField;
public function CustomHost(defaultBehaviors:Boolean=true)
{
super(defaultBehaviors);
}
override public function windowClose():void
{
htmlLoader.stage.window.close();
}
override public function createWindow(windowCreateOptions:HTMLWindowCreateOptions):HTMLLoader
{
var initOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
var window:NativeWindow = new NativeWindow(initOptions);
window.visible = true;
var htmlLoader2:HTMLLoader = new HTMLLoader();
htmlLoader2.width = window.width;
htmlLoader2.height = window.height;
window.stage.scaleMode = StageScaleMode.NO_SCALE;
window.stage.addChild(htmlLoader2);
return htmlLoader2;
}
override public function updateLocation(locationURL:String):void
{
trace(locationURL);
}
override public function set windowRect(value:Rectangle):void
{
htmlLoader.stage.nativeWindow.bounds = value;
}
override public function updateStatus(status:String):void
{
statusField.text = status;
}
override public function updateTitle(title:String):void
{
htmlLoader.stage.nativeWindow.title = title + "- Example Application";
}
override public function windowBlur():void
{
htmlLoader.alpha = 0.5;
}
override public function windowFocus():void
{
htmlLoader.alpha = 1;
}
}
}
</codeblock> 次のクラスを作成します。このクラスは、<codeph class="+ topic/ph pr-d/codeph ">statusBar</codeph> という名前の TextField オブジェクトだけでなく、HTMLLoader オブジェクトもステージに追加します。 HTMLLoader オブジェクトは、CustomHost オブジェクトを自身の <codeph class="+ topic/ph pr-d/codeph ">htmlHost</codeph> プロパティとして定義します。
<codeblock xml:space="preserve" class="+ topic/pre pr-d/codeblock ">package
{
import flash.display.Sprite;
public class SimpleHTMLBox extends Sprite
{
import flash.html.HTMLHost;
import flash.html.HTMLLoader;
import flash.text.TextField;
import flash.net.URLRequest;
import CustomHost;
private var host:CustomHost;
private var statusField:TextField;
private var html:HTMLLoader;
public function SimpleHTMLBox()
{
html = new HTMLLoader();
var url:String = "Test.html";
var urlReq:URLRequest = new URLRequest(url);
html.load(urlReq);
host = new CustomHost();
html.htmlHost = host;
statusField = new TextField();
host.statusField = statusField;
configureUI();
}
private function configureUI():void
{
html.width = 400;
html.height = 200;
statusField.width = 400;
statusField.height = 24;
statusField.border = true;
statusField.y = 200;
addChild(html);
addChild(statusField);
}
}
}</codeblock>
<p class="- topic/p ">このクラスで定義されるオブジェクトをメインウィンドウのステージに追加する AIR アプリケーションを構築します。</p>
<p class="- topic/p ">アプリケーションリソースディレクトリ (アプリケーション記述ファイルが格納されているディレクトリ) に Test.html という名前の HTML ページを作成し、次のコンテンツを追加します。</p>
<codeblock xml:space="preserve" class="+ topic/pre pr-d/codeblock ">&lt;html>
&lt;head>
&lt;title>Test&lt;/title>
&lt;/head>
&lt;body>
&lt;a href="#" onclick="window.open('Test.html')">window.open('Test.html')&lt;/a>
&lt;br/>&lt;a href="#" onclick="window.document.location = 'www.adobe.com'">window.document.location = 'www.adobe.com'&lt;/a>
&lt;br/>&lt;a href="#" onclick="window.moveBy(6, 12)">moveBy(6, 12)&lt;/a>
&lt;br/>&lt;a href="#" onclick="window.close()">window.close()&lt;/a>
&lt;br/>&lt;a href="#" onclick="window.blur()">window.blur()&lt;/a>
&lt;br/>&lt;a href="#" onclick="window.focus()">window.focus()&lt;/a>
&lt;br/>&lt;a href="#" onclick="window.status = new Date().toString()">window.status = new Date().toString()&lt;/a>
&lt;/body>
&lt;/html></codeblock>
<p class="- topic/p ">アプリケーションのテストが実行されると、HTML ページ内にあるユーザーインターフェイス関連の JavaScript 設定は、CustomHost クラスによって処理されます。</p>
</example></apiClassifierDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html" class="- topic/link "><linktext class="- topic/linktext ">HTMLLoader</linktext></link><link href="HTMLWindowCreateOptions.html" class="- topic/link "><linktext class="- topic/linktext ">HTMLWindowCreateOptions</linktext></link></related-links><apiConstructor id="flash.html:HTMLHost:HTMLHost" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation apiOperation/apiConstructor"><apiName class="- topic/title reference/title apiRef/apiName ">HTMLHost</apiName><shortdesc class="- topic/shortdesc ">
HTMLHost オブジェクトを作成します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiConstructorDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail apiOperation/apiConstructorDetail"><apiConstructorDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiConstructorDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">defaultBehaviors</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">Boolean</apiOperationClassifier><apiData class="- topic/ph reference/ph apiRef/apiData ">true</apiData><apiDesc class="- topic/section reference/section apiRef/apiDesc ">ルートコンテンツの動作をデフォルトで設定するかどうかを指定します。
</apiDesc></apiParam></apiConstructorDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLHost オブジェクトを作成します。
</apiDesc></apiConstructorDetail></apiConstructor><apiOperation id="flash.html:HTMLHost:createWindow" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">createWindow</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクト内の JavaScript コードが window.open() メソッドを呼び出すときに、呼び出される関数です。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiDesc class="- topic/section reference/section apiRef/apiDesc ">新しい HTML ページを格納する HTMLLoader オブジェクトです。通常、このメソッドにより新しい HTMLLoader オブジェクトを作成し、新しい NativeWindow オブジェクトのステージに追加した後、返します。
</apiDesc><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">flash.html:HTMLLoader</apiOperationClassifier></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">windowCreateOptions</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">flash.html:HTMLWindowCreateOptions</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc "><codeph class="+ topic/ph pr-d/codeph ">features</codeph> パラメーター(<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> の呼び出しに使用されるパラメーター)として渡されるストリング内のプロパティを含むオブジェクトです。
</apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクト内の JavaScript コードが <codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> メソッドを呼び出すときに、呼び出される関数です。
<p class="- topic/p ">デフォルトでは、HTMLLoader の HTML ページ内の <codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> の JavaScript 呼び出しでは、実行時に新しい NativeWindow オブジェクトは開き<i class="+ topic/ph hi-d/i ">ません</i>。実行時に、HTMLHost クラスのサブクラスでオーバーライドする <codeph class="+ topic/ph pr-d/codeph ">createWindow</codeph> メソッド内で NativeWindow オブジェクトを作成して、新しい NativeWindow オブジェクトを開くことができます。</p>
</apiDesc></apiOperationDetail></apiOperation><apiOperation id="flash.html:HTMLHost:updateLocation" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">updateLocation</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクト内の JavaScript コードが window.location プロパティを設定するときに、呼び出される関数です。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">locationURL</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc "><codeph class="+ topic/ph pr-d/codeph ">location</codeph> プロパティ(HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">window</codeph> プロパティのプロパティ)に設定される値です。
</apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクト内の JavaScript コードが <codeph class="+ topic/ph pr-d/codeph ">window.location</codeph> プロパティを設定するときに、呼び出される関数です。
</apiDesc></apiOperationDetail></apiOperation><apiOperation id="flash.html:HTMLHost:updateStatus" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">updateStatus</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクト内の JavaScript コードが window.status プロパティを設定するときに、呼び出される関数です。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">status</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc "><codeph class="+ topic/ph pr-d/codeph ">status</codeph> プロパティ(HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">window</codeph> プロパティのプロパティ)に設定される値です。
</apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクト内の JavaScript コードが <codeph class="+ topic/ph pr-d/codeph ">window.status</codeph> プロパティを設定するときに、呼び出される関数です。
</apiDesc></apiOperationDetail></apiOperation><apiOperation id="flash.html:HTMLHost:updateTitle" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">updateTitle</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクト内の JavaScript コードが window.document.title プロパティを設定するとき、または DOM か新しいページのロードにより title エレメントが変更されるときに、呼び出される関数です。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">title</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc ">HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">window.document.title</codeph> プロパティに設定される値です。
</apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクト内の JavaScript コードが <codeph class="+ topic/ph pr-d/codeph ">window.document.title</codeph> プロパティを設定するときまたは DOM か新しいページのロードにより <codeph class="+ topic/ph pr-d/codeph ">title</codeph> エレメントが変更されるときに、呼び出される関数です。
</apiDesc></apiOperationDetail></apiOperation><apiOperation id="flash.html:HTMLHost:windowBlur" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">windowBlur</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクト内の JavaScript コードが window.blur() メソッドを呼び出すときに、呼び出される関数です。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクト内の JavaScript コードが <codeph class="+ topic/ph pr-d/codeph ">window.blur()</codeph> メソッドを呼び出すときに、呼び出される関数です。
</apiDesc></apiOperationDetail></apiOperation><apiOperation id="flash.html:HTMLHost:windowClose" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">windowClose</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクト内の JavaScript コードが window.close() メソッドを呼び出すときに、呼び出される関数です。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクト内の JavaScript コードが <codeph class="+ topic/ph pr-d/codeph ">window.close()</codeph> メソッドを呼び出すときに、呼び出される関数です。
<p class="- topic/p ">デフォルトでは、HTMLLoader オブジェクトの HTML ページ内の <codeph class="+ topic/ph pr-d/codeph ">window.close()</codeph> の JavaScript 呼び出しを実行すると、HTMLLoader オブジェクトが格納されているウィンドウが閉じます。</p>
</apiDesc></apiOperationDetail></apiOperation><apiOperation id="flash.html:HTMLHost:windowFocus" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">windowFocus</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクト内の JavaScript コードが window.focus() メソッドを呼び出すときに、呼び出される関数です。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクト内の JavaScript コードが <codeph class="+ topic/ph pr-d/codeph ">window.focus()</codeph> メソッドを呼び出すときに、呼び出される関数です。
</apiDesc></apiOperationDetail></apiOperation><apiValue id="flash.html:HTMLHost:htmlLoader:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">htmlLoader</apiName><shortdesc class="- topic/shortdesc ">
この HostControl オブジェクトが適用される HTMLLoader オブジェクトです。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">flash.html:HTMLLoader</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
この HostControl オブジェクトが適用される HTMLLoader オブジェクトです。その HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">htmlHost</codeph> プロパティは、この HostControl オブジェクトに設定されます。
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#htmlHost" class="- topic/link "><linktext class="- topic/linktext ">HTMLLoader.htmlHost</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLHost:windowRect:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">windowRect</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクト内の JavaScript コードが、window.moveBy()、window.moveTo()、window.resizeBy() または window.resizeTo() の各メソッドの呼び出しを行うときに変更されるプロパティです。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">flash.geom:Rectangle</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクト内の JavaScript コードが、<codeph class="+ topic/ph pr-d/codeph ">window.moveBy()</codeph><codeph class="+ topic/ph pr-d/codeph ">window.moveTo()</codeph><codeph class="+ topic/ph pr-d/codeph ">window.resizeBy()</codeph> または <codeph class="+ topic/ph pr-d/codeph ">window.resizeTo()</codeph> の各メソッドの呼び出しを行うときに変更されるプロパティです。
<p class="- topic/p ">HTMLHost のサブクラスで <codeph class="+ topic/ph pr-d/codeph ">set windowRect()</codeph> メソッドをオーバーライドし、必要に応じて新しいウィンドウの境界を処理します。</p>
</apiDesc></apiValueDetail></apiValue></apiClassifier><apiClassifier languages="" id="flash.html:HTMLPDFCapability" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiClassifier/apiClassifier "><apiName class="- topic/title reference/title apiRef/apiName ">HTMLPDFCapability</apiName><shortdesc class="- topic/shortdesc ">
HTMLPDFCapability クラスには、HTMLLoader オブジェクトの pdfCapability プロパティで使用できる値が含まれます。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiClassifierDetail class="- topic/body reference/refbody apiRef/apiDetail apiClassifier/apiClassifierDetail "><apiClassifierDef class="- topic/section reference/section apiRef/apiDef apiClassifier/apiClassifierDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiFinal class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiFinal "/><apiBaseClassifier class="- topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier ">Object</apiBaseClassifier></apiClassifierDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLPDFCapability クラスには、HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">pdfCapability</codeph> プロパティで使用できる値が含まれます。また、PDF コンテンツのロードが失敗したときに送出される ErrorEvent オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">errorID</codeph> プロパティの値を定義します。
</apiDesc></apiClassifierDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#pdfCapability" class="- topic/link "><linktext class="- topic/linktext ">HTMLLoader.pdfCapability</linktext></link></related-links><apiValue id="flash.html:HTMLPDFCapability:ERROR_CANNOT_LOAD_READER" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">ERROR_CANNOT_LOAD_READER</apiName><shortdesc class="- topic/shortdesc ">
Adobe Reader または Acrobat アプリケーション、またはそのアプリケーションに必要なライブラリをロードしようとしたときに、OS からエラーが返されました。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">3204</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">int</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
Adobe Reader または Acrobat アプリケーション、またはそのアプリケーションに必要なライブラリをロードしようとしたときに、OS からエラーが返されました。
<p class="- topic/p "><i class="+ topic/ph hi-d/i ">注意:</i>これは、<codeph class="+ topic/ph pr-d/codeph ">HTMLLoader.pdfCapability</codeph> から返されたエラーではありませんが、HTMLLoader オブジェクトが PDF コンテンツをロードしようとしてオペレーティングシステムからエラーが返された場合に送出される ErrorEvent オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">errorID</codeph> プロパティとして送信されます。ここでは、構成が検証されるだけでライブラリのロードは試行されないので、<codeph class="+ topic/ph pr-d/codeph ">HTMLLoader.pdfCapability</codeph> からは、多くの場合、<codeph class="+ topic/ph pr-d/codeph ">PDFCapability.STATUS_OK</codeph> が返されます。</p>
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLPDFCapability:ERROR_INSTALLED_READER_NOT_FOUND" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">ERROR_INSTALLED_READER_NOT_FOUND</apiName><shortdesc class="- topic/shortdesc ">
Adobe Reader が検出されません。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">3201</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">int</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
Adobe Reader が検出されません。HTMLLoader オブジェクトで PDF のコンテンツを表示することはできません。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLPDFCapability:ERROR_INSTALLED_READER_TOO_OLD" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">ERROR_INSTALLED_READER_TOO_OLD</apiName><shortdesc class="- topic/shortdesc ">
Adobe Reader が検出されましたが、バージョンが古すぎます。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">3202</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">int</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
Adobe Reader が検出されましたが、バージョンが古すぎます。HTMLLoader オブジェクトで PDF のコンテンツを表示することはできません。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLPDFCapability:ERROR_PREFERRED_READER_TOO_OLD" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">ERROR_PREFERRED_READER_TOO_OLD</apiName><shortdesc class="- topic/shortdesc ">
適切なバージョン(8.1 以降)の Adobe Reader または Acrobat が検出されましたが、PDF のコンテンツを扱うように設定されている Adobe Reader は Adobe Reader または Acrobat 8.1 より古いバージョンです。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">3203</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">int</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
適切なバージョン(8.1 以降)の Adobe Reader または Acrobat が検出されましたが、PDF のコンテンツを扱うように設定されている Adobe Reader は Adobe Reader または Acrobat 8.1 より古いバージョンです。HTMLLoader オブジェクトで PDF のコンテンツを表示することはできません。
</apiDesc></apiValueDetail></apiValue></apiClassifier><apiClassifier languages="" id="flash.html:HTMLLoader" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiClassifier/apiClassifier "><apiName class="- topic/title reference/title apiRef/apiName ">HTMLLoader</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader クラスは、HTML コンテンツのコンテナである表示オブジェクトのタイプを定義します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiClassifierDetail class="- topic/body reference/refbody apiRef/apiDetail apiClassifier/apiClassifierDetail "><apiClassifierDef class="- topic/section reference/section apiRef/apiDef apiClassifier/apiClassifierDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiBaseClassifier class="- topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier ">flash.display:Sprite</apiBaseClassifier></apiClassifierDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader クラスは、HTML コンテンツのコンテナである表示オブジェクトのタイプを定義します。
<p class="- topic/p ">AIR プロファイルのサポート:<i class="+ topic/ph hi-d/i "/>この機能はすべてのデスクトップオペレーティングシステムでサポートされますが、モバイルデバイスまたはテレビ用 AIR デバイスではサポートされません。<codeph class="+ topic/ph pr-d/codeph ">HTMLLoader.isSupported</codeph> プロパティを使用して、サポートされているかどうかを実行時にテストすることができます。複数のプロファイル間での API サポートについて詳しくは、<xref href="http://help.adobe.com/en_US/air/build/WS144092a96ffef7cc16ddeea2126bb46b82f-8000.html" class="- topic/xref ">AIR プロファイルのサポート</xref>を参照してください。</p>
<p class="- topic/p ">HTMLLoader のデフォルトサイズは 0 x 0 ピクセルです。<codeph class="+ topic/ph pr-d/codeph ">width</codeph> プロパティおよび <codeph class="+ topic/ph pr-d/codeph ">height</codeph> プロパティを設定して、HTMLLoader オブジェクトを表示させます。</p>
<p class="- topic/p ">
HTMLLoader オブジェクトの最大サイズは、高さ 4,096 ピクセル、幅 4,096 ピクセルです。HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">width</codeph> または <codeph class="+ topic/ph pr-d/codeph ">height</codeph> が 4,095 を超える数値に設定されると、HTMLLoader オブジェクトは ArgumentError 例外をスローします(AIR 2 よりも前では、HTMLLoader オブジェクトの最大サイズは 2,880 ピクセルでした)。
</p>
<p class="- topic/p "><b class="+ topic/ph hi-d/b ">注意:</b>透明ウィンドウに表示する場合、HTML ページに埋め込まれる SWF ファイルは、wmode(ウィンドウモード) に <codeph class="+ topic/ph pr-d/codeph ">transparent</codeph> または <codeph class="+ topic/ph pr-d/codeph ">opaque</codeph> のいずれかを設定して埋め込む必要があります。wmode のデフォルト値は <codeph class="+ topic/ph pr-d/codeph ">window</codeph> です。したがって、値を指定しないと、SWF コンテンツは表示されない場合があります。Windows および Linux では、<codeph class="+ topic/ph pr-d/codeph ">wmode</codeph><codeph class="+ topic/ph pr-d/codeph ">window</codeph> または <codeph class="+ topic/ph pr-d/codeph ">opaque</codeph> に設定されている場合、SWF コンテンツは常にコンテンツの最前面に表示されます。PDF コンテンツは、使用する <codeph class="+ topic/ph pr-d/codeph ">wmode</codeph> 設定に関わらず、透明ウィンドウには表示できません。</p>
</apiDesc><example conref="examples\HTMLLoader.1.as" class="- topic/example "> 次のコードは HTMLLoader オブジェクトの初期化、その幅と高さの設定、URL http://www.adobe.com のロード、オブジェクトの表示リストへの追加を行います。
<codeblock xml:space="preserve" class="+ topic/pre pr-d/codeblock ">
package {
import flash.display.Sprite;
import flash.html.HTMLLoader;
import flash.net.URLRequest;
public class HTMLLoaderExample extends Sprite
{
public function HTMLLoaderExample()
{
var html:HTMLLoader = new HTMLLoader();
var urlReq:URLRequest = new URLRequest("http://www.adobe.com/");
html.width = stage.stageWidth;
html.height = stage.stageHeight;
html.load(urlReq);
addChild(html);
}
}
}
</codeblock></example></apiClassifierDetail><adobeApiEvent id="flash.html:HTMLLoader_flash.events.Event.HTML_DOM_INITIALIZE_htmlDOMInitialize" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef adobeApiEvent/adobeApiEvent "><apiName class="- topic/title reference/title apiRef/apiName ">htmlDOMInitialize</apiName><shortdesc class="- topic/shortdesc ">
ロード操作に対する応答で HTML DOM が作成されたことを通知します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><adobeApiEventDetail class="- topic/body reference/refbody apiRef/apiDetail adobeApiEvent/adobeApiEventDetail "><adobeApiEventDef class="- topic/section reference/section apiRef/apiDef adobeApiEvent/adobeApiEventDef "><apiEventType class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiEventType ">flash.events.Event.HTML_DOM_INITIALIZE</apiEventType><adobeApiEventClassifier class="- topic/xref reference/xref apiRef/apiRelation adobeApiEvent/adobeApiEventClassifier ">flash.events.Event</adobeApiEventClassifier><apiGeneratedEvent class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiGeneratedEvent "/></adobeApiEventDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
ロード操作に対する応答で HTML DOM が作成されたことを通知します。このイベントの送出中に、HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">load()</codeph> メソッドおよび <codeph class="+ topic/ph pr-d/codeph ">loadString()</codeph> メソッドが例外をスローします。HTMLLoader オブジェクトにロードされる URL を制御する HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">window</codeph> プロパティからアクセスできる JavaScript オブジェクトの任意のプロパティおよびメソッドは、このイベントの送出中に設定された(または呼び出された)場合、例外をスローします。例えば、<codeph class="+ topic/ph pr-d/codeph ">window.location</codeph> を HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">window</codeph> プロパティを使用して設定すると、JavaScript 例外が発生します。
</apiDesc></adobeApiEventDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#loadString()" class="- topic/link "><linktext class="- topic/linktext ">loadString()</linktext></link><link href="HTMLLoader.html#load()" class="- topic/link "><linktext class="- topic/linktext ">load()</linktext></link></related-links></adobeApiEvent><adobeApiEvent id="flash.html:HTMLLoader_flash.events.HTMLUncaughtScriptExceptionEvent.UNCAUGHT_SCRIPT_EXCEPTION_uncaughtScriptException" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef adobeApiEvent/adobeApiEvent "><apiName class="- topic/title reference/title apiRef/apiName ">uncaughtScriptException</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクトで不明な JavaScript 例外が発生したことを通知します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><adobeApiEventDetail class="- topic/body reference/refbody apiRef/apiDetail adobeApiEvent/adobeApiEventDetail "><adobeApiEventDef class="- topic/section reference/section apiRef/apiDef adobeApiEvent/adobeApiEventDef "><apiEventType class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiEventType ">flash.events.HTMLUncaughtScriptExceptionEvent.UNCAUGHT_SCRIPT_EXCEPTION</apiEventType><adobeApiEventClassifier class="- topic/xref reference/xref apiRef/apiRelation adobeApiEvent/adobeApiEventClassifier ">flash.events.HTMLUncaughtScriptExceptionEvent</adobeApiEventClassifier><apiGeneratedEvent class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiGeneratedEvent "/></adobeApiEventDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクトで不明な JavaScript 例外が発生したことを通知します。イベントハンドラーでは、任意のメソッドの呼び出しおよび HTMLLoader オブジェクトの任意のプロパティへのアクセスが可能です。イベントはキャンセルすることができ、AIR Debug Launcher 実行時のデフォルトビヘイビアーは JavaScript スタックをトレース出力に送信することです。
</apiDesc></adobeApiEventDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#loadString()" class="- topic/link "><linktext class="- topic/linktext ">loadString()</linktext></link><link href="HTMLLoader.html#load()" class="- topic/link "><linktext class="- topic/linktext ">load()</linktext></link></related-links></adobeApiEvent><adobeApiEvent id="flash.html:HTMLLoader_flash.events.Event.SCROLL_scroll" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef adobeApiEvent/adobeApiEvent "><apiName class="- topic/title reference/title apiRef/apiName ">scroll</apiName><shortdesc class="- topic/shortdesc ">
scrollH プロパティまたは scrollV プロパティが HTMLLoader オブジェクトによって変更されたことを通知します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><adobeApiEventDetail class="- topic/body reference/refbody apiRef/apiDetail adobeApiEvent/adobeApiEventDetail "><adobeApiEventDef class="- topic/section reference/section apiRef/apiDef adobeApiEvent/adobeApiEventDef "><apiEventType class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiEventType ">flash.events.Event.SCROLL</apiEventType><adobeApiEventClassifier class="- topic/xref reference/xref apiRef/apiRelation adobeApiEvent/adobeApiEventClassifier ">flash.events.Event</adobeApiEventClassifier><apiGeneratedEvent class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiGeneratedEvent "/></adobeApiEventDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
<codeph class="+ topic/ph pr-d/codeph ">scrollH</codeph> プロパティまたは <codeph class="+ topic/ph pr-d/codeph ">scrollV</codeph> プロパティが HTMLLoader オブジェクトによって変更されたことを通知します。このイベントは、HTMLLoader オブジェクトで実行中の JavaScript が <codeph class="+ topic/ph pr-d/codeph ">scrollTo()</codeph> メソッド(<codeph class="+ topic/ph pr-d/codeph ">window</codeph> オブジェクト)を呼び出し、目的の場所がまだ表示されないときに、HTMLLoader オブジェクトによって送出されます。ActionScript コードで <codeph class="+ topic/ph pr-d/codeph ">scrollH</codeph> プロパティまたは <codeph class="+ topic/ph pr-d/codeph ">scrollV</codeph> プロパティが変更された場合、イベントは送出されません。イベントハンドラーでは、任意のメソッドの呼び出しおよび HTMLLoader オブジェクトの任意のプロパティへのアクセスが可能です。
<p class="- topic/p ">このイベントのイベントハンドラーを使用して <codeph class="+ topic/ph pr-d/codeph ">scrollH</codeph> プロパティおよび <codeph class="+ topic/ph pr-d/codeph ">scrollV</codeph> プロパティを確認し、HTMLLoader オブジェクトに関連付けられたすべてのスクロールバーを更新する必要があります。</p>
<p class="- topic/p ">HTMLLoader オブジェクトは、ロード処理が開始された後であれば、<codeph class="+ topic/ph pr-d/codeph ">complete</codeph> イベントを送出した後でも、このイベントを随時送出できます。</p>
</apiDesc></adobeApiEventDetail></adobeApiEvent><adobeApiEvent id="flash.html:HTMLLoader_flash.events.Event.HTML_BOUNDS_CHANGE_htmlBoundsChange" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef adobeApiEvent/adobeApiEvent "><apiName class="- topic/title reference/title apiRef/apiName ">htmlBoundsChange</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクトの contentWidth プロパティと contentHeight プロパティの一方または両方が変更されたことを通知します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><adobeApiEventDetail class="- topic/body reference/refbody apiRef/apiDetail adobeApiEvent/adobeApiEventDetail "><adobeApiEventDef class="- topic/section reference/section apiRef/apiDef adobeApiEvent/adobeApiEventDef "><apiEventType class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiEventType ">flash.events.Event.HTML_BOUNDS_CHANGE</apiEventType><adobeApiEventClassifier class="- topic/xref reference/xref apiRef/apiRelation adobeApiEvent/adobeApiEventClassifier ">flash.events.Event</adobeApiEventClassifier><apiGeneratedEvent class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiGeneratedEvent "/></adobeApiEventDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">contentWidth</codeph> プロパティと <codeph class="+ topic/ph pr-d/codeph ">contentHeight</codeph> プロパティの一方または両方が変更されたことを通知します。これは、例えば新しいイメージまたはその他のコンテンツをロードした結果である可能性があります。イベントハンドラーでは、任意のメソッドの呼び出しおよび HTMLLoader オブジェクトの任意のプロパティへのアクセスが可能です。
<p class="- topic/p ">HTMLLoader オブジェクトは、ロード処理が開始された後であれば、<codeph class="+ topic/ph pr-d/codeph ">complete</codeph> イベントを送出した後でも、このイベントを随時送出できます。</p>
</apiDesc></adobeApiEventDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#contentWidth" class="- topic/link "><linktext class="- topic/linktext ">contentWidth</linktext></link><link href="HTMLLoader.html#contentHeight" class="- topic/link "><linktext class="- topic/linktext ">contentHeight</linktext></link></related-links></adobeApiEvent><adobeApiEvent id="flash.html:HTMLLoader_flash.events.LocationChangeEvent.LOCATION_CHANGE_locationChange" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef adobeApiEvent/adobeApiEvent "><apiName class="- topic/title reference/title apiRef/apiName ">locationChange</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクトの location プロパティが変更されたことを通知します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="2.7" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><adobeApiEventDetail class="- topic/body reference/refbody apiRef/apiDetail adobeApiEvent/adobeApiEventDetail "><adobeApiEventDef class="- topic/section reference/section apiRef/apiDef adobeApiEvent/adobeApiEventDef "><apiEventType class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiEventType ">flash.events.LocationChangeEvent.LOCATION_CHANGE</apiEventType><adobeApiEventClassifier class="- topic/xref reference/xref apiRef/apiRelation adobeApiEvent/adobeApiEventClassifier ">flash.events.LocationChangeEvent</adobeApiEventClassifier><apiGeneratedEvent class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiGeneratedEvent "/><apiTipTexts><apiTipText class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiTipText ">HTMLLoader オブジェクトの location プロパティが変更されたことを通知します。
</apiTipText></apiTipTexts></adobeApiEventDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">location</codeph> プロパティが変更されたことを通知します。このイベントのイベントハンドラーでは、任意のメソッドの呼び出しおよび HTMLLoader オブジェクトの任意のプロパティへのアクセスが可能です。
<p class="- topic/p ">AIR 名前空間 2.7 以降を使用するアプリケーションでは、タイプ LocationChangeEvent の <codeph class="+ topic/ph pr-d/codeph ">locationChange</codeph> イベントが HTMLLoader によって送出されます。AIR の以前のバージョンでは、送出されたイベントオブジェクトは Event クラスのインスタンスです。</p>
</apiDesc></adobeApiEventDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#loadString()" class="- topic/link "><linktext class="- topic/linktext ">loadString()</linktext></link><link href="HTMLLoader.html#load()" class="- topic/link "><linktext class="- topic/linktext ">load()</linktext></link></related-links></adobeApiEvent><adobeApiEvent id="flash.html:HTMLLoader_flash.events.Event.LOCATION_CHANGE_locationChange" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef adobeApiEvent/adobeApiEvent "><apiName class="- topic/title reference/title apiRef/apiName ">locationChange</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクトの location プロパティが変更されたことを通知します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><adobeApiEventDetail class="- topic/body reference/refbody apiRef/apiDetail adobeApiEvent/adobeApiEventDetail "><adobeApiEventDef class="- topic/section reference/section apiRef/apiDef adobeApiEvent/adobeApiEventDef "><apiEventType class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiEventType ">flash.events.Event.LOCATION_CHANGE</apiEventType><adobeApiEventClassifier class="- topic/xref reference/xref apiRef/apiRelation adobeApiEvent/adobeApiEventClassifier ">flash.events.Event</adobeApiEventClassifier><apiGeneratedEvent class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiGeneratedEvent "/><apiTipTexts><apiTipText class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiTipText ">HTMLLoader オブジェクトの location プロパティが変更されたことを通知します。
</apiTipText></apiTipTexts></adobeApiEventDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">location</codeph> プロパティが変更されたことを通知します。このイベントのイベントハンドラーでは、任意のメソッドの呼び出しおよび HTMLLoader オブジェクトの任意のプロパティへのアクセスが可能です。
<p class="- topic/p ">2.7 より前の AIR 名前空間を使用するアプリケーションでは、タイプ Event の <codeph class="+ topic/ph pr-d/codeph ">locationChange</codeph> イベントが HTMLLoader によって送出されます。AIR 2.7 以降では、イベントオブジェクトは LocationChangeEvent クラスのインスタンスです。このクラスでは、新しいページの URL に設定される追加の <codeph class="+ topic/ph pr-d/codeph ">location</codeph> プロパティが用意されています。</p>
</apiDesc></adobeApiEventDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#loadString()" class="- topic/link "><linktext class="- topic/linktext ">loadString()</linktext></link><link href="HTMLLoader.html#load()" class="- topic/link "><linktext class="- topic/linktext ">load()</linktext></link></related-links></adobeApiEvent><adobeApiEvent id="flash.html:HTMLLoader_flash.events.LocationChangeEvent.LOCATION_CHANGING_locationChanging" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef adobeApiEvent/adobeApiEvent "><apiName class="- topic/title reference/title apiRef/apiName ">locationChanging</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクトの location プロパティが変更されることを通知します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2.7" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><adobeApiEventDetail class="- topic/body reference/refbody apiRef/apiDetail adobeApiEvent/adobeApiEventDetail "><adobeApiEventDef class="- topic/section reference/section apiRef/apiDef adobeApiEvent/adobeApiEventDef "><apiEventType class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiEventType ">flash.events.LocationChangeEvent.LOCATION_CHANGING</apiEventType><adobeApiEventClassifier class="- topic/xref reference/xref apiRef/apiRelation adobeApiEvent/adobeApiEventClassifier ">flash.events.LocationChangeEvent</adobeApiEventClassifier><apiGeneratedEvent class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiGeneratedEvent "/><apiTipTexts><apiTipText class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiTipText ">HTMLLoader オブジェクトの location プロパティが変更されることを通知します。
</apiTipText></apiTipTexts></adobeApiEventDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">location</codeph> プロパティが変更されることを通知します。
<p class="- topic/p "><codeph class="+ topic/ph pr-d/codeph ">locationChanging</codeph> イベントが送出されるのは、ユーザーがリンクをクリックするなどのユーザー操作によって、またはクライアント側のリダイレクトなどの HTMLLoader 内部で実行するコードによって、location の変更が開始されたときのみです。デフォルトで、新しい場所はこの HTMLLoader オブジェクトに表示されます。デフォルトの動作をキャンセルするには、イベントオブジェクトの <codeph class="+ topic/ph pr-d/codeph ">preventDefault()</codeph> メソッドを呼び出します。例えば、イベントオブジェクトの <codeph class="+ topic/ph pr-d/codeph ">location</codeph> プロパティに基づいて、システムブラウザーのページを開くには、<codeph class="+ topic/ph pr-d/codeph ">flash.net.navigateToURL()</codeph> 関数を使用します.</p>
<p class="- topic/p ">次のメソッドを呼び出すときには、<codeph class="+ topic/ph pr-d/codeph ">locationChanging()</codeph> イベントは送出されません。</p>
<ul class="- topic/ul "><li class="- topic/li ">load()</li><li class="- topic/li ">loadString()</li><li class="- topic/li ">reload()</li><li class="- topic/li ">historyBack()</li><li class="- topic/li ">historyForward()</li><li class="- topic/li ">historyGo()</li></ul>
<p class="- topic/p ">また、<codeph class="+ topic/ph pr-d/codeph ">navigateInSystemBrowser</codeph> プロパティが <codeph class="+ topic/ph pr-d/codeph ">true</codeph> で、目的のページをシステムブラウザーで開く場合、HTMLLoader の location が変更されないので、このイベントは送出されません。</p>
</apiDesc><example conref="examples\HTMLLoader_locationChanging.as" class="- topic/example "> 次のコードは HTMLLoader オブジェクトの初期化、その幅と高さの設定、URL http://www.adobe.com のロード、オブジェクトの表示リストへの追加を行います。ユーザー(またはページ上の JavaScript)が、先頭部分がベース URL でない URL に移動しようとすると、その移動は阻止されます。
<codeblock xml:space="preserve" class="+ topic/pre pr-d/codeblock ">
package{
import flash.display.Sprite;
import flash.html.HTMLLoader;
import flash.net.URLRequest;
public class LocationChanging extends Sprite
{
var htmlLoader:HTMLLoader = new HTMLLoader();
public function LocationChanging()
{
htmlLoader.width = stage.stageWidth;
htmlLoader.height = stage.stageHeight;
htmlLoader.addEventListener( LocationChangeEvent.LOCATION_CHANGING, onLocationChanging );
htmlLoader.load( new URLRequest( "http://www.adobe.com" ) );
this.addChild( htmlLoader );
}
private function onLocationChanging( event:LocationChangeEvent ):void
{
trace( "Location changing: " + event.location );
if ( event.location.indexOf( "http://www.adobe.com" ) &lt; 0 )
{
event.preventDefault();
}
}
}
}
</codeblock></example></adobeApiEventDetail></adobeApiEvent><adobeApiEvent id="flash.html:HTMLLoader_flash.events.Event.HTML_RENDER_htmlRender" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef adobeApiEvent/adobeApiEvent "><apiName class="- topic/title reference/title apiRef/apiName ">htmlRender</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクト内のコンテンツのレンダリングが最新の状態であることを通知します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><adobeApiEventDetail class="- topic/body reference/refbody apiRef/apiDetail adobeApiEvent/adobeApiEventDetail "><adobeApiEventDef class="- topic/section reference/section apiRef/apiDef adobeApiEvent/adobeApiEventDef "><apiEventType class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiEventType ">flash.events.Event.HTML_RENDER</apiEventType><adobeApiEventClassifier class="- topic/xref reference/xref apiRef/apiRelation adobeApiEvent/adobeApiEventClassifier ">flash.events.Event</adobeApiEventClassifier><apiGeneratedEvent class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiGeneratedEvent "/></adobeApiEventDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクト内のコンテンツのレンダリングが最新の状態であることを通知します。このイベントは、HTML コンテンツのレンダリングが変更されるたびに、頻繁に送出することができます。例えば、ユーザーがリンクをクリックして新しいコンテンツが表示されるとき、ページ内の JavaScript が HTML をレンダリングするときなどに、このイベントが送出されます。イベントリスナーでは、任意のメソッドの呼び出しおよび HTMLLoader オブジェクトの任意のプロパティへのアクセスが可能です。
<p class="- topic/p ">このイベントのハンドラーを使用して HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">contentWidth</codeph> プロパティおよび <codeph class="+ topic/ph pr-d/codeph ">contentHeight</codeph> プロパティを確認し、HTMLLoader オブジェクトに関連付けられたすべてのスクロールバーを更新する必要があります。</p>
<p class="- topic/p ">HTMLLoader オブジェクトは、ロード処理が開始された後であれば、<codeph class="+ topic/ph pr-d/codeph ">complete</codeph> イベントを送出した後でも、このイベントを随時送出できます。</p>
</apiDesc></adobeApiEventDetail></adobeApiEvent><adobeApiEvent id="flash.html:HTMLLoader_flash.events.Event.COMPLETE_complete" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef adobeApiEvent/adobeApiEvent "><apiName class="- topic/title reference/title apiRef/apiName ">complete</apiName><shortdesc class="- topic/shortdesc ">
loadString または load メソッドによって要求された最後のロード処理が完了したことを通知します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><adobeApiEventDetail class="- topic/body reference/refbody apiRef/apiDetail adobeApiEvent/adobeApiEventDetail "><adobeApiEventDef class="- topic/section reference/section apiRef/apiDef adobeApiEvent/adobeApiEventDef "><apiEventType class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiEventType ">flash.events.Event.COMPLETE</apiEventType><adobeApiEventClassifier class="- topic/xref reference/xref apiRef/apiRelation adobeApiEvent/adobeApiEventClassifier ">flash.events.Event</adobeApiEventClassifier><apiGeneratedEvent class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiGeneratedEvent "/></adobeApiEventDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
<codeph class="+ topic/ph pr-d/codeph ">loadString</codeph> または <codeph class="+ topic/ph pr-d/codeph ">load</codeph> メソッドによって要求された最後のロード処理が完了したことを通知します。このイベントは、<i class="+ topic/ph hi-d/i "></i>(JavaScript の <codeph class="+ topic/ph pr-d/codeph ">load</codeph> イベントが HTMLLoader オブジェクトの HTML DOM で発行された後)に送出されます。このイベントは必ず非同期で送出されます。このイベントのイベントハンドラーでは、任意のメソッドの呼び出しおよび HTMLLoader オブジェクトの任意のプロパティへのアクセスが可能です。
</apiDesc></adobeApiEventDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#loadString()" class="- topic/link "><linktext class="- topic/linktext ">loadString()</linktext></link><link href="HTMLLoader.html#load()" class="- topic/link "><linktext class="- topic/linktext ">load()</linktext></link></related-links></adobeApiEvent><apiConstructor id="flash.html:HTMLLoader:HTMLLoader" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation apiOperation/apiConstructor"><apiName class="- topic/title reference/title apiRef/apiName ">HTMLLoader</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクトを作成します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiConstructorDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail apiOperation/apiConstructorDetail"><apiConstructorDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiConstructorDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/></apiConstructorDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクトを作成します。
</apiDesc></apiConstructorDetail></apiConstructor><apiOperation id="flash.html:HTMLLoader:cancelLoad" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">cancelLoad</apiName><shortdesc class="- topic/shortdesc ">
進行中のロード操作をすべてキャンセルします。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
進行中のロード操作をすべてキャンセルします。
</apiDesc></apiOperationDetail></apiOperation><apiOperation id="flash.html:HTMLLoader:createRootWindow" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">createRootWindow</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクトを格納する新しい NativeWindow オブジェクトを作成します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiDesc class="- topic/section reference/section apiRef/apiDesc ">新しい NativeWindow オブジェクトのステージにある新しい HTMLLoader オブジェクトです。
</apiDesc><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">flash.html:HTMLLoader</apiOperationClassifier></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">visible</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">Boolean</apiOperationClassifier><apiData class="- topic/ph reference/ph apiRef/apiData ">true</apiData><apiDesc class="- topic/section reference/section apiRef/apiDesc ">ウィンドウを表示させるかどうかを指定します。
</apiDesc></apiParam><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">windowInitOptions</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">flash.display:NativeWindowInitOptions</apiOperationClassifier><apiData class="- topic/ph reference/ph apiRef/apiData ">null</apiData><apiDesc class="- topic/section reference/section apiRef/apiDesc ">ウィンドウの初期化オプションを指定します。<codeph class="+ topic/ph pr-d/codeph ">null</codeph> の場合は、デフォルトの <codeph class="+ topic/ph pr-d/codeph ">NativeWindowInitOptions</codeph> 値が使用されます。
</apiDesc></apiParam><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">scrollBarsVisible</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">Boolean</apiOperationClassifier><apiData class="- topic/ph reference/ph apiRef/apiData ">true</apiData><apiDesc class="- topic/section reference/section apiRef/apiDesc ">ウィンドウにスクロールバーを表示するかどうかを指定します。
</apiDesc></apiParam><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">bounds</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">flash.geom:Rectangle</apiOperationClassifier><apiData class="- topic/ph reference/ph apiRef/apiData ">null</apiData><apiDesc class="- topic/section reference/section apiRef/apiDesc "><codeph class="+ topic/ph pr-d/codeph ">null</codeph> 以外の場合は、ウィンドウの境界を指定します。<codeph class="+ topic/ph pr-d/codeph ">x</codeph><codeph class="+ topic/ph pr-d/codeph ">y</codeph><codeph class="+ topic/ph pr-d/codeph ">width</codeph> または <codeph class="+ topic/ph pr-d/codeph ">height</codeph> のいずれかが <codeph class="+ topic/ph pr-d/codeph ">NaN</codeph> である場合、それに対応するウィンドウのサイズにはデフォルト値が使用されます。
</apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクトを格納する新しい NativeWindow オブジェクトを作成します。このメソッドによって返された HTMLLoader オブジェクトを使用して、HTML コンテンツをロードします。
<p class="- topic/p ">デフォルトでは(このメソッドの呼び出し時にパラメーターを設定しなかった場合)、新しいウィンドウには標準のシステムクロムが使用され、コンテンツの ScrollBar コントロールが含まれます。新しいウィンドウのプロパティを変更するには、パラメーターを設定します。</p>
<p class="- topic/p ">ウィンドウにコンテンツを読み込み、スタイルシートを適用すると、グラフィックに関して重大ではない問題が発生する場合があります。このような不具合が表示されるのを防ぐには、<codeph class="+ topic/ph pr-d/codeph ">visible</codeph> パラメーターを <codeph class="+ topic/ph pr-d/codeph ">false</codeph> に設定します。ウィンドウがコンテンツを読み込んでレイアウトすると、<codeph class="+ topic/ph pr-d/codeph ">window.nativeWindow.visible</codeph> プロパティを <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定するか、<codeph class="+ topic/ph pr-d/codeph ">window.nativeWindow.activate()</codeph> メソッドを呼び出して、そのコンテンツを表示します。</p>
</apiDesc></apiOperationDetail></apiOperation><apiOperation id="flash.html:HTMLLoader:getHistoryAt" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">getHistoryAt</apiName><shortdesc class="- topic/shortdesc ">
指定の位置で履歴エントリを返します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiDesc class="- topic/section reference/section apiRef/apiDesc ">指定の位置にある履歴エントリの URLRequest オブジェクトです。
</apiDesc><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">flash.html:HTMLHistoryItem</apiOperationClassifier></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">position</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">uint</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc ">履歴リスト内の位置です。
</apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
指定の位置で履歴エントリを返します。
</apiDesc></apiOperationDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#historyPosition" class="- topic/link "><linktext class="- topic/linktext ">historyPosition</linktext></link></related-links></apiOperation><apiOperation id="flash.html:HTMLLoader:historyBack" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">historyBack</apiName><shortdesc class="- topic/shortdesc ">
可能であれば、ブラウザーの履歴内を後方に戻ります。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
可能であれば、ブラウザーの履歴内を後方に戻ります。
<p class="- topic/p ">HTMLLoader オブジェクトのこのメソッドを呼び出すと、該当する HTML ページの JavaScript で、<codeph class="+ topic/ph pr-d/codeph ">back()</codeph> メソッド(<codeph class="+ topic/ph pr-d/codeph ">window.history</codeph> プロパティのメソッド)を呼び出した場合と同じ結果が得られます。</p>
<p class="- topic/p ">この関数はエラーをスローしません。</p>
</apiDesc></apiOperationDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#historyPosition" class="- topic/link "><linktext class="- topic/linktext ">historyPosition</linktext></link></related-links></apiOperation><apiOperation id="flash.html:HTMLLoader:historyForward" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">historyForward</apiName><shortdesc class="- topic/shortdesc ">
可能であれば、ブラウザーの履歴内を前方に進みます。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
可能であれば、ブラウザーの履歴内を前方に進みます。
<p class="- topic/p ">HTMLLoader オブジェクトのこのメソッドを呼び出すと、該当する HTML ページの JavaScript で、<codeph class="+ topic/ph pr-d/codeph ">forward()</codeph> メソッド(<codeph class="+ topic/ph pr-d/codeph ">window.history</codeph> プロパティのメソッド)を呼び出した場合と同じ結果が得られます。</p>
<p class="- topic/p ">この関数はエラーをスローしません。</p>
</apiDesc></apiOperationDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#historyPosition" class="- topic/link "><linktext class="- topic/linktext ">historyPosition</linktext></link></related-links></apiOperation><apiOperation id="flash.html:HTMLLoader:historyGo" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">historyGo</apiName><shortdesc class="- topic/shortdesc ">
ブラウザーの履歴内を指定のステップ数だけ移動します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">steps</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">int</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc ">履歴リストの中を前方(正数)または後方(負数)に移動するステップ数です。
</apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
ブラウザーの履歴内を指定のステップ数だけ移動します。正数の場合は前方、負数の場合は後方に移動します。0 の場合は、強制的にリロードされます。
<p class="- topic/p ">このメソッドを実行すると、HTML ページの JavaScript で <codeph class="+ topic/ph pr-d/codeph ">go()</codeph> メソッド(<codeph class="+ topic/ph pr-d/codeph ">window.history</codeph> プロパティのメソッド)を呼び出した場合と同じ結果が得られます。</p>
<p class="- topic/p ">この関数はエラーをスローしません。</p>
</apiDesc></apiOperationDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#historyPosition" class="- topic/link "><linktext class="- topic/linktext ">historyPosition</linktext></link></related-links></apiOperation><apiOperation id="flash.html:HTMLLoader:loadString" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">loadString</apiName><shortdesc class="- topic/shortdesc ">
HTML ストリングに含まれている HTML コンテンツと共に、HTMLLoader オブジェクトをロードします。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">htmlContent</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc ">HTMLLoader オブジェクトにロードする HTML コンテンツを含むストリングです。
</apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTML ストリングに含まれている HTML コンテンツと共に、HTMLLoader オブジェクトをロードします。ストリングに含まれる HTML のレンダリングが完了すると、<codeph class="+ topic/ph pr-d/codeph ">complete</codeph> イベントが送出されます。<codeph class="+ topic/ph pr-d/codeph ">complete</codeph> イベントは必ず非同期で送出されます。
<p class="- topic/p ">このメソッドの呼び出しを実行すると、このメソッドまたは <codeph class="+ topic/ph pr-d/codeph ">load()</codeph> メソッドにより開始された保留中のロード処理が、暗黙的にすべてキャンセルされます。以前のロード処理に対する <codeph class="+ topic/ph pr-d/codeph ">complete</codeph> イベントは、発行されません。</p>
<p class="- topic/p ">ストリングで指定された HTML に外部リソースへの参照が設定されていない場合、このメソッドは HTML を同期的にレンダリングします。ただし、<codeph class="+ topic/ph pr-d/codeph ">complete</codeph> イベントは非同期で送出されます。この関数の呼び出しの直後に、このクラスの <codeph class="+ topic/ph pr-d/codeph ">loaded</codeph> プロパティが <codeph class="+ topic/ph pr-d/codeph ">true</codeph> である場合、<codeph class="+ topic/ph pr-d/codeph ">htmlContent</codeph> パラメーターで指定された HTML コンテンツが同期的にレンダリングされたことを意味します。</p>
<p class="- topic/p "><codeph class="+ topic/ph pr-d/codeph ">complete</codeph> イベントが発行されない場合もあります。これは、HTMLLoader オブジェクトにロードされた HTML コンテンツが完全にダウンロードされなかった場合に起こります。これは、コンテンツの生成を無限に繰り返す CGI スクリプトの URL への参照が、HTML コンテンツに設定されている場合に起こることがあります。</p>
<p class="- topic/p "><codeph class="+ topic/ph pr-d/codeph ">loadString()</codeph> メソッドを使用してロードされるコンテンツは、<codeph class="+ topic/ph pr-d/codeph ">placeLoadStringContentInApplicationSandbox</codeph> プロパティが <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定されている場合のみ、アプリケーションセキュリティサンドボックスの中に置かれます。</p>
</apiDesc></apiOperationDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#placeLoadStringContentInApplicationSandbox" class="- topic/link "><linktext class="- topic/linktext ">placeLoadStringContentInApplicationSandbox</linktext></link></related-links></apiOperation><apiOperation id="flash.html:HTMLLoader:load" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">load</apiName><shortdesc class="- topic/shortdesc ">
urlRequestToLoad パラメーターによって指定されたサイトからのデータと共に、HTMLLoader オブジェクトをロードします。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">urlRequestToLoad</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">flash.net:URLRequest</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc ">ロードする URL に関する情報が格納された URLRequest オブジェクトです。ロードする URL に加え、URLRequest オブジェクトには、HTTP 形式の submission メソッド(GET または POST)、リクエストに基づいて送信されるすべてのデータおよびリクエストヘッダーを定義するプロパティが格納されています。
</apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
<codeph class="+ topic/ph pr-d/codeph ">urlRequestToLoad</codeph> パラメーターによって指定されたサイトからのデータと共に、HTMLLoader オブジェクトをロードします。このメソッドの呼び出しを実行すると、<codeph class="+ topic/ph pr-d/codeph ">loaded</codeph> プロパティの初期値は <codeph class="+ topic/ph pr-d/codeph ">false</codeph> に設定されます。このメソッドにより、必ず非同期的に完了する処理が開始されます。
<p class="- topic/p ">このメソッドの呼び出しを実行すると、このメソッドまたは <codeph class="+ topic/ph pr-d/codeph ">loadString()</codeph> メソッドにより開始された保留中のロード処理が、暗黙的にすべてキャンセルされます。以前のロード処理に対する <codeph class="+ topic/ph pr-d/codeph ">complete</codeph> イベントは、発行されません。</p>
<p class="- topic/p "><codeph class="+ topic/ph pr-d/codeph ">complete</codeph> イベントが発行されない場合もあります。これは、HTMLLoader オブジェクトにロードされた HTML コンテンツが完全にダウンロードされなかった場合に起こります。これは、コンテンツの生成を無限に繰り返す CGI スクリプトの URL への参照が、HTML コンテンツに設定されている場合に起こることがあります。</p>
</apiDesc></apiOperationDetail><related-links class="- topic/related-links "><link href="flash.net.xml#URLRequest" class="- topic/link "><linktext class="- topic/linktext ">flash.net.URLRequest</linktext></link></related-links></apiOperation><apiOperation id="flash.html:HTMLLoader:reload" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">reload</apiName><shortdesc class="- topic/shortdesc ">
現在の location からページをリロードします。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
現在の location からページをリロードします。
</apiDesc></apiOperationDetail></apiOperation><apiValue id="flash.html:HTMLLoader:authenticate:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">authenticate</apiName><shortdesc class="- topic/shortdesc ">
このオブジェクトから発行された HTTP リクエストに対して認証リクエストを処理する(true)か、しない(false)かを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier><apiDefaultValue>initialized from URLRequestDefaults.authenticate
</apiDefaultValue></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
このオブジェクトから発行された HTTP リクエストに対して認証リクエストを処理する(<codeph class="+ topic/ph pr-d/codeph ">true</codeph>)か、しない(<codeph class="+ topic/ph pr-d/codeph ">false</codeph>)かを指定します。<codeph class="+ topic/ph pr-d/codeph ">false</codeph> の場合、認証チャレンジは HTTP エラーを返します。
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="flash.net.xml#URLRequest/authenticate" class="- topic/link "><linktext class="- topic/linktext ">flash.net.URLRequest.authenticate</linktext></link><link href="flash.net.xml#URLRequestDefaults/authenticate" class="- topic/link "><linktext class="- topic/linktext ">flash.net.URLRequestDefaults.authenticate</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:cacheResponse:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">cacheResponse</apiName><shortdesc class="- topic/shortdesc ">
このオブジェクトから発行された HTTP リクエストに対する正常な応答データをキャッシュするかどうかを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier><apiDefaultValue>initialized from URLRequestDefaults.cacheResponse
</apiDefaultValue></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
このオブジェクトから発行された HTTP リクエストに対する正常な応答データをキャッシュするかどうかを指定します。<codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定された場合、HTMLLoader オブジェクトはオペレーティングシステムの HTTP キャッシュを使用します。
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="flash.net.xml#URLRequestDefaults/cacheResponse" class="- topic/link "><linktext class="- topic/linktext ">flash.net.URLRequestDefaults.cacheResponse</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:contentHeight:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">contentHeight</apiName><shortdesc class="- topic/shortdesc ">
HTML コンテンツの高さです(ピクセル単位)。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Number</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTML コンテンツの高さです(ピクセル単位)。このプロパティは HTMLLoader オブジェクトのサイズの変更に合わせて変更できます。例えば、HTML ページは HTMLLoader オブジェクトの高さ全体を使用する場合が多く、HTMLLoader オブジェクトの高さを変更すると <codeph class="+ topic/ph pr-d/codeph ">contentHeight</codeph> プロパティも変更されます。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLLoader:contentWidth:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">contentWidth</apiName><shortdesc class="- topic/shortdesc ">
HTML コンテンツの幅です(ピクセル単位)。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Number</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTML コンテンツの幅です(ピクセル単位)。このプロパティは HTMLLoader オブジェクトのサイズの変更に合わせて変更できます。例えば、HTML ページは HTMLLoader オブジェクトの幅全体を使用することが多く、HTMLLoader オブジェクトの幅を変えると <codeph class="+ topic/ph pr-d/codeph ">contentWidth</codeph> プロパティも変更される場合があります。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLLoader:hasFocusableContent:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">hasFocusableContent</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクト内のコンテンツがフォーカス可能であるかどうかを示します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクト内のコンテンツがフォーカス可能であるかどうかを示します。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLLoader:height:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">height</apiName><shortdesc class="- topic/shortdesc ">
レンダリング中の HTML キャンバスの矩形の高さを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiIsOverride class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiIsOverride "/><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Number</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
レンダリング中の HTML キャンバスの矩形の高さを指定します。このプロパティ値は、HTMLLoader 表示オブジェクトの高さです(ピクセル単位)。<codeph class="+ topic/ph pr-d/codeph ">height</codeph> の最大値は 4,095 ピクセルです。このプロパティを変更すると、HTMLLoader オブジェクトによって HTML ドキュメントの再レンダリングが実行されます。このプロパティの変更に応答して、<codeph class="+ topic/ph pr-d/codeph ">htmlBoundsChanged</codeph> イベントが送出されることがあります。
<p class="- topic/p ">HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">width</codeph> プロパティまたは <codeph class="+ topic/ph pr-d/codeph ">height</codeph> プロパティを設定すると、オブジェクトの境界は変更されますが、(他の種類の表示オブジェクトと同様に)コンテンツは拡大または縮小されません。</p>
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLLoader:historyLength:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">historyLength</apiName><shortdesc class="- topic/shortdesc ">
後方と前方のエントリを含む、履歴リスト全体の長さです。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">uint</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
後方と前方のエントリを含む、履歴リスト全体の長さです。このプロパティの値は、HTML ページの JavaScript プロパティ <codeph class="+ topic/ph pr-d/codeph ">window.history.length</codeph> の値と同じです。
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#historyPosition" class="- topic/link "><linktext class="- topic/linktext ">historyPosition</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:historyPosition:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">historyPosition</apiName><shortdesc class="- topic/shortdesc ">
履歴リストでの現在の位置です。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">uint</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
履歴リストでの現在の位置です。履歴リストは、HTML ページの <codeph class="+ topic/ph pr-d/codeph ">window.history</codeph> オブジェクトに対応しています。現在の位置未満のエントリは "後方" リスト、現在の位置を超えるエントリは "前方" リストです。最後の位置を超える位置を設定しようとすると、最後の位置に設定されます。
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#getHistoryAt()" class="- topic/link "><linktext class="- topic/linktext ">getHistoryAt()</linktext></link><link href="HTMLLoader.html#historyBack()" class="- topic/link "><linktext class="- topic/linktext ">historyBack()</linktext></link><link href="HTMLLoader.html#historyGo()" class="- topic/link "><linktext class="- topic/linktext ">historyGo()</linktext></link><link href="HTMLLoader.html#historyForward()" class="- topic/link "><linktext class="- topic/linktext ">historyForward()</linktext></link><link href="HTMLLoader.html#historyLength" class="- topic/link "><linktext class="- topic/linktext ">historyLength</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:htmlHost:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">htmlHost</apiName><shortdesc class="- topic/shortdesc ">
ユーザーインターフェイスにある、HTMLLoader オブジェクトの window.document.title プロパティなどの特定のエレメントの変更を扱う HTMLHost オブジェクトです。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">flash.html:HTMLHost</apiValueClassifier><apiTipTexts><apiTipText class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiTipText ">ユーザーインターフェイスにある、HTMLLoader オブジェクトの window.document.title プロパティなどの特定のエレメントの変更を扱う HTMLHost オブジェクトです。
</apiTipText></apiTipTexts></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
ユーザーインターフェイスにある、HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">window.document.title</codeph> プロパティなどの特定のエレメントの変更を扱う HTMLHost オブジェクトです。 <ph class="- topic/ph ">HTMLLoader オブジェクトのデフォルトの動作をオーバーライドするには、HTMLHost クラスのサブクラスを作成し、HTML コンテンツで様々なユーザーインターフェイスの変更を処理できるようにそのメンバ関数をオーバーライドします。</ph>
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="HTMLHost.html" class="- topic/link "><linktext class="- topic/linktext ">HTMLHost クラス</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:idleTimeout:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">idleTimeout</apiName><shortdesc class="- topic/shortdesc ">
このオブジェクトによって発行された HTTP 要求のタイムアウト値(ミリ秒)を指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Number</apiValueClassifier><apiDefaultValue>initialized from URLRequestDefaults.idleTimeout
</apiDefaultValue></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
このオブジェクトによって発行された HTTP 要求のタイムアウト値(ミリ秒)を指定します。
<p class="- topic/p ">アイドルタイムアウトとは、接続が確立された後、要求が廃棄されるまでの間、クライアントがサーバーからの応答を待機する時間です。</p>
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="flash.net.xml#URLRequestDefaults/idleTimeout" class="- topic/link "><linktext class="- topic/linktext ">URLRequestDefaults.idleTimeout</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:isSupported:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">isSupported</apiName><shortdesc class="- topic/shortdesc ">
クライアントシステムで HTMLLoader クラスがサポートされているかどうかを示します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata><asCustoms class="+ topic/metadata adobe-api-d/asCustoms "><language>3.0
</language></asCustoms></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
クライアントシステムで HTMLLoader クラスがサポートされているかどうかを示します。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLLoader:loaded:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">loaded</apiName><shortdesc class="- topic/shortdesc ">
以前の load() または loadString() メソッドの呼び出しに対応する JavaScript の load イベントが、HTMLLoader オブジェクトの HTML DOM に発行されたかどうかを示します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
以前の <codeph class="+ topic/ph pr-d/codeph ">load()</codeph> または <codeph class="+ topic/ph pr-d/codeph ">loadString()</codeph> メソッドの呼び出しに対応する JavaScript の load イベントが、HTMLLoader オブジェクトの HTML DOM に発行されたかどうかを示します。このプロパティが <codeph class="+ topic/ph pr-d/codeph ">true</codeph> であるのは、<codeph class="+ topic/ph pr-d/codeph ">complete</codeph> イベントが送出されていない場合です。このプロパティが <codeph class="+ topic/ph pr-d/codeph ">true</codeph> にならない場合もあります。<codeph class="+ topic/ph pr-d/codeph ">complete</codeph> イベントが送出されない場合も、同様の結果になります。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLLoader:location:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">location</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクトにロードされたコンテンツの URL です。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">String</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクトにロードされたコンテンツの URL です。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLLoader:manageCookies:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">manageCookies</apiName><shortdesc class="- topic/shortdesc ">
このオブジェクトのクッキーの管理に HTTP プロトコルスタックを使用するかどうかを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier><apiDefaultValue>initialized from URLRequestDefaults.manageCookies
</apiDefaultValue></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
このオブジェクトのクッキーの管理に HTTP プロトコルスタックを使用するかどうかを指定します。<codeph class="+ topic/ph pr-d/codeph ">true</codeph> の場合、クッキーが要求に追加され、応答クッキーが記憶されます。<codeph class="+ topic/ph pr-d/codeph ">false</codeph> の場合、クッキーはリクエストに追加されず<i class="+ topic/ph hi-d/i "/>、応答クッキーは記憶されません。<i class="+ topic/ph hi-d/i "/>
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="flash.net.xml#URLRequest/manageCookies" class="- topic/link "><linktext class="- topic/linktext ">flash.net.URLRequest.manageCookies</linktext></link><link href="flash.net.xml#URLRequestDefaults/manageCookies" class="- topic/link "><linktext class="- topic/linktext ">flash.net.URLRequestDefaults.manageCookies</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:navigateInSystemBrowser:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">navigateInSystemBrowser</apiName><shortdesc class="- topic/shortdesc ">
HTML コンテンツのルートフレームの移動(ユーザーがリンクをクリックするとき、window.location プロパティが設定されるとき、window.open() を呼び出すときなど)が、HTMLLoader オブジェクトでの移動(false)になるのか、デフォルトシステム Web ブラウザーでの移動(true)になるのかを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier><apiDefaultValue>false
</apiDefaultValue><apiTipTexts><apiTipText class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiTipText ">HTML コンテンツのルートフレームの移動が、HTMLLoader オブジェクトでの移動(false)になるのかデフォルトシステム Web ブラウザーでの移動(true)になるのかを示します。
</apiTipText></apiTipTexts></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTML コンテンツのルートフレームの移動(ユーザーがリンクをクリックするとき、<codeph class="+ topic/ph pr-d/codeph ">window.location</codeph> プロパティが設定されるとき、<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> を呼び出すときなど)が、HTMLLoader オブジェクトでの移動(<codeph class="+ topic/ph pr-d/codeph ">false</codeph>)になるのか、デフォルトシステム Web ブラウザーでの移動(<codeph class="+ topic/ph pr-d/codeph ">true</codeph>)になるのかを示します。すべての移動を(HTMLLoader オブジェクト内ではなく)システム Web ブラウザー内で発生させる場合は、このプロパティを <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定します。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLLoader:paintsDefaultBackground:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">paintsDefaultBackground</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader ドキュメントの背景を不透明白色にする(true)か、しない(false)かを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier><apiTipTexts><apiTipText class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiTipText ">HTMLLoader ドキュメントの背景を不透明白色にする(true)か、しない(false)かを指定します。
</apiTipText></apiTipTexts></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader ドキュメントの背景を不透明白色にする(<codeph class="+ topic/ph pr-d/codeph ">true</codeph>)か、しない(<codeph class="+ topic/ph pr-d/codeph ">false</codeph>)かを指定します。このプロパティを <codeph class="+ topic/ph pr-d/codeph ">false</codeph> に設定すると、HTMLLoader オブジェクトの HTML の背景には、表示オブジェクトコンテナと表示オブジェクトコンテナの透明度(<codeph class="+ topic/ph pr-d/codeph ">alpha</codeph> 値)が使用されます。ただし、HTML ドキュメントの <codeph class="+ topic/ph pr-d/codeph ">body</codeph> エレメントまたはその他のエレメントに不透明背景色が設定されている場合は(例えば <codeph class="+ topic/ph pr-d/codeph ">style="background-color:gray"</codeph> と指定されている場合など)、レンダリングされた HTML の該当部分には、指定の不透明背景色が使用されます。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLLoader:pdfCapability:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">pdfCapability</apiName><shortdesc class="- topic/shortdesc ">
ユーザーのシステムに対する PDF サポートのタイプです。整数のコード値で定義します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">int</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
ユーザーのシステムに対する PDF サポートのタイプです。整数のコード値で定義します。このプロパティが <codeph class="+ topic/ph pr-d/codeph ">PDFCapability.STATUS_OK</codeph> である場合にのみ、HTMLLoader オブジェクトで PDF のコンテンツを表示できます。PDFCapability クラスでは、<codeph class="+ topic/ph pr-d/codeph ">pdfCapability</codeph> プロパティの値として使用できる次の定数を定義します。
<adobetable class="innertable"><tgroup cols="2" class="- topic/tgroup "><thead class="- topic/thead "><row class="- topic/row "><entry class="- topic/entry ">PDFCapability の定数</entry><entry class="- topic/entry ">説明</entry></row></thead><tbody class="- topic/tbody "><row class="- topic/row "><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">STATUS_OK</codeph></entry><entry class="- topic/entry ">適切なバージョン(8.1 以降)の Acrobat または Adobe Reader が検出されたので、HTMLLoader オブジェクトに PDF のコンテンツをロードできます。
<p class="- topic/p "><i class="+ topic/ph hi-d/i ">注意:</i> バージョン 7.x 以降の Acrobat または Adobe Reader が実行されている Windows システムでは、HTMLLoader オブジェクトへの PDF のロードをサポートしているさらに高いバージョンの Acrobat または Adobe Reader がインストールされていても、実際に実行されているバージョンが使用されます。この場合、<codeph class="+ topic/ph pr-d/codeph ">pdfCapability</codeph> プロパティの値が <codeph class="+ topic/ph pr-d/codeph ">PDFCapability.STATUS_OK</codeph> であれば、AIR アプリケーションで PDF のコンテンツをロードしようとすると、古いバージョンの Acrobat または Adobe Reader では警告が表示されます(AIR ランタイムではエラーメッセージが表示されません)。ユーザーがこの状況に遭遇する可能性がある場合は、該当アプリケーションの実行時に Acrobat または Adobe Reader を閉じるように指示することを検討します。適切な時間内に PDF のコンテンツがロードされない場合に、この指示を表示することを検討してください。</p></entry></row><row class="- topic/row "><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">ERROR_INSTALLED_READER_NOT_FOUND</codeph></entry><entry class="- topic/entry ">Acrobat または Adobe Reader が検出されません。HTMLLoader オブジェクトで PDF のコンテンツを表示することはできません。</entry></row><row class="- topic/row "><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">ERROR_INSTALLED_READER_TOO_OLD</codeph></entry><entry class="- topic/entry ">Acrobat または Adobe Reader が検出されましたが、バージョンが古すぎます。HTMLLoader オブジェクトで PDF のコンテンツを表示することはできません。</entry></row><row class="- topic/row "><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">ERROR_PREFERED_READER_TOO_OLD</codeph></entry><entry class="- topic/entry ">適切なバージョン(8.1 以降)の Acrobat または Adobe Reader が検出されましたが、PDF のコンテンツを扱うように設定されている Acrobat または Adobe Reader は 8.1 より古いバージョンです。HTMLLoader オブジェクトで PDF のコンテンツを表示することはできません。</entry></row></tbody></tgroup></adobetable>
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="HTMLPDFCapability.html" class="- topic/link "><linktext class="- topic/linktext ">HTMLPDFCapability class</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:placeLoadStringContentInApplicationSandbox:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">placeLoadStringContentInApplicationSandbox</apiName><shortdesc class="- topic/shortdesc ">
loadString() メソッドを使用してロードされたコンテンツが、アプリケーションサンドボックスに置かれる(true の場合)か、アプリケーションサンドボックス以外に置かれる(false の場合)かを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="1.5" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier><apiDefaultValue>false
</apiDefaultValue></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
<codeph class="+ topic/ph pr-d/codeph ">loadString()</codeph> メソッドを使用してロードされるコンテンツが、アプリケーションサンドボックスに置かれる(<codeph class="+ topic/ph pr-d/codeph ">true</codeph> の場合)か、アプリケーションサンドボックス以外に置かれる(<codeph class="+ topic/ph pr-d/codeph ">false</codeph> の場合)かを指定します。
<p class="- topic/p ">このプロパティが <codeph class="+ topic/ph pr-d/codeph ">false</codeph> に設定された場合、<codeph class="+ topic/ph pr-d/codeph ">loadString()</codeph> メソッドを使用してロードされたコンテンツは、次の特性を持つアプリケーションサンドボックス以外の場所に置かれます。</p>
<ul class="- topic/ul "><li class="- topic/li ">ネットワークからコンテンツをロードするためのアクセス権があります(ただし、ファイルシステムからはロードできません)。</li><li class="- topic/li ">XMLHttpRequest を使用してデータをロードすることはできません。</li><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">window.location</codeph> プロパティが <codeph class="+ topic/ph pr-d/codeph ">"about:blank"</codeph> に設定されます。</li><li class="- topic/li ">コンテンツは、<codeph class="+ topic/ph pr-d/codeph ">window.runtime</codeph> プロパティにアクセスできません(他のアプリケーションサンドボックス以外のコンテンツと同じです)。</li></ul>
<p class="- topic/p ">このプロパティが <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定された場合、<codeph class="+ topic/ph pr-d/codeph ">loadString()</codeph> メソッドを使用してロードされたコンテンツは、アプリケーションサンドボックスに置かれ、<codeph class="+ topic/ph pr-d/codeph ">window.runtime</codeph> プロパティとすべての AIR API へのアクセス権が与えられます。<codeph class="+ topic/ph pr-d/codeph ">loadString()</codeph> メソッドへの呼び出しで使用されるストリングのソースデータが信頼できることを確認してください。このプロパティが <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定されていると、HTML ストリングのコードステートメントは完全なアプリケーション権限で実行されます。このプロパティは、ストリング内に有害なコードが含まれていないことが確実になった場合にのみ <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定してください。 </p>
<p class="- topic/p ">AIR 1.0 または AIR 1.1 の SDK でコンパイルされたアプリケーションでは、<codeph class="+ topic/ph pr-d/codeph ">loadString()</codeph> メソッドを通じてロードされたコンテンツは、アプリケーションサンドボックス内に配置されます。</p>
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#loadString()" class="- topic/link "><linktext class="- topic/linktext ">loadString()</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:runtimeApplicationDomain:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">runtimeApplicationDomain</apiName><shortdesc class="- topic/shortdesc ">
HTML ページ内の JavaScript の window.runtime オブジェクトで使用するアプリケーションドメインです。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">flash.system:ApplicationDomain</apiValueClassifier><apiException class="+ topic/ph reference/ph apiRef/apiDefItem apiOperation/apiEvent adobe-api-d/apiException "><apiDesc class="- topic/section reference/section apiRef/apiDesc ">ApplicationDomain オブジェクトが呼び出し元のセキュリティドメインからのものではない場合。
</apiDesc><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">SecurityError</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">SecurityError</apiOperationClassifier></apiException><apiTipTexts><apiTipText class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiTipText ">HTML ページ内の JavaScript の window.runtime オブジェクトで使用するアプリケーションドメインです。
</apiTipText></apiTipTexts></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTML ページ内の JavaScript の <codeph class="+ topic/ph pr-d/codeph ">window.runtime</codeph> オブジェクトで使用するアプリケーションドメインです。
<p class="- topic/p "><codeph class="+ topic/ph pr-d/codeph ">null</codeph> の場合または HTMLLoader オブジェクトを含む SWF コンテンツと同じセキュリティドメインからのものではない HTML コンテンツの場合、HTML ページではドメインとしてデフォルトのアプリケーションドメインが使用されます。</p>
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="flash.system.xml#ApplicationDomain" class="- topic/link "><linktext class="- topic/linktext ">flash.system.ApplicationDomain</linktext></link><link href="flash.system.xml#SecurityDomain" class="- topic/link "><linktext class="- topic/linktext ">flash.system.SecurityDomain</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:scrollH:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">scrollH</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクト内の HTML コンテンツの水平スクロール位置です。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Number</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクト内の HTML コンテンツの水平スクロール位置です。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLLoader:scrollV:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">scrollV</apiName><shortdesc class="- topic/shortdesc ">
HTMLLoader オブジェクト内の HTML コンテンツの垂直スクロール位置です。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Number</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTMLLoader オブジェクト内の HTML コンテンツの垂直スクロール位置です。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLLoader:swfCapability:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">swfCapability</apiName><shortdesc class="- topic/shortdesc ">
ユーザーのシステムに対する SWF サポートのタイプです。整数のコード値で定義します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">int</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
ユーザーのシステムに対する SWF サポートのタイプです。整数のコード値で定義します。このプロパティが <codeph class="+ topic/ph pr-d/codeph ">HTMLSWFCapability.STATUS_OK</codeph> である場合にのみ、HTMLLoader オブジェクトで SWF のコンテンツを表示できます。HTMLSWFCapability クラスでは、<codeph class="+ topic/ph pr-d/codeph ">swfCapability</codeph> プロパティの値として使用できる次の定数を定義します。
<adobetable class="innertable"><tgroup cols="2" class="- topic/tgroup "><thead class="- topic/thead "><row class="- topic/row "><entry class="- topic/entry ">HTMLSWFCapability constant</entry><entry class="- topic/entry ">説明</entry></row></thead><tbody class="- topic/tbody "><row class="- topic/row "><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">STATUS_OK</codeph></entry><entry class="- topic/entry ">適切なバージョンの Adobe Flash Player が検出されたので、HTMLLoader オブジェクトに SWF のコンテンツをロードできます。</entry></row><row class="- topic/row "><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">ERROR_INSTALLED_PLAYER_NOT_FOUND</codeph></entry><entry class="- topic/entry ">Adobe Flash Player が検出されません。HTMLLoader オブジェクトは SWF のコンテンツを表示できません。</entry></row><row class="- topic/row "><entry class="- topic/entry "><codeph class="+ topic/ph pr-d/codeph ">ERROR_INSTALLED_PLAYER_TOO_OLD</codeph></entry><entry class="- topic/entry ">Adobe Flash Player が検出されましたが、バージョンが古すぎます。HTMLLoader オブジェクトは SWF のコンテンツを表示できません。</entry></row></tbody></tgroup></adobetable>
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="HTMLSWFCapability.html" class="- topic/link "><linktext class="- topic/linktext ">HTMLSWFCapability クラス</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:textEncodingFallback:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">textEncodingFallback</apiName><shortdesc class="- topic/shortdesc ">
HTML ページで文字エンコーディングが指定されていない場合に HTMLLoader コンテンツで使用される文字エンコーディングです。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">String</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTML ページで文字エンコーディングが指定されていない場合に HTMLLoader コンテンツで使用される文字エンコーディングです。HTML ページでは、文字エンコーディングは <codeph class="+ topic/ph pr-d/codeph ">meta</codeph> タグを使用して次のように指定されます。
<codeblock xml:space="preserve" class="+ topic/pre pr-d/codeblock ">&lt;meta http-equiv="content-type" content="text/html" charset="ISO-8859-1"></codeblock>
<p class="- topic/p ">値は、<xref href="http://www.iana.org/assignments/character-sets" scope="external" class="- topic/xref ">有効な文字セット</xref> の IANA リストで定義されています。
</p>
<p class="- topic/p ">HTML ページ、<codeph class="+ topic/ph pr-d/codeph ">textEncodingFallback</codeph> プロパティ、または <codeph class="+ topic/ph pr-d/codeph ">textEncodingOverride</codeph> プロパティによってエンコーディングが指定された場合、HTML コンテンツは ISO-8859-1 エンコーディングを使用します。</p>
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#textEncodingOverride" class="- topic/link "><linktext class="- topic/linktext ">textEncodingOverride</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:textEncodingOverride:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">textEncodingOverride</apiName><shortdesc class="- topic/shortdesc ">
HTML ページの設定をオーバーライドする場合に HTMLLoader コンテンツで使用される文字エンコーディングです。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">String</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTML ページの設定をオーバーライドする場合に HTMLLoader コンテンツで使用される文字エンコーディングです。HTML ページでは、文字エンコーディングは <codeph class="+ topic/ph pr-d/codeph ">meta</codeph> タグを使用して次のように指定されます。
<codeblock xml:space="preserve" class="+ topic/pre pr-d/codeblock ">&lt;meta http-equiv="content-type" content="text/html" charset="ISO-8859-1"></codeblock>
<p class="- topic/p ">この設定により、<codeph class="+ topic/ph pr-d/codeph ">textEncodingFallback</codeph> プロパティ内のすべての設定もオーバーライドされます。 </p>
<p class="- topic/p ">値は、<xref href="http://www.iana.org/assignments/character-sets" scope="external" class="- topic/xref ">有効な文字セット</xref> の IANA リストで定義されています。
</p>
<p class="- topic/p ">指定のエンコーディングを使って AIR が HTML コンテンツを更新するように HTML コンテンツがロードされた後で、<codeph class="+ topic/ph pr-d/codeph ">textEncodingOverride</codeph> プロパティを設定します。HTMLLoader が新しいページに移動した後、新しいページで指定のエンコーディングを使用する場合はもう一度プロパティを設定する必要があります。</p>
<p class="- topic/p ">HTML ページ、<codeph class="+ topic/ph pr-d/codeph ">textEncodingFallback</codeph> プロパティ、または <codeph class="+ topic/ph pr-d/codeph ">textEncodingOverride</codeph> プロパティによってエンコーディングが指定された場合、HTML コンテンツは ISO-8859-1 エンコーディングを使用します。</p>
<p class="- topic/p "><codeph class="+ topic/ph pr-d/codeph ">textEncodingOverride</codeph> プロパティを <codeph class="+ topic/ph pr-d/codeph ">null</codeph> に設定すると、デフォルトビヘイビアーが復元されます。</p>
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="HTMLLoader.html#textEncodingFallback" class="- topic/link "><linktext class="- topic/linktext ">textEncodingFallback</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:useCache:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">useCache</apiName><shortdesc class="- topic/shortdesc ">
このオブジェクトから発行された HTTP リクエストがデータを取得する前に、ローカルキャッシュを調べるかどうかを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier><apiDefaultValue>initialized from URLRequestDefaults.useCache
</apiDefaultValue></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
このオブジェクトから発行された HTTP リクエストがデータを取得する前に、ローカルキャッシュを調べるかどうかを指定します。
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="flash.net.xml#URLRequest/useCache" class="- topic/link "><linktext class="- topic/linktext ">flash.net.URLRequest.useCache</linktext></link><link href="flash.net.xml#URLRequestDefaults/useCache" class="- topic/link "><linktext class="- topic/linktext ">flash.net.URLRequestDefaults.useCache</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:userAgent:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">userAgent</apiName><shortdesc class="- topic/shortdesc ">
この HTMLLoader オブジェクトからの今後のコンテンツ要求に使用するユーザーエージェントストリングです。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">String</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
この HTMLLoader オブジェクトからの今後のコンテンツ要求に使用するユーザーエージェントストリングです。
<p class="- topic/p ">ユーザーエージェントストリングを設定するには、HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">userAgent</codeph> プロパティを <codeph class="+ topic/ph pr-d/codeph ">load()</codeph> メソッドの呼び出しの前に設定します。<codeph class="+ topic/ph pr-d/codeph ">userAgent</codeph> プロパティ(<codeph class="+ topic/ph pr-d/codeph ">load()</codeph> メソッドに渡される URLRequest のプロパティ)は使用され<i class="+ topic/ph hi-d/i ">ません</i></p>
<p class="- topic/p ">アプリケーションドメインですべての HTMLLoader オブジェクトが使用するデフォルトのユーザーエージェントストリングを設定するには、静的な <codeph class="+ topic/ph pr-d/codeph ">URLRequestDefaults.userAgent</codeph> プロパティを設定します。HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">userAgent</codeph> プロパティに値が設定されていない場合(値が <codeph class="+ topic/ph pr-d/codeph ">null</codeph> である場合)、ユーザーエージェントストリングは静的な <codeph class="+ topic/ph pr-d/codeph ">URLRequestDefaults.userAgent</codeph> プロパティの値に設定されます。 </p>
<p class="- topic/p ">HTMLLoader の <codeph class="+ topic/ph pr-d/codeph ">userAgent</codeph> プロパティにも、<codeph class="+ topic/ph pr-d/codeph ">URLRequestDefaults.userAgent</codeph> にも値が設定されていない場合は、デフォルト値がユーザーエージェントストリングとして使用されます。このデフォルト値は、次の例に示すように、実行時のオペレーティングシステム(Mac OS、Linux、または Windows など)、実行時の言語および実行時のバージョンによって異なります。</p>
<ul class="- topic/ul "><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/526.9+ (KHTML, like Gecko) AdobeAIR/1.5"</codeph></li><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">"Mozilla/5.0 (Windows; U; en) AppleWebKit/526.9+ (KHTML, like Gecko) AdobeAIR/1.5"</codeph></li><li class="- topic/li "><codeph class="+ topic/ph pr-d/codeph ">"Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/526.9+ (KHTML, like Gecko) AdobeAIR/1.5"</codeph></li></ul>
</apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="flash.net.xml#URLRequest/userAgent" class="- topic/link "><linktext class="- topic/linktext ">flash.net.URLRequest.userAgent</linktext></link><link href="flash.net.xml#URLRequestDefaults/userAgent" class="- topic/link "><linktext class="- topic/linktext ">flash.net.URLRequestDefaults.userAgent</linktext></link></related-links></apiValue><apiValue id="flash.html:HTMLLoader:width:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">width</apiName><shortdesc class="- topic/shortdesc ">
レンダリング中の HTML キャンバスの矩形の幅を指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiIsOverride class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiIsOverride "/><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="readwrite" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Number</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
レンダリング中の HTML キャンバスの矩形の幅を指定します。これは、HTMLLoader 表示オブジェクトの幅です(ピクセル単位)。<codeph class="+ topic/ph pr-d/codeph ">width</codeph> の最大値は 4,095 ピクセルです。このプロパティを変更すると、HTMLLoader オブジェクトによって HTML ドキュメントの再レンダリングが実行されます。このプロパティの変更に応答して、<codeph class="+ topic/ph pr-d/codeph ">htmlBoundsChange</codeph> イベントが送出されることがあります。HTMLLoader オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">width</codeph> プロパティおよび <codeph class="+ topic/ph pr-d/codeph ">height</codeph> プロパティを設定すると、オブジェクトの境界は変更されますが、(他の種類の表示オブジェクトと同様に)コンテンツは拡大または縮小されません。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLLoader:window:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">window</apiName><shortdesc class="- topic/shortdesc ">
HTML コントロールにロードされたコンテンツのグローバル JavaScript オブジェクトです。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Object</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
HTML コントロールにロードされたコンテンツのグローバル JavaScript オブジェクトです。
</apiDesc></apiValueDetail></apiValue></apiClassifier><apiClassifier languages="" id="flash.html:HTMLWindowCreateOptions" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiClassifier/apiClassifier "><apiName class="- topic/title reference/title apiRef/apiName ">HTMLWindowCreateOptions</apiName><shortdesc class="- topic/shortdesc ">
このクラスは、HTMLLoader オブジェクトで実行される JavaScript が、window.open() メソッドを呼び出して新しい HTML ウィンドウを作成するときに指定できるオプションを定義します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiClassifierDetail class="- topic/body reference/refbody apiRef/apiDetail apiClassifier/apiClassifierDetail "><apiClassifierDef class="- topic/section reference/section apiRef/apiDef apiClassifier/apiClassifierDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiBaseClassifier class="- topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier ">Object</apiBaseClassifier></apiClassifierDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
このクラスは HTMLLoader オブジェクトで実行される JavaScript が、<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> メソッドを呼び出して新しい HTML ウィンドウを作成するときに指定できるオプションを定義します。
<p class="- topic/p ">このクラスは、<codeph class="+ topic/ph pr-d/codeph ">features</codeph> パラメーター(JavaScript で <codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> メソッドに渡される)のオプションに対応するプロパティおよびメソッドを定義します。</p>
<p class="- topic/p ">例えば、(HTMLLoader オブジェクトの) HTML ドキュメント内の JavaScript には、<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> の次の呼び出しが含まれることがあります。この呼び出しでは、<codeph class="+ topic/ph pr-d/codeph ">features</codeph> パラメーター(3 番目のパラメーター)により、多数のオプションがリストされます。</p>
<codeblock xml:space="preserve" class="+ topic/pre pr-d/codeblock ">window.open("http://www.adobe.com", "AdobeWindow", "scrollbars=1,menubar=1,location=0,status=0")</codeblock>
<p class="- topic/p ">HTMLWindowCreateOptions クラスは、HTMLHost クラスのサブクラスで <codeph class="+ topic/ph pr-d/codeph ">createWindow()</codeph> メソッドをオーバーライドするときに使用します。HTMLLoader オブジェクトは、<codeph class="+ topic/ph pr-d/codeph ">windowCreateOptions</codeph> パラメーター(HTMLHost オブジェクトの <codeph class="+ topic/ph pr-d/codeph ">createWindow()</codeph> メソッドのパラメーター)として HTMLWindowCreateOptions オブジェクトを渡します。</p>
</apiDesc></apiClassifierDetail><related-links class="- topic/related-links "><link href="HTMLHost.html#createWindow()" class="- topic/link "><linktext class="- topic/linktext ">HTMLHost#createWindow()</linktext></link></related-links><apiValue id="flash.html:HTMLWindowCreateOptions:fullscreen" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">fullscreen</apiName><shortdesc class="- topic/shortdesc ">
ウィンドウをフルスクリーンにするかどうかを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">false</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
ウィンドウをフルスクリーンにするかどうかを指定します。このプロパティが <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定されるのは、<codeph class="+ topic/ph pr-d/codeph ">features</codeph> ストリング(<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> メソッドの JavaScript 呼び出しで使用されるストリング)に<codeph class="+ topic/ph pr-d/codeph ">「fullscreen」</codeph><codeph class="+ topic/ph pr-d/codeph ">「fullscreen=1」</codeph>または<codeph class="+ topic/ph pr-d/codeph ">「fullscreen=y」</codeph>が含まれる場合です。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLWindowCreateOptions:height" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">height</apiName><shortdesc class="- topic/shortdesc ">
新しいウィンドウの高さの初期値を指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">NaN</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Number</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
新しいウィンドウの高さの初期値を指定します。これは、<codeph class="+ topic/ph pr-d/codeph ">height</codeph> の値(<codeph class="+ topic/ph pr-d/codeph ">features</codeph> ストリング)に設定されます。このストリングは、<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> メソッドの JavaScript 呼び出しで使用されるものです。値が <codeph class="+ topic/ph pr-d/codeph ">NaN</codeph><codeph class="+ topic/ph pr-d/codeph ">height</codeph> の値が <codeph class="+ topic/ph pr-d/codeph ">features</codeph> ストリングで指定されていない場合のデフォルト値)である場合は、ウィンドウのデフォルトの高さが使用されます。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLWindowCreateOptions:locationBarVisible" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">locationBarVisible</apiName><shortdesc class="- topic/shortdesc ">
ロケーションバーを表示するかどうかを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">false</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
ロケーションバーを表示するかどうかを指定します。このプロパティが <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定されるのは、<codeph class="+ topic/ph pr-d/codeph ">features</codeph> ストリング(<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> メソッドの JavaScript 呼び出しで使用されるストリング)に、<codeph class="+ topic/ph pr-d/codeph ">"location"</codeph><codeph class="+ topic/ph pr-d/codeph ">"location=1"</codeph> または <codeph class="+ topic/ph pr-d/codeph ">"location=y"</codeph> が含まれる場合です。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLWindowCreateOptions:menuBarVisible" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">menuBarVisible</apiName><shortdesc class="- topic/shortdesc ">
メニューバーを表示するかどうかを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">false</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
メニューバーを表示するかどうかを指定します。このプロパティが <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定されるのは、<codeph class="+ topic/ph pr-d/codeph ">features</codeph> ストリング(<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> メソッドの JavaScript 呼び出しで使用されるストリング)に <codeph class="+ topic/ph pr-d/codeph ">"menubar"</codeph><codeph class="+ topic/ph pr-d/codeph ">"menubar=1"</codeph> または <codeph class="+ topic/ph pr-d/codeph ">"menubar=y"</codeph> が含まれる場合です。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLWindowCreateOptions:resizable" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">resizable</apiName><shortdesc class="- topic/shortdesc ">
ウィンドウのサイズ変更を可能にするかどうかを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">false</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
ウィンドウのサイズ変更を可能にするかどうかを指定します。このプロパティが <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定されるのは、<codeph class="+ topic/ph pr-d/codeph ">features</codeph> ストリング(<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> メソッドの JavaScript 呼び出しで使用されるストリング)に <codeph class="+ topic/ph pr-d/codeph ">"resizable"</codeph><codeph class="+ topic/ph pr-d/codeph ">"resizable=1"</codeph> または <codeph class="+ topic/ph pr-d/codeph ">"resizable=y"</codeph> が含まれる場合です。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLWindowCreateOptions:scrollBarsVisible" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">scrollBarsVisible</apiName><shortdesc class="- topic/shortdesc ">
スクロールバーを表示するかどうかを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">true</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
スクロールバーを表示するかどうかを指定します。このプロパティが <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定されるのは、<codeph class="+ topic/ph pr-d/codeph ">features</codeph> ストリング(<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> メソッドの JavaScript 呼び出しで使用されるストリング)に、<codeph class="+ topic/ph pr-d/codeph ">"scrollbars"</codeph><codeph class="+ topic/ph pr-d/codeph ">"scrollbars=1"</codeph> または <codeph class="+ topic/ph pr-d/codeph ">"scrollbars=y"</codeph> が含まれる場合です。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLWindowCreateOptions:statusBarVisible" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">statusBarVisible</apiName><shortdesc class="- topic/shortdesc ">
ステータスバーを表示するかどうかを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">false</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
ステータスバーを表示するかどうかを指定します。このプロパティが <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定されるのは、<codeph class="+ topic/ph pr-d/codeph ">features</codeph> ストリング(<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> メソッドの JavaScript 呼び出しで使用されるストリング)に <codeph class="+ topic/ph pr-d/codeph ">"status"</codeph><codeph class="+ topic/ph pr-d/codeph ">"status=1"</codeph> または <codeph class="+ topic/ph pr-d/codeph ">"status=y"</codeph> が含まれる場合です。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLWindowCreateOptions:toolBarVisible" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">toolBarVisible</apiName><shortdesc class="- topic/shortdesc ">
ツールバーを表示するかどうかを指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">false</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
ツールバーを表示するかどうかを指定します。このプロパティが <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定されるのは、<codeph class="+ topic/ph pr-d/codeph ">features</codeph> ストリング(<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> メソッドの JavaScript 呼び出しで使用されるストリング)に、<codeph class="+ topic/ph pr-d/codeph ">"toolbar"</codeph><codeph class="+ topic/ph pr-d/codeph ">"toolbar=1"</codeph> または <codeph class="+ topic/ph pr-d/codeph ">"toolbar=y"</codeph> が含まれる場合です。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLWindowCreateOptions:width" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">width</apiName><shortdesc class="- topic/shortdesc ">
新しいウィンドウの幅の初期値を指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">NaN</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Number</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
新しいウィンドウの幅の初期値を指定します。これは、<codeph class="+ topic/ph pr-d/codeph ">width</codeph> の値(<codeph class="+ topic/ph pr-d/codeph ">features</codeph> ストリング)に設定されます。このストリングは、<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> メソッドの JavaScript 呼び出しで使用されるものです。値が <codeph class="+ topic/ph pr-d/codeph ">NaN</codeph><codeph class="+ topic/ph pr-d/codeph ">width</codeph> の値が <codeph class="+ topic/ph pr-d/codeph ">features</codeph> ストリングで指定されていない場合のデフォルト値)である場合は、ウィンドウのデフォルトの幅が使用されます。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLWindowCreateOptions:x" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">x</apiName><shortdesc class="- topic/shortdesc ">
画面上での新しいウィンドウの x 方向位置の初期値を指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">NaN</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Number</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
画面上の新しいウィンドウの <i class="+ topic/ph hi-d/i ">x</i> 方向位置の初期値を指定します。この位置は、<codeph class="+ topic/ph pr-d/codeph ">left</codeph> または <codeph class="+ topic/ph pr-d/codeph ">screenX</codeph><codeph class="+ topic/ph pr-d/codeph ">features</codeph> ストリング)で指定された値に設定されます。このストリングは、<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> メソッドの JavaScript 呼び出しで使用されるものです。値が <codeph class="+ topic/ph pr-d/codeph ">NaN</codeph><codeph class="+ topic/ph pr-d/codeph ">left</codeph> または <codeph class="+ topic/ph pr-d/codeph ">screenX</codeph> の値が <codeph class="+ topic/ph pr-d/codeph ">features</codeph> ストリングで指定されていない場合のデフォルト値)である場合は、ウィンドウのデフォルトの <i class="+ topic/ph hi-d/i "/>x 方向位置が使用されます。
</apiDesc></apiValueDetail></apiValue><apiValue id="flash.html:HTMLWindowCreateOptions:y" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">y</apiName><shortdesc class="- topic/shortdesc ">
画面上の新しいウィンドウの目的の初期 y 方向位置を指定します。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiPlatform description="" name="AIR" version="1.0" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiData class="- topic/ph reference/ph apiRef/apiData ">NaN</apiData><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Number</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
画面上の新しいウィンドウの <i class="+ topic/ph hi-d/i ">y</i> 方向位置の初期値を指定します。この位置は、<codeph class="+ topic/ph pr-d/codeph ">top</codeph> または <codeph class="+ topic/ph pr-d/codeph ">screenY</codeph><codeph class="+ topic/ph pr-d/codeph ">features</codeph>ストリング)で指定された値に設定されます。このストリングは、<codeph class="+ topic/ph pr-d/codeph ">window.open()</codeph> メソッドの JavaScript 呼び出しで使用されるものです。値が <codeph class="+ topic/ph pr-d/codeph ">NaN</codeph><codeph class="+ topic/ph pr-d/codeph ">left</codeph> または <codeph class="+ topic/ph pr-d/codeph ">screenX</codeph> の値が <codeph class="+ topic/ph pr-d/codeph ">features</codeph> ストリングで指定されていない場合のデフォルト値)である場合は、ウィンドウのデフォルトの <i class="+ topic/ph hi-d/i "/>x 方向位置が使用されます。
</apiDesc></apiValueDetail></apiValue></apiClassifier></apiPackage>