Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

NetStream under AIR

$
0
0
I have an existing Flash 8 / AS2 application that for the most part is running just fine under AIR. The one thing that is not working is playing movies (.FLV's). I use NetConnection and NetStream to load my movies as follows:

var my_nc:NetConnection = new NetConnection();
my_nc.connect(null); // Create a local streaming connection
var my_ns:NetStream = new NetStream(my_nc); // Create a NetStream object

INTROMOVIE.attachVideo(my_ns);
// Set the buffer time
my_ns.setBufferTime(6);
// Begin playing the FLV file
my_ns.play("videos/pnlogo.flv");

This has worked just fine for a long time, but under AIR I get nothing but black screen. I am going to track down how to debug/trace under AIR, but wanted to know if anyone had any experiences here as playing .FLV's is a pretty common task...

Any help is appreciated!!

Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>