|
| HOMEPAGE | INDICE FORUM | REGOLAMENTO | ::. | NEI PREFERITI | .:: | RSS Forum | RSS News | NEWS web | NEWS software | |
| PUBBLICITA' | | | ARTICOLI | WIN XP | VISTA | WIN 7 | REGISTRI | SOFTWARE | MANUALI | RECENSIONI | LINUX | HUMOR | HARDWARE | DOWNLOAD | | | CERCA nel FORUM » | |
08-05-2008, 17.36.39 | #1 |
Senior Member
Registrato: 31-12-2001
Loc.: Latitante
Messaggi: 363
|
[Flash] "Loop" per filmato .FLV esterno in Flash
ho necessità di mandare in LOOP dei filmati FLV esterni in una presentazione fatta in flash. Gli script che ho usato sono questi: var nc:NetConnection = new NetConnection(); nc.connect(null); var ns:NetStream = new NetStream(nc); bondi.attachVideo(ns); ns.play("bondi.flv"); // Gestione dei pulsanti per il Play e la Pausa btnPlay.onPress = function() { ns.pause(false); } btnPause.onPress = function() { ns.pause(true); } Qualcuno sa dirmi come e dove inserire il codice per il LOOP? Attualmente i filmati dopo la prima esecuzione si bloccano. Devo finire entro domattina alle 11! Please ehlp!! |
09-05-2008, 15.31.13 | #2 |
Senior Member
Registrato: 31-12-2001
Loc.: Latitante
Messaggi: 363
|
Se vi potesse servire in futuro....
//imposto la connessione var connection_nc:NetConnection = new NetConnection(); connection_nc.connect(null); var stream_ns:NetStream = new NetStream(connection_nc); my_video.attachVideo(stream_ns); //stream_ns.play("Flv/"+_root.moviestatus+".flv"); //indico il filmato da caricare e mandare in play stream_ns.play("FLV/video.flv"); // funzione LOOP stream_ns.onStatus=function(infoObject){ if(infoObject.code=="NetStream.Play.Stop"){ stream_ns.seek(0); stream_ns.play(); } }; |
Utenti attualmente attivi che stanno leggendo questa discussione: 1 (0 utenti e 1 ospiti) | |
Strumenti discussione | |
|
|
Discussioni simili | ||||
Discussione | Autore discussione | Forum | Risposte | Ultimo messaggio |
Adobe Flash Player 9.0.47.0 | Thor | Archivio News Software | 15 | 30-11-2007 21.44.12 |
Immagine da filmato FLASH | Scuotivento | Internet e Reti locali | 2 | 09-03-2006 16.44.05 |
Flash 8.0 | Gervy | Archivio News Software | 2 | 14-09-2005 01.30.39 |
Filmato flash... clicca qui | Alhazred | Programmazione | 7 | 05-07-2004 09.45.12 |