Packagecom.apdevblog.ui.video.controls
Classpublic class ImageOverlay
InheritanceImageOverlay Inheritance flash.display.Sprite

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 9

Image overlay - can e.g. display a screenshot of the video. Only shown when video playback is set to autoplay = false.



Public Methods
 MethodDefined By
  
ImageOverlay(w:Number, h:Number, style:ApdevVideoPlayerDefaultStyle)
creates image overlay.
ImageOverlay
  
load(req:URLRequest):void
loads image and displays it on stage.
ImageOverlay
  
resize(width:int, height:int):void
ImageOverlay
Constructor Detail
ImageOverlay()Constructor
public function ImageOverlay(w:Number, h:Number, style:ApdevVideoPlayerDefaultStyle)

creates image overlay.

Parameters
w:Number — width of the videoplayer
 
h:Number — height of the videoplayer
 
style:ApdevVideoPlayerDefaultStyle
Method Detail
load()method
public function load(req:URLRequest):void

loads image and displays it on stage.

Parameters

req:URLRequest — URLRequest which image is to be loaded

resize()method 
public function resize(width:int, height:int):void

Parameters

width:int
 
height:int