Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 02-09-2006, 07:39 AM   #1
darth
Senior Member
 
darth's Avatar
 
Join Date: Dec 2003
Location: Estonia
Posts: 273
Default stage.align

I was checking out some of the previous programmers work and I found he used

Stage.scaleMode = "noScale";
Stage.align = "LT";

In actionscript reference there is nothing about "LT" align property?
So has the programmer mistyped or this is just undocumented property?
darth is offline   Reply With Quote
Old 02-09-2006, 09:22 PM   #2
pan69
Fight ya for a pint!
 
pan69's Avatar
 
Join Date: Jan 2005
Location: Sydney / Australia
Posts: 1,706
Default

Straight from the Flash doucmentation.

Quote:
align (Stage.align property)

public static align : String

Indicates the current alignment of the SWF file in the player or browser.

The following table lists the values for the align property. Any value not listed here centers the SWF file in Flash player or browser area, which is the default setting.

Value Vertical Horizontal
"T" top center
"B" bottom center
"L" center left
"R" center right
"TL" top left
"TR" top right
"BL" bottom left
"BR" bottom right
Basicly, it accepts any combination e.g. TL equals LT.

www.lukeschreur.com

Last edited by pan69; 01-05-2013 at 01:49 AM.
pan69 is offline   Reply With Quote
Old 02-09-2006, 09:34 PM   #3
sophistikat
Game On
 
sophistikat's Avatar
 
Join Date: Mar 2005
Location: Barrie, ON
Posts: 2,535
Default

Stage = the object
align = its property
"LT" = the properties value
sophistikat is offline   Reply With Quote
Old 02-10-2006, 04:50 AM   #4
darth
Senior Member
 
darth's Avatar
 
Join Date: Dec 2003
Location: Estonia
Posts: 273
Default

I bet on the
"Any value not listed here centers the SWF file in Flash player or browser area, which is the default setting."
darth is offline   Reply With Quote
Old 02-10-2006, 04:03 PM   #5
sophistikat
Game On
 
sophistikat's Avatar
 
Join Date: Mar 2005
Location: Barrie, ON
Posts: 2,535
Default

Quote:
Originally Posted by darth
I bet on the
"Any value not listed here centers the SWF file in Flash player or browser area, which is the default setting."
never tried it but i wouldn't be surprised
sophistikat is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
non-scaling flash site coolness. carlwelch ActionScript 2.0 3 01-29-2005 12:14 AM
How does this stage.align and this strech work? obsoleteasian ActionScript 1.0 (and below) 0 10-28-2003 01:45 PM
getBounds? Need to rotate an image and keep track of it dotfoil ActionScript 1.0 (and below) 4 04-21-2003 07:30 PM


All times are GMT. The time now is 01:40 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.