ImageDisplay

Kind of class: public class
Package:
Inherits from:
Version: 1 Apr 2010 Added contentInfo object property
7 Mar 2010
Author: John Polacek, john@johnpolacek.com
Classpath: com.johnpolacek.display.ImageDisplay
File last modified: Friday, 12 November 2010, 15:34:14
Loads and displays images. (.jpg, .gif, .png)

Summary

Constructor
Instance properties
  • contentInfo
    • Object that can be used to store variables
Instance methods
  • onLoadComplete (event:Event) : void
    • Enables bitmap smoothing and dispatches Event.COMPLETE
Instance methods inherited from ContentDisplay

Constructor

ImageDisplay

function ImageDisplay(filepath:String)
Parameters
filepath:url of the image.

Instance properties

contentInfo

contentInfo = {}(read,write)

Object that can be used to store variables

Instance methods

onLoadComplete

override function onLoadComplete(event:Event) : void

Enables bitmap smoothing and dispatches Event.COMPLETE