Packagecom.soma.view.video.controls
Classpublic class TimeBarController
ImplementsISomaVideoDisposable

Author: Romuald Quantin - www.soundstep.com

Information:
Blog page - SomaUI
How does it work - Soma Protest
Project Host - Google Code
Documentation - Soma ASDOC
Class version: 2.0
Actionscript version: 3.0

Copyright:

The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.mozilla.org/MPL/

Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied.
See the License for the specific language governing rights and
limitations under the License.

The Original Code is Soma.
The Initial Developer of the Original Code is Romuald Quantin.
Initial Developer are Copyright (C) 2008-2009 Soundstep. All Rights Reserved.

Usage:
TimeBarController is part of the default video skin system of the SomaVideoPlayer. It is a controller class that is sending data to its skin class (ISomaVideoTimeBarSkin).

Internally used by the SomaVideoControls class, it is not meant to be instantiated by the user. See the SomaVideoControls documentation to add or create your own controls.

See also

Soma
SomaVideo
SomaVideoPlayer
SomaVideoEvent
SomaVideoControls
SomaVideoPlaySkin
SomaVideoTimeBarSkin
SomaVideoMuteSkin
SomaVideoFullscreenSkin


Public Methods
 MethodDefined by
  
Creates a TimeBarController instance
TimeBarController
  
dispose():void
This method is internally called when you dispose a SomaVideoPlayer to remove children, event listeners or whatever that needs to be destroyed to free the memory (make the instance elligible to the Garbage Collection).
TimeBarController
Constructor detail
TimeBarController()constructor
public function TimeBarController(videoPlayer:SomaVideoPlayer, skin:ISomaVideoTimeBarSkin)

Creates a TimeBarController instance

Parameters
videoPlayer:SomaVideoPlayer — A SomaVideoPlayer instance.
 
skin:ISomaVideoTimeBarSkin — A skin instance that is implementing ISomaVideoTimeBarSkin.
Method detail
dispose()method
public function dispose():void

This method is internally called when you dispose a SomaVideoPlayer to remove children, event listeners or whatever that needs to be destroyed to free the memory (make the instance elligible to the Garbage Collection).