To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Online Video

Reply
 
Thread Tools Search this Thread Display Modes
Old 06-26-2007, 09:52 PM   #1
clarpark
Member
 
Join Date: Oct 2001
Posts: 47
ns.status Buffer message lags, starts vid before hiding mc

Hi. I'm having a heck of a time trying to get my "buffering" movies to hide before the video plays. When a new video is selected, "blacky" and "bufferText" are set to visible=true. But then the video starts and there is a lag of 10-20 frames before they get triggered to visible=false.

I've played with NetStream.Buffer.Start but that causes other issues.. Any help? Thanks.

Code:
ns.onStatus = function(info) { 
trace(info.code);
   if(info.code == "NetStream.Buffer.Full") { 
    	_root.bufferText_mc._visible = false;
 		_root.blacky._visible = false;
   } 
   if(info.code == "NetStream.Buffer.Empty") { 
  		 _root.bufferText_mc._visible = true;
 		_root.blacky._visible = true;
   } 
   if(info.code == "NetStream.Play.Stop") { 
      ns.seek(0); 
      ns.pause();  
	  blacky._visible = true;
   } 
}
__________________

Last edited by clarpark; 06-26-2007 at 09:59 PM.
clarpark is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Online Video

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:04 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.