ActionScript APIs

While the BlackBerry Tablet OS SDK for Adobe AIR extends the Adobe ActionScript API in many important areas, you must use the ActionScript 3.0 APIs for data storage, networking, and device sensor functions. The following table lists some resources that you can use to learn more about ActionScript APIs.

You must explicitly request permission from your user to use device sensors. For more information, see Accessing restricted functionality.



Data storage

The BlackBerry Tablet OS supports the following approaches to data storage

  • Local shared object (in the package)
  • Encrypted local store (in the package)
  • File system (in the flash.filesystem package)
  • SQLite (in the package)

Network communication

You can use the package to send and receive data over a network connection.


You can use the flash.sensors.Accelerometer class to register an event listener for accelerometer events. The BlackBerry Tablet OS reports movement in three perpendicular planes relative to the device.


You can use the flash.sensors.Geolocation class to register an event listener that processes changes in the location of the device.

For more information, see the ActionScript 3.0 Reference for the Adobe Flash Platform.