Class imagegal.Content

Description

This class is the dialog box in which the info is displayed.

Method Index

new Content()
getDimensions(), init(), resize(), setText(), setVisibility(), toggleVisiblity()

Constructor Detail

Content

public function Content()

Method Detail

init

public function init()

Use this function to initialize the info dialog

setText

public function setText(title:String, str:String)

Use this function to set the title and description to be displayed

Parameters

title- the title text
str- the description text

resize

public function resize(width, height)

getDimensions

public function getDimensions():Object

Use this function to get the dimensions of the dialog.

Return

- an object with properties 'width' and 'height' of type Number.

setVisibility

public function setVisibility(bool:Boolean)

Use this function to set the visibility of the dialog

Parameters

bool- a boolean value

toggleVisiblity

public function toggleVisiblity()

Use this function to toggle the visibility of the dialog