FANDOM


alignment Edit

alignment will control how the object is aligned, working together with hOffset. alignment also is a synonym of hAlign, so never use both.

Possible Values: Edit

  • left - hOffset will correspond to the left edge
  • right - hOffset will correspond to the right edge
  • center - hOffset will correspond to the middle

JavaScript: Edit

myObjectName.alignment = "center";

Example: Edit

<alignment>center</alignment>

contextMenuItems Edit

CommonAttrib:contextMenuItems

height Edit

The height attribute controls the vertical dimension of the box model, or how high it looks on the screen.

If Omitted: The height of the box defaults to a value of -1 and the box height is then automatically determined.

JavaScript:

myObjectName.height = 30;

Example:

<height>30</height>

or

<height = "30" />

hOffset Edit

the horizontal offset of the object

JavaScript:

myObjectName.hOffset = 44;

Example:

<hOffset>44</hOffset>

level Edit

name Edit

The name is used to identify the object in JavaScript.

JavaScript:

object.name = "myObjectName";

Example:

<name>myObjectName</name>

onContextmenu Edit

CommonAttrib:onContextmenu

onFirstDisplay Edit

onGainFocus Edit

onLoseFocus Edit

onMultiClick Edit

CommonAttrib:onMultiClick

opacity Edit

opacity controls the opacity =)

It is a range from 0 to 255. 0 being invisible and 255 being completely opaque.

To hide an object, a common practice is to set its opacity to 0. But these days, the 'visible' property is the better thing to use, as you don't have to track the previous opacity to restore it later.

To hide an object but still interact with it, it's common practice to set its opacity to 1. See also: object tracking

JavaScript:

myObjectName.opacity = 200;

Example:

<opacity>200</opacity>

shadow Edit

title Edit

visible Edit

vOffset Edit

vOffset controls the vertical placement. This works with vAlign and is related to hOffset.

value : integer (floating point just gets rounded)

JavaScript:

myObjectName.vOffset = 100;

Example:

<vOffset>100</vOffset>

width Edit

width controls how wide the object appears to be. Related to height.

value : integer (floating point gets rounded)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.