Latest in Code

Incrementing Search and Replace

Iterate Over An Object In Actionscript 3

Generating Cairngorm code

Flex Compiler Shell Controller, jEdit and Error List

Instant Slideshow JSFL

More pages in Code...

 

UberMediaController


An alternate minimal and skinnable video controller for Flash.
2005-07-05

This is a slightly improved media controller that connects to the MediaDisplay class. It allows you to:

  • Set how much of the video is preloaded.
  • Display how much is loaded, and status information.
  • Progress Bar
  • Allows you much more control over the look of the controller. Simply delete or re-style anything within the clip.
  • Left or right align the controller.
  • Display movie clips at specific times and x,y coordinates.
  • Fixes bug with flash CuePoints, where they are all retriggered simultaneously when you rewind.


Usage:

Install the classes into your classpath.
Attach the UberMediaController class to a movie clip instance (right click on the movie clip in the Library, and choose tv.ubergeek.media.UberMediaController as the class). Or use the existing controller in UberMediaController.fla and season to taste.

Example ActionScript:

umc.associateDisplay(video,6);
// set the size/alignment of the controller background
umc.setStyle("right",320,5);
// set how much to buffer before playing (this buffers it all
umc.setBufferSize(15);

Click here to download UberMediaController class and example .fla

 
 

©2004 Chris Hill. All Rights Reserved.Legal Crapola