Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

consiglio video player

This is a discussion on consiglio video player within the Actionscript 3.0 base forums, part of the Flash CS3 generale category; Ciao a tutti sto realizzando per la prima volta un video player con as3. Seguendo vari tutorial sono riuscito ad ...


Go Back   Forum Flash CS3 Flash CS4 > Flash CS3 e Actionscript 3.0 > Flash CS3 generale > Actionscript 3.0 base

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 15-05-08, 12:16
Junior Member
 
Join Date: Jan 2008
Posts: 4
Rep Power: 0
mauretto78 is on a distinguished road
consiglio video player

Ciao a tutti
sto realizzando per la prima volta un video player con as3.
Seguendo vari tutorial sono riuscito ad importare il video, dargli altezza e larghezza, posizionarlo e usare play e stop.
Ora devo mettere il controllo volume ed una progress bar.
Ma non riesco ad andare avanti.
Posto di seguito il codice che sto utilizzando:
PHP Code:
var videoConnection:NetConnection = new NetConnection();
videoConnection.connect(null);
var 
videoStream:NetStream = new NetStream(videoConnection);
videoStream.play("shortmovie.flv");
var 
metaListenerObject = new Object();
metaListener.onMetaData onMetaData;
videoStream.client metaListener;
var 
video:Video = new Video();
//SET UP WIDTH AND HEIGHT//
video.width 700;
video.height 445;
// VIDEO POSITION//
video.49;
video.45;
// ATTACH VIDEO ON THE STAGE
video.attachNetStream(videoStream);
addChild(video);
// FUnction play and stop movie//
function onMetaData(data:Object):void {
    
play_btn.addEventListener(MouseEvent.CLICKplayMovie);
    
stop_btn.addEventListener(MouseEvent.CLICKstopMovie);

}
function 
playMovie(event:MouseEvent):void {
    
videoStream.play("shortmovie.flv");
}

function 
stopMovie(event:MouseEvent):void {
    
videoStream.pause();

Non voglio trovare qualcosa gia fatto, voglio riuscire a capire come settare i componenti che trovo nella library di flvlplayback.
Grazie
Mauro
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Multi Video Player Flep Utilità di FlepStudio 29 12-11-08 11:38
player video multiclip ilazina Flash CS3 generale 4 26-05-08 16:39
[AS2] Multi Video/Audio Player HELP! gnosis Flash CS3 eng 3 14-03-08 09:15
Video player per AVI, MPG ecc... onavy Flash CS3 generale 1 06-03-08 04:32
Flash-Ajax video player Alevg Componenti 0 26-02-08 07:55


All times are GMT. The time now is 14:59.


Powered by vBulletin versione 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406