Packagecom.catalystapps.gaf.data
Classpublic class GAF
InheritanceGAF Inheritance Object

The GAF class defines global GAF library settings



Public Properties
 PropertyDefined By
  autoPlaySounds : Boolean = true
[static] Play sounds, triggered by the event "gafPlaySound" in a frame of the GAFMovieClip.
GAF
  use99alpha : Boolean
[static] Optimize draw calls when animation contain mixed objects with alpha < 1 and with alpha = 1.
GAF
  useMipMaps : Boolean
[static] Indicates if mipMaps will be created for PNG textures (or enabled for ATF textures).
GAF
Property Detail
autoPlaySoundsproperty
public static var autoPlaySounds:Boolean = true

Play sounds, triggered by the event "gafPlaySound" in a frame of the GAFMovieClip.

use99alphaproperty 
public static var use99alpha:Boolean

Optimize draw calls when animation contain mixed objects with alpha < 1 and with alpha = 1. This is done by setting alpha = 0.99 for all objects that has alpha = 1. In this case all objects will be rendered by one draw call. When use99alpha = false the number of draw call may be much more (the number of draw calls depends on objects order in display list)

useMipMapsproperty 
public static var useMipMaps:Boolean

Indicates if mipMaps will be created for PNG textures (or enabled for ATF textures).