Flash Video Streaming Tutorial

Streaming video is ideal for large Internet audiences. When you stream video, the end user is only getting what he needs and not the entire video. This reduces the server's load. Streaming video also helps to protect copyrighted videos, since the end user is not receiving the entire file. You will need a dedicated server such as Adobe's Flash Media Server 2, LightTPD or Primcast.

Instructions

    • 1

      Open Flash and click "File," then "New" and then click "Flash File (ActionScript 3.0)" from the menu.

    • 2

      Click the pop-down menu on the library panel and then click "New Video," then "OK." Drag the video camera to the stage and give an instance name "myVideo" in the "Property" panel that automatically opens. Change the "W" and "H" to your video size, such as "W" value to "320" and the "H" value to "240."

    • 3

      Create new layers by clicking "Insert Layer" at the bottom of your time line. Name your two layers by double-clicking on the text and typing in a first layer, "Actions," and the second layer, "Labels."

    • 4

      Right-click on frame "1" in the time line and then click "Action" from the menu. Type in the following code, changing the video name to your video name and location:

      var myConnection:NetConnection = new NetConnection();

      myConnection.connect(null);

      var myStream:NetStream = new NetStream(myConnection);

      myVideo.attachNetStream(myStream);

      var listener:Object = new Object();

      listener.onMetaData = function(md:Object):void{};

      myStream.client = listener;

      myStream.play("video.flv");

       

Related Searches:

References

Comments

You May Also Like

  • Quicktime Streaming Tutorial

    Most people know what Quicktime is, as it is commonly used on both Macs and PCs to play multimedia files. What most...

  • Flash Media Server Tutorial

    Adobe Flash Media Server 4 is used by small to large publishers and is Adobe's solution for streaming video and real-time communication....

  • How to Stream a Flash Video

    In the age of the Internet, more and more people are uploading and streaming flash videos. You have two options, you can...

  • How to Stream Live Video to a Website

    As of 2009, streaming live video has become a powerful tool that's accessible to virtually anyone. Besides having a grasp of how...

  • Flash Animation Tips

    Flash animation created using Macromedia/Adobe Flash software has a number of uses. It's helped in the creation of animated feature films like...

  • Tutorial for Animation Shop

    Create an animation GIF file with Jasc Animation Shop, downloadable from the Jasc site for free (see References), which will command attention...

  • Tutorial for the Flash CS3 Audio Player

    Flash's audio player offers many ways to use sound like synchronizing animation on a timeline or playing continuously in background music. You...

  • Flash MP3 Player Tutorial

    Embedding MP3s in your website can provide the kind of rich media experience that keeps visitors coming back. Whether you plan to...

  • HTML Flash Player Tutorial

    Flash videos are videos that are created using Adobe Flash software. One of the advantages to embedding a Flash video into your...

  • Adobe Photoshop 4.0 Tutorials

    Adobe Photoshop 4.0 Tutorials. Adobe Photoshop is one of the premier photo editing programs on the consumer market today. Unlike Microsoft Photo...

  • About Streaming Video Software

    Streaming video over the Internet allows others to view tutorials, connect with others and watch news programs instantly. When using video streaming...

  • How to Set Up a Streaming Video Server

    With broadband Internet becoming more common, hosting streaming video has become more affordable. Anyone with a video camera can start up a...

  • How to Build a Custom FLV Player Using Netstream

    You can customer Flash's FLV player for your business, blog or website by editing one of Flash's preinstalled FLV skins including some...

  • Tutorial on How to Use Flash Media Player

    Adobe's Flash Media Player is not a standard media player for your computer like a Windows Media Player or an iTunes type...

  • How to Record a VOD Streaming Video

    As the Internet has evolved, users have grown used to being able to capture content to their hard drives for sharing and...

  • How to Create a Flash MX Website Tutorial

    Adobe Flash MX is a popular design programs used to create everything from interactive website controls and videos, to games, videos and...

  • HTML Music Tutorial

    HTML is easy to write for Web designers who have taken the one-day class. Adding music to a website is just as...

Related Ads

Featured