The AssetType enum lists the core set of available asset types from the OpenFL command-line tools.

Available since

5.9.0

.

Static methods

Variables

@:value(cast "binary")@:impl@:enuminlineread onlyBINARY:FlxAssetType = "binary"

Binary assets (data that is not readable as text)

@:value(cast "font")@:impl@:enuminlineread onlyFONT:FlxAssetType = "font"

Font assets, such as .ttf or .otf files

@:value(cast "image")@:impl@:enuminlineread onlyIMAGE:FlxAssetType = "image"

Image assets, such as .png or .jpg files

@:value(cast "sound")@:impl@:enuminlineread onlySOUND:FlxAssetType = "sound"

Audio assets, such as .ogg or .wav files

@:value(cast "text")@:impl@:enuminlineread onlyTEXT:FlxAssetType = "text"

Text assets