Search  

VIDEO01 (VIDEO THUMBNAIL CLASS)

HomeBrowse CategoriesFlashApplications and UtilitiesUtilitiesVideo01 (Video Thumbnail Class)
Full_screen_preview

Okay, this class took me a long time to make, mainly because it’s my first AS3 class. It allows a person to create a video thumbnail that’s easy to edit.

Here is an example on how to implement the class:
/*How to create a new video preview.*/
var video_example = new video01 ({
/*Url where video is found.*/
videourl:'video.flv',
/*Width of video preview.*/
width:250,
/*Height of video preview.*/
height:250,
/*Alpha value of shine over video. (0-1)*/
shinealpha:.1,
/*Function called when video is played.*/
onVideoPlayed:function(){trace('Video played.');},
/*Function called when video is paused.*/
onVideoPaused:function(){trace('Video paused.');},
/*Function called when video is done.*/
onVideoDone:function(){trace('Video done.');}
});

It’s very useful because the player is created using all AS3 with no images. It’s an easy way for a user to see a video in small places.

Posted 2 months ago

neat idea :-)

Posted 2 months ago

Noice work.

Posted 2 months ago

there is some rollover issue with the larger 2 versions, only bottom half parts respond to mouse rollover.

Posted 2 months ago

It only affects the larger one on the left. This is because the textfield goes over the player. Just ignore that.

Posted 2 months ago

don’i ignore it, just set the MouseEnable for that text filed to false;)

Posted 2 months ago

@nhstudeio: just? okay, then… put files together, upload updates, wait 1-32 business days to be accepted. Sounds easy and quick enough, not. It’s just the preview.

Posted 2 months ago

great

Posted 2 months ago

Great

Posted 2 months ago