T > TextField.getFontList |  |

TextField.getFontList

TextField, TextField.getFontList, getFontList

Availability

Flash Player 6.

Usage

    TextField.getFontList

Parameters

None.

Returns

An array.

Description

Method; `getFontList` is a static method of the global `TextField` object. This method returns names of fonts on the Player's host system as an array. (It does not return names of all fonts in currently loaded SWF files.) The names are of type `string`.

Example

The following code displays a font list returned by `getFontList`.

    arr = TextField.getFontList();
    for( i in arr){

    	trace(arr[i]);

    }