setRendererString() static method
static public function setRendererString(o:DisplayObject, s:String)
Scaleform version: 4.0.17
This method allows custom directives to be sent to the renderer from ActionScript for any MovieClip instance. If the method is set, the string value will be sent to the renderer as user data.
There is no default value.
Example:
import scaleform.gfx.*; // m is a MovieClip on stage. DisplayObjectEx.setRendererString(m, "Abc"); trace(DisplayObjectEx.getRendererString(m));
getRendererString() static method
static public function getRendererString(o:DisplayObject) : String
Scaleform version: 4.0.17
Return the string value that is sent to the renderer as user data.
setRendererFloat() static method
static public function setRendererFloat(o:DisplayObject, f:Number)
Scaleform version: 4.0.17
This method allows custom directives to be sent to the renderer from ActionScript for any MovieClip instance. If the method is set, the float value will be sent to the renderer as user data.
There is no default value.
Example:
import scaleform.gfx.*; // m is a MovieClip on stage. DisplayObjectEx.setRendererFloat(m, 17.1717); trace(DisplayObjectEx.getRendererFloat(m));
getRendererFloat() static method
static public function getRendererFloat(o:DisplayObject) : Number
Scaleform version: 4.0.17
Return the float value that is sent to the renderer as user data.
disableBatching() static method
static public function disableBatching(o:DisplayObject, b:Boolean)
Scaleform version: 4.0.17
This method disables batching of mesh generation for custom drawing.
Example
import scaleform.gfx.*; // m is a MovieClip on stage. DisplayObjectEx.disableBatching(batchDisable, true); trace(DisplayObjectEx.isBatchingDisabled(batchDisable));
isBatchingDisabled() static method
static public function isBatchingDisabled(o:DisplayObject) : Boolean
Scaleform version: 4.0.17
Check if batching of mesh generation for custom drawing is disabled or not.
setInvertedMask () static method
static public function setInvertedMask(o:DisplayObject, b:Boolean)
Scaleform version: 4.5.32
When masks are used, the object displays the areas where the mask object overlaps it. With this method enabled, the object displays the areas where the mask object doesn’t overlap.
getInvertedMask () static method
static public function getRendererFloat(o:DisplayObject) : Boolean
Scaleform version: 4.5.32
Returns the state of the flag as to whether inverted mask is set for the object.