public static function getDocument(stage:Stage):Sprite
SWF ファイル書き出し時にドキュメントとして設定されたクラスを返します。
Returns the class that set as document when writing the SWF file.
Parameters
| stage:Stage — ドキュメントを保存している stage インスタンスです。
The stage instance which save the document.
|
Returns
| Sprite — ドキュメントとして設定された表示オブジェクトです。
The display object that set as document.
|
Example
public static function getMarginLeft(stage:Stage):Number
ステージの左マージンを取得します。
Get the left margin of the stage.
Parameters
| stage:Stage — マージンを取得したい stage インスタンスです。
The stage instance to get the margin.
|
Returns
| Number — 左マージンです。
The left margin.
|
Example
public static function getMarginTop(stage:Stage):Number
ステージの上マージンを取得します。
Get the top margin of the stage.
Parameters
| stage:Stage — マージンを取得したい stage インスタンスです。
The stage instance to get the margin.
|
Returns
| Number — 上マージンです。
The top margin.
|
Example
Copyright (C) 2007-2010 taka:nium.jp. All Rights Reserved.