Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
CallLaterBead

Package | org.apache.flex.core
Class | public class CallLaterBead
Inheritance | CallLaterBead 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

| Property | Defined By
--- | --- | ---
|  | strand : IStrand [write-only] The host component for this bead. | CallLaterBead

Public Methods

| Method | Defined By
--- | --- | ---
|  | CallLaterBead() Constructor. | CallLaterBead
|  | callLater(fn:Function, args:Array = null, thisArg:Object = null):void Calls a function after some amount of time. | CallLaterBead

Property Detail

strand | property

`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`)``

Mon Sep 5 2016, 07:19 AM -07:00