A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: streaming video in MX...

  1. #1
    ok...i have an .avi video that i want to put on a site for my friend in flash MX..how do i put the video in so that the people viewing it doesn't have to load the huge file upfront? how can i set it so that they just stream the video?

  2. #2
    Arckid - Curving the Web
    Join Date
    Dec 2000
    Location
    India
    Posts
    1,412
    by default flash to it streaming ...

  3. #3
    Senile member! :)
    Join Date
    Dec 2001
    Location
    Saunaswamp (transl)
    Posts
    2,296
    turn the .avi file into an swf. then you need to test this swf in the bandwith profiler against bandwidth of your target audince. make an empty keyframe in the first frame of the swf and put in a stop() action so the video won't show up before we want it to.

    Then make a preloader to load the an estimated number of frames so that the playhead won't reach any unloaded frames. then when this number of frames has been achieved you just call play() on the swf with the video...

    this will not be true streaming I know but it won't load it all either... If you wan't true streaming you'll need to get tincan when it's released. It can handle streaming with the new flash video(.flv) format.

    /Mirandir

  4. #4
    ok..thanks for the help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center