Glossary Item Box
public addMC(
targetPath:String,
leftMargin:String,
topMargin:String,
rightMargin:String,
bottomMargin:String,
horizontalAlignment:String,
verticalAlignment:String,
enabled:Boolean,
overrideFunction:String
)
targetPath:String
- path to the MovieClip being added to manager, relative to location of AlignmentManager
leftMargin:String
- specifies a margin in either pixels or as a percentage
topMargin:String
- specifies a margin in either pixels or as a percentage
rightMargin:String
- specifies a margin in either pixels or as a percentage
bottomMargin:String
- specifies a margin in either pixels or as a percentage
horizontalAlignment:String
- specifies the mode for horizontal positioning ("left" | "center" | "right" | "stretch")
verticalAlignment:String
- specifies the mode for vertical positioning ("top" | "center" | "bottom" | "stretch")
enabled:Boolean
- initializes enabled state of MovieClip (true | false)
overrideFunction:String
- specifies a function to pass calculated values to. If this parameter is set, the AlignmentManager will not update the positioning or size of the MovieClip
Notes:
overrideFunction returned Values:
newX:Number, newY:Number, newWidth:Number, newHeight:Number, target_mc:MovieClip