Factory that creates ClassInfoProvider instances based on the capabilities of the Flash Player.
In Player 10.1 or newer providers will use the
describeTypeJSON
function under the hood,
in older players the XML-based
describeType
will be used.
public function newProvider(type:Class):ClassInfoProvider
Creates a new ClassInfoProvider based on the capabilities of the Flash Player.
Parameters
| type:Class — the type to reflect on
|
Returns | ClassInfoProvider — a new ClassInfoProvider based on the capabilities of the Flash Player
|
Mon Feb 6 2012, 01:04 AM +01:00