Forms.addMask() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to Forms Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.Forms.formName.addMask(xPosition:Number, yPosition:Number, imageMaskPath:String):Void

Parameters
xPosition:Number - Mask starting x position

yPosition:Number - Mask starting y position

imageMaskPath:String - Image file to be used as mask

Returns
Nothing

Description
Applies a transparency mask to the specified Form using the specified bitmap image at the specified position.

Notes
Masks cannot be applied to transparent Forms. Window Type must be set to Masked.

Example Code
//AS2:
mdm.Forms.MainForm.addMask(10, 10, "c:\\myFolder\\myMask.bmp");

//AS3:
mdm.Forms.getFormByName("MainForm").addMask(0, 0, "C:\\myImage.bmp");

mdm.Forms Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page