Packageorg.ffilmation.engine.elements
Classpublic class fWall
InheritancefWall Inheritance fPlane Inheritance fRenderableElement Inheritance fElement Inheritance flash.events.EventDispatcher

Walls are created when the scene is processed

YOU CAN'T CREATE INSTANCES OF THIS OBJECT.



Public Properties
 PropertyDefined by
 InheritedcastShadows : Boolean = true
Boolean value indicating if this object casts shadows.
fRenderableElement
 Inheritedcontainer : MovieClip

WARNING!!!: This property only exists when the scene is being rendered and the graphic elements have been created.

fRenderableElement
 Inheritedcontroller : fEngineElementController
Retrieves controller from this element
fElement
 InheritedcustomData : Object
As elements are not defined as "dynamic", this property can be used to store extra info about this element at run-time.
fElement
 InheritedflashClip : MovieClip
A reference to the library movieclip that was attached to create the element, so you can acces methods inside, nested clips or whatever
fRenderableElement
 Inheritedholes : Array
Array of holes in this plane.
fPlane
  horizontal : Boolean
A wall can be either horizontal ( goes along x axis ) or vertical ( goes along y axis )
fWall
 Inheritedid : String
The string identifier of this element.
fElement
 Inheritedmaterial : fMaterial
Material applied to this plane
fPlane
  pixelHeight : Number
Wall height ( real height, position along z-axis )
fWall
  pixelSize : Number
Wall length in pixels.
fWall
 InheritedreceiveLights : Boolean = true
Boolean value indicating if this object receives lighting.
fRenderableElement
 InheritedreceiveShadows : Boolean = true
Boolean value indicating if this object receives shadows.
fRenderableElement
 Inheritedsolid : Boolean = true
Boolean value indicating if this object collides with others.
fRenderableElement
  vertical : Boolean
A wall can be either horizontal ( goes along x axis ) or vertical ( goes along y axis )
fWall
 Inheritedx : Number
X coordinate fot this element
fElement
 InheritedxmlObj : XML
This is the XML node from the scene XML that generated this element.
fElement
 Inheritedy : Number
Y coordinate for this element
fElement
 Inheritedz : Number
Z coordinate for this element
fElement
Public Methods
 MethodDefined by
 Inherited
assignMaterial(id:String):void
Changes the material for this plane.
fPlane
 Inherited
call(what:String, param:* = null):void
Calls a function of the base clip
fRenderableElement
 Inherited
Mouse management
fRenderableElement
 Inherited
distanceTo(x:Number, y:Number, z:Number):Number
Returns the distance of this element to the given coordinate
fElement
 Inherited
Mouse management
fRenderableElement
 Inherited
follow(target:fElement, elasticity:Number = 0):void
Makes element follow target element
fElement
 Inherited
gotoAndPlay(where:*):void
Passes the stardard gotoAndPLay command to the base clip of this element
fRenderableElement
 Inherited
gotoAndStop(where:*):void
Passes the stardard gotoAndStop command to the base clip of this element
fRenderableElement
 Inherited
hide():void
Makes element invisible
fRenderableElement
 Inherited
moveTo(x:Number, y:Number, z:Number):void
Moves the element to a given position
fElement
 Inherited
show():void
Makes element visible
fRenderableElement
 Inherited
stopFollowing(target:fElement):void
Stops element from following another element
fElement
Public Constants
 ConstantDefined by
 InheritedHIDE : String = "renderableElementHide"
[static] The fRenderableElement.HIDE constant defines the value of the type property of the event object for a renderableElementHide event.
fRenderableElement
 InheritedMOVE : String = "elementmove"
[static] The fElement.MOVE constant defines the value of the type property of the event object for a elementmove event.
fElement
 InheritedNEWCELL : String = "elementnewcell"
[static] The fElement.NEWCELL constant defines the value of the type property of the event object for a elementnewcell event.
fElement
 InheritedNEWMATERIAL : String = "planenewmaterial"
[static] The fPlane.NEWMATERIAL constant defines the value of the type property of the event object for a planenewmaterial event.
fPlane
 InheritedSHOW : String = "renderableElementShow"
[static] The fRenderableElement.SHOW constant defines the value of the type property of the event object for a renderableElementShow event.
fRenderableElement
Property detail
horizontalproperty
public var horizontal:Boolean

A wall can be either horizontal ( goes along x axis ) or vertical ( goes along y axis )

pixelHeightproperty 
public var pixelHeight:Number

Wall height ( real height, position along z-axis )

pixelSizeproperty 
public var pixelSize:Number

Wall length in pixels.

verticalproperty 
public var vertical:Boolean

A wall can be either horizontal ( goes along x axis ) or vertical ( goes along y axis )