ssCore.Win.setStageAlign

Allows you to position the Flash window on the stage instead of using the default dead center alignment. Use this method instead of the Flash Stage.Align property to tell SWF Studio to adjust its own internal coordinate system to match the new alignment.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

align - Desired alignment setting. Valid values include: T, TL, TR, B, BL, BR, L, and R.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.Win.setStageAlign( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.Win.setStageAlign( paramsObject );


Notes:

None.


Examples:

The following example sets the stage alignment to top-left.

ssCore.Win.setStageAlign({align:"TL"});