loteixeira/asometer
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
################ # INTRODUCTION # ################ AS3MemoryManager is a component which allows you to check the memory level (and fps) in your Adobe Flash application. It consists of one single static class. When added to stage, stays at the top of any other display object. It was created to be small and, when possible, costless to cpu resources. The memory chart has three different lines: * blue line: minimum memory. * red line: maximum memory. * green line: current memory. Online test application: disturbedcoder.com/files/AS3MemoryMonitor ######### # USAGE # ######### MemoryMonitor is a static class, which must be created via create method. The parameters of create method are: * stage:Stage -> the instance of application stage. * align:String (optional) -> where the component should be placed. Possible values are: MemoryMonitor.TOP_LEFT, MemoryMonitor.TOP_RIGHT, MemoryMonitor.BOTTOM_LEFT or MemoryMonitor.BOTTOM_RIGHT. * alpha:Number (optional) -> the alpha value of the component. At the simplest scenario one can initiate the component doing the following call: MemoryMonitor.create(stage); ########### # FOLDERS # ########### src/ -> component source code, including test application. bin/ -> pre-compiled binaries, including test application and SWC component.