ContentDisplay

Kind of class: public class
Package:
Inherits from:
  • Sprite
Known subclasses:
Version: 16 Apr 2010 Improved error handling
7 Mar 2010
Author: John Polacek, john@johnpolacek.com
Classpath: com.johnpolacek.display.ContentDisplay
File last modified: Friday, 18 February 2011, 00:30:48
Abstract class for displaying various types of content (audio, video, images, flash) in various ways (audio players, image slideshows, etc.)

Summary

Constructor
Instance methods
  • onLoadComplete (event:Event) : void
    • Dispatches Event.COMPLETE
  • onIOError (event:IOErrorEvent) : void
    • Catches IOError Events for broken filepaths
  • destroy () : void
    • Remove event listeners and clear children

Constructor

ContentDisplay

function ContentDisplay()

Instance methods

destroy

function destroy() : void

Remove event listeners and clear children

onIOError

function onIOError(event:IOErrorEvent) : void

Catches IOError Events for broken filepaths

onLoadComplete

function onLoadComplete(event:Event) : void

Dispatches Event.COMPLETE