Packageorg.apache.flex.core
Classpublic class CallLaterBead
InheritanceCallLaterBead Inheritance Object
Implements IBead

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The CallLater bead implements ways for a method to be called after other code has finished running.



Public Properties
 PropertyDefined By
  strand : IStrand
[write-only] The host component for this bead.
CallLaterBead
Public Methods
 MethodDefined By
  
Constructor.
CallLaterBead
  
callLater(fn:Function, args:Array = null, thisArg:Object = null):void
Calls a function after some amount of time.
CallLaterBead
Property Detail
strandproperty
strand:IStrand  [write-only]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The host component for this bead.


Implementation
    public function set strand(value:IStrand):void
Constructor Detail
CallLaterBead()Constructor
public function CallLaterBead()

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Constructor.

Method Detail
callLater()method
public function callLater(fn:Function, args:Array = null, thisArg:Object = null):void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Calls a function after some amount of time. CallLater works a bit differently than in the Flex SDK. The Flex SDK version was could use the Flash Player's RENDER event to try to run code before the scren was updated. Since there is no deferred rendering in HTML/JS/CSS, this version of callLater is almost always going to run after the screen is updated.

Parameters

fn:Function
 
args:Array (default = null)
 
thisArg:Object (default = null)