| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
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(); } |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Dec 2001
Posts: 106
|
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.. |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|