I have regroup some of the examples from the Flash Help Document in one (little) working example.

  • Example of how to load and preload a flv.
  • How to manage the buffer time and length
  • How to access the metadata of a flv
  • The only things you need to do to make it work is to edit path to your flv.

    Download the fla

      6 Responses to “Flash Video (flv) actionscripting”

    1. FLV 的程式控制範例 Metah Blog

    2. Metah Blog: Freelance Webmaster Geneva, Switzerland Powered by WordPress Entries (RSS)

    3. Thanks for this, wondering why

      //Tracing the Metadatas
      stream_ns.onMetaData = function(infoObject:Object) {
      for (var propName:String in infoObject) {
      trace(propName + ” = ” + infoObject[propName]);
      }
      };

      Causes errors in Flash 7?

    4. Thank you for this. Where could I change the properties such as font and placement of the loading/buffering text?

    5. [...] Metah Blog 撰寫了一個範例如何去讀取Flv的metadata,以及如何計算影片長度和Buffer的時間的應用, 可以參考看看囉…. [...]

    6. [...] 【分享】【建议】读取Flv的metadata Metah Blog(http://www.metah.ch/blog/?p=126) 写了一个范例如何去读取Flv的metadata,以及如何计算影片长度和Buffer的时间的应用, 可以參考…. [...]

     Leave a Reply

    (required)

    (required)

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>