| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: May 2002
Location: New Jersey
Posts: 8
|
Could somebody explain buffering to me.
fas.avclip.SetBufferingTime - does this command allow you to preload video before running it. If so, how do I use it properly. fas.event.NewStream - Does this command allow me to have flash wait until the video is ready to continue? How does this work. Below is the current code I'm using to load video clips. what can I add to preload the video into memory. And if there is a command, what do I do to flush it from memory? fscommand ("fas.avclip.VideoOnTop", "false"); fscommand ("fas.avclip.load", "media/MPEG/34.mpg"); fscommand ("fas.avclip.xy", "14,105"); fscommand ("fas.avclip.Autosize", "TRUE"); I noticed that the video clips I'm using sometimes go out of synch with audio and was hoping preloading the video clips would fix this. Any ideas on what I should do? One last thing, fas.event.EndOfStream - If I add this as a key frame, does this tell the flash movie to wait until the video is done to continue? I'm sorry for so many questions but the help isn't very informative in respects as to what these commands do. Thank you in advance. |
|
|
|
|
|
#2 | ||||
|
Registered User
Join Date: Apr 2002
Posts: 38
|
Quote:
Quote:
Then you can call fas.clipinfo.GetAuthor ... to get the clip information Quote:
Change the video dimension(w*h) to smaller, or reduce the video frame rate when you encode the video file Quote:
frame 1: fsCommand("fas.avclip.load", ".baby.mpg") fsCommand("fas.event.EndOfStream",_target + ".EndStream"); stop() frame 2 ~ frame 10 ...other animation frame 11, label as EndStream: goto frame 5 Then the flash stop at frame 1, and continue to play frame 5 when finish playing video. [Tips]: If you want the event/variable to work in movie clips, you may pass _target + ".yourEventFrameLabel" or _target + ".yourVariable" to fas.event.xxx commands |
||||
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| one template, many looks? | subquark | ActionScript 1.0 (and below) | 1161 | 09-03-2009 04:45 PM |
| preloading a duplicate movie clip | sel | ActionScript 1.0 (and below) | 5 | 08-01-2003 10:57 AM |
| An OOP question?? | texbala | ActionScript 1.0 (and below) | 5 | 07-25-2003 11:13 PM |
| smart clip... | vidda | ActionScript 1.0 (and below) | 0 | 12-14-2001 03:57 PM |
| I'm sorry, but.........what is smart clip please? | black | ActionScript 1.0 (and below) | 1 | 12-10-2001 08:31 PM |