-
How do I add controls to NetStream Video Method
I have a video loaded in nicely with the following actionscript. I am trying to figure out how to add in the controls ( or skin ). I need a play, pause, stop, progress, etc.
var netConn:NetConnection = new NetConnection(); // Create a NetConnection object
netConn.connect(null); // Create a local streaming connection
var netStream:NetStream = new NetStream(netConn); // Create a NetStream object and define an onStatus() function
myVideo.attachVideo(netStream);// Attach the NetStream video feed to the Video object:
netStream.setBufferTime(3); // Set the buffer time:
netStream.play("Xtreme1.flv"); // the FLV to play...
-
FK'n_dog
check the Help Files -
ActionScript 2.0 Language Reference
ActionScript classes > NetStream
This class provides a number of methods and properties you can
use to track the progress of the file as it loads and plays, and to give
the user control over playback (stopping, pausing, and so on).
-
I followed some awesome tutorials in gotoandlearn.com
Hope this helps
K
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|