Actionscript compiler MTASC and Event s

0 like 0 dislike
21 views
In actionscript I'm not good, please help.

How to get to work in compiling applications some realties netEvent example from AVI digital in my case why something is not working:

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);

ns.onMetaData = function(infoObject:Object) {
for (var propName:String in infoObject) {
trace(propName + " = " + infoObject[propName]);
}
};

ns.play("http://www.helpexamples.com/flash/video/water.flv");

None of the events fails, it should return metainfo but returns nothing.
by | 21 views

1 Answer

0 like 0 dislike
I would recommend to abandon the use of as1/2 code in your project.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
7 answers
110,608 questions
257,186 answers
0 comments
28,875 users