|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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? |
|
![]() |
| Outils de la discussion | |
|
|