Packageorg.ffilmation.engine.elements
Classpublic class fFloor
InheritancefFloor Inheritance fPlane Inheritance fRenderableElement Inheritance fElement Inheritance flash.events.EventDispatcher

Arbitrary-sized tiles that form each floor in your scene

YOU CAN'T CREATE INSTANCES OF THIS OBJECT.
Floors are created when the scene is processed



Public Properties
 PropertyDefined by
 InheritedcastShadows : Boolean = true
Boolean value indicating if this object casts shadows.
fRenderableElement
  depth : Number
Floor depth in pixels.
fFloor
 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
 Inheritedid : String
The string identifier of this element.
fElement
 Inheritedmaterial : fMaterial
Material applied to this plane
fPlane
 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
  width : Number
Floor width in pixels.
fFloor
 Inheritedx : Number
X coordinate fot this element
fElement
 Inheritedy : Number
Y coordinate for this element
fElement
 Inheritedz : Number
Z coordinate for this element
fElement
Protected Properties
 PropertyDefined by
 InheritedcontainerParent : DisplayObjectContainer
fRenderableElement
Public Methods
 MethodDefined by
 Inherited
call(what:String, param:* = null):void
Calls a function of the base clip
fRenderableElement
 Inherited
distanceTo(x:Number, y:Number, z:Number):Number
Returns the distance of this element to the given coordinate
fElement
 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
 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
Property detail
depthproperty
public var depth:Number

Floor depth in pixels. Size along y-axis

widthproperty 
public var width:Number

Floor width in pixels. Size along x-axis