com.GameInterface.ProjectUtils |
| com. | |
| Functions | |
| SetMovieClipMask | Creates and sets a mask for a movieclip,, matching size and position |
| Variables | |
| s_ResolutionScaleMonitor | |
| Functions | |
| Show2DText | Shows a text on the screen, behind the gui. |
| Remove2DText |
public static function SetMovieClipMask( mc: MovieClip, parent: MovieClip, overrideHeight: Number, overrideWidth: Number, nomask: Boolean ) : MovieClip
Creates and sets a mask for a movieclip,, matching size and position
| mc | :MovieClip - the movieclip to mask |
| parent | :MovieClip - the context, where to create the mask |
| nomask | :Boolean - Debug, draws the clip, but does not set it as a mask |
mask:Movieclip - the newly created mask;
public static function Show2DText( text: String, duration: Number, x: Number, y: Number, style: Number, align: String, fadeIn: Number, fadeOut: Number, transition: String ) : Number
Shows a text on the screen, behind the gui. It will show onscreen for the duration given. A handle is returned so you can removed before the time is up via Remove2DText.
Creates and sets a mask for a movieclip,, matching size and position
public static function SetMovieClipMask( mc: MovieClip, parent: MovieClip, overrideHeight: Number, overrideWidth: Number, nomask: Boolean ) : MovieClip
private static var s_ResolutionScaleMonitor
Shows a text on the screen, behind the gui.
public static function Show2DText( text: String, duration: Number, x: Number, y: Number, style: Number, align: String, fadeIn: Number, fadeOut: Number, transition: String ) : Number
public static function Remove2DText( handle: Number )