Packagede.nulldesign.nd3d.material
Classpublic class SWFMaterial
InheritanceSWFMaterial Inheritance BitmapMaterial Inheritance Material

The SWFMaterial can hold a SWF and renders it to the texture. You have to manually call 'update' (in the renderloop for example) to update the texture



Public Properties
 PropertyDefined by
 Inheritedadditive : Boolean = false
Material
 Inheritedalpha : Number
BitmapMaterial
 InheritedcalculateLights : Boolean = true
Material
 Inheritedcolor : uint
BitmapMaterial
 InheritedcolorTransform : ColorTransform
BitmapMaterial
 InheritedcustomRenderer : TextureRenderer
Material
 InheriteddoubleSided : Boolean = false
Material
 InheritedisInteractive : Boolean = false
Material
 InheritedisSprite : Boolean
Material
 Inheritedsmoothed : Boolean
Material
  swf : MovieClip
SWFMaterial
  swfHeight : Number = 0
SWFMaterial
  swfWidth : Number = 0
SWFMaterial
  texture : BitmapData
[read-only]
SWFMaterial
Protected Properties
 PropertyDefined by
 Inherited_alpha : Number = 1
Material
 Inherited_color : uint = 0xffffff
Material
 Inherited_ct : ColorTransform
BitmapMaterial
 InheritedisDirty : Boolean
BitmapMaterial
 Inherited_texture : BitmapData = null
Material
 InheritedtransformedTexture : BitmapData
BitmapMaterial
Public Methods
 MethodDefined by
  
SWFMaterial(swf:MovieClip, smoothed:Boolean = false, calculateLights:Boolean = false, doubleSided:Boolean = false, additive:Boolean = false)
SWFMaterial
 Inherited
BitmapMaterial
  
update():void
SWFMaterial
Protected Methods
 MethodDefined by
 Inherited
getDefaultTransform():ColorTransform
BitmapMaterial
Property detail
swfproperty
public var swf:MovieClip
swfHeightproperty 
public var swfHeight:Number = 0
swfWidthproperty 
public var swfWidth:Number = 0
textureproperty 
texture:BitmapData  [read-only]Implementation
    public function get texture():BitmapData
Constructor detail
SWFMaterial()constructor
public function SWFMaterial(swf:MovieClip, smoothed:Boolean = false, calculateLights:Boolean = false, doubleSided:Boolean = false, additive:Boolean = false)Parameters
swf:MovieClip
 
smoothed:Boolean (default = false)
 
calculateLights:Boolean (default = false)
 
doubleSided:Boolean (default = false)
 
additive:Boolean (default = false)
Method detail
update()method
public override function update():void