PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.flash > Error Message When Loading FLV
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Error Message When Loading FLV

Réponse
 
LinkBack Outils de la discussion
Vieux 07/04/2008, 16h56   #1 (permalink)
bdq1772
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Error Message When Loading FLV

I'm getting this error message when I run this movie -

"Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095:
flash.net.NetStream was unable to invoke callback onMetaData.
error=ReferenceError: Error #1069: Property onMetaData not found on
flash.net.NetStream and there is no default value.at
Slide_GB_05_fla::MainTimeline/frame1()".

My code to load the five FLV's is -

var nc1:NetConnection = new NetConnection();
nc1.connect(null);
var ns1:NetStream = new NetStream(nc1);
theVideo1.attachNetStream(ns1);
ns1.play("Safety.flv");

var nc5:NetConnection = new NetConnection();
nc5.connect(null);
var ns5:NetStream = new NetStream(nc5);
theVideo5.attachNetStream(ns5);
ns5.play("Dutyfree_3.flv");

var nc3:NetConnection = new NetConnection();
nc3.connect(null);
var ns3:NetStream = new NetStream(nc3);
theVideo3.attachNetStream(ns3);
ns3.play("Hawaii.flv");

var nc4:NetConnection = new NetConnection();
nc4.connect(null);
var ns4:NetStream = new NetStream(nc4);
theVideo4.attachNetStream(ns4);
ns4.play("CatWoman_1.flv");
//ns4.seek(10);
//ns4.pause();

var nc2:NetConnection = new NetConnection();
nc2.connect(null);
var ns2:NetStream = new NetStream(nc2);
theVideo2.attachNetStream(ns2);
ns2.play("CITA_1.flv");

ta1.textField.background = true;
ta1.textField.backgroundColor = 0xC9C1B8;
//ta1.htmlText = "Kinds of PAVES entertainment:[BULLET][LI]Audio
channels</li>[LI]Video
programs
</li>[LI]Airshow</li>[/BULLET]<br>Examples of video
programs:
[BULLET][LI]Safety</li>[LI]Comfort in
Flight</li>[LI]Destinations</li>[LI]Movies</li>[LI]Advertisements</li>[/BULLET]"
;

var lessonInfoXML:XML;
var lessonInfo:URLLoader = new URLLoader();
var smartGraphicFile:String;

lessonInfo.addEventListener(Event.COMPLETE, onCompleteLessonInfo);
lessonInfo.load(new URLRequest("Slide_Information.xml"));
function onCompleteLessonInfo(evt:Event) {
lessonInfoXML = new XML(lessonInfo.data);
smartGraphicFile = lessonInfoXML.slide5.narration;
ta1.htmlText = smartGraphicFile;
}

The FLV's load, and I can dismiss the error messages. Any idea what I'm doing
wrong?


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h52.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,06932 seconds with 9 queries