Systemmanager.screen - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

SystemManager.screen

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
SystemManager.screen
Description
Property; an object with
of the Stage.
Example
If
is set to something other than
Stage.align
are actually viewable.
Suppose you want to place a watermark movie clip in the lower-right corner of the Stage
(similar to the watermarks many television channels use). The following code would work in
all Stage alignments for a movie clip instance
import mx.managers.SystemManager;
var p1:Number = SystemManager.screen.width + SystemManager.screen.x -
watermark._width;
var p2:Number = SystemManager.screen.height + SystemManager.screen.y -
watermark._height;
watermark._x = p1;
watermark._y = p2;
1176
SystemManager class
,
,
, and
x
y
width
height
properties that indicate the size and position
, it is difficult to know what coordinates
"LT"
:
watermark

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents