Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Flash Media Server

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-09-2003, 10:32 PM   #1
aalkemist
Registered User
 
Join Date: Oct 2003
Location: Colorado
Posts: 6
Send a message via AIM to aalkemist Send a message via Yahoo to aalkemist
Question determining bufferLength

I've set my buffertime and now want to check for it to be full, then go to the next frame letting the user know they can now control the video via the control buttons. The buffer is working, but I can't figure out how to go to the next frame. Can anyone fill in my blank?

the following script has no errors, bur still doesn't work:

var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
stream_ns.setBufferTime(10);
video1_video.attachVideo(stream_ns);
//stream_ns.play("testvid.flv");
if(stream_ns.bufferLength == "10"){
nextFrame();

}
aalkemist is offline   Reply With Quote
Old 03-23-2004, 02:44 AM   #2
kimgar
Registered User
 
Join Date: Dec 2001
Posts: 106
Default

try putting myControls._visible = true in your IF statement instead, and myControls._visible = false when your movie loads.

Last edited by kimgar; 03-23-2004 at 03:30 AM..
kimgar is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:17 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.