FRENewObjectFromInt32()

AIR 3.0 and later

Usage

FREResult FRENewObjectFromInt32 ( int32_t value, FREObject* object);

Parameters

value
An int32_t that is the value for a new ActionScript int instance.

object
A pointer to an FREObject that represents an int ActionScript instance.

Returns

An FREResult. The possible return values include, but are not limited to, the following:

FRE_OK
The function succeeded and the object parameter is correctly set.

FRE_INVALID_ARGUMENT
The FREObject parameter is NULL .

FRE_WRONG_THREAD
The method was called from a thread other than the one on which the runtime has an outstanding call to a native extension function.

Description

Call this function to create an ActionScript int instance with the value parameter. The runtime sets the FREObject variable to correspond to the new ActionScript instance.

// Ethnio survey code removed