PDA

View Full Version : strange problem with flv playback combined with setInterval


uramis
10-03-2005, 04:25 PM
hi, im having a strange problem... im trying to play a dynamically loaded flv. it works fine, but while its running, if I happen to call a setInteval or an onEnterFrame anywhere, the video stops running...
here is the code:

function start_video (v:String):Void {
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 ("vid" + v + ".flv");
}
var interv:Number = setInterval (funct, 1000);
function funct () {
trace ("Hi");
}

thanksss

uramis
10-04-2005, 02:26 PM
still havent figured it out... :( plus, i REALLY could find anything about this in the forums... can any one try it and tell me if it does the same?

uramis
10-05-2005, 02:06 PM
come onnn!! pleasee! :( at least some one tell me if the code I wrote works or not...