OpenFL API documentation

OpenFL is a library for creative expression on the web, desktop, mobile, and game consoles — inspired by the Adobe Flash APIs. Publish to native C++, JS and WebGL, or run-times like HashLink and AIR — using one seamless toolset.

Getting Started With OpenFL


openfl

desktop
display
display3D
errors
events
external
filesystem
filters
geom
globalization
media
net
permissions
printing
profiler
security
sensors
system
text
ui
utils
Assets

Lib

Memory

Adobe Flash Player supports an accelerated method of reading and writing to the ByteArray object, known as "domain memory"

Vector

The Vector class lets you access and manipulate a vector — an array whose elements all have the same data type. The data type of a Vector's elements is known as the Vector's base type. The base type can be any class, including built in classes and custom classes. The base type is specified when declaring a Vector variable as well as when creating an instance by calling the class constructor.