How to import a video file in FLA file

June 4, 2010

CS5, How To

You can import a video file that is stored locally on your computer, and then upload the video file to a server after importing it to your FLA file. In Flash, when you import video for progressive download, you are really adding only a reference to the video file. Flash uses the reference to find the video file on your local computer or on a web server.

You can also import a video file that is already uploaded to a standard web server, an Adobe Flash Media Server (FMS), or Flash Video Streaming Service (FVSS).

  1. Select File > Import > Import Video to import the video clip into the current Flash document.
  2. Select the video clip to import. You can select either a video clip located on your local computer, or enter the URL of a video already uploaded to a web server or Flash Media Server.
    • To import video located on your local computer, select Load external video with playback component.
    • To import video already deployed to a web server, Flash Media Server, or Flash Video Streaming Service, select Already deployed to a web server, Flash Video Streaming Service, or Stream From Flash Media Server, and enter the URL of the video clip.
      Note: The URL for a video clip located on a web server will use the http communication protocol. The URL for a video clip located on a Flash Media Server or Flash Streaming Service will use the RTMP communication protocol.
  3. Select a skin for your video clip. You can choose to:
    • Not use a skin with the FLVPlayback component by selecting None.
    • Select one of the predefined FLVPlayback component skins. Flash copies the skin into the same folder as the FLA file.
      Note: FLVPlayback component skins are slightly different depending on whether you are creating an AS2- or AS3-based Flash document.
    • Select a custom skin of your own design by entering the URL of the skin on the web server.
  4. The Video Import Wizard creates an FLVPlayback video component on the Stage that you can use to test video playback locally. When you finish creating your Flash document and want to deploy the SWF file and video clip, upload the following assets to the web server or Flash Media Server hosting your video:
    • If using a local copy of the video clip, upload the video clip (which is located in the same folder as the source video clip you selected with a .flv extension)
      Note: Flash uses a relative path to point to the FLV or F4V file (relative to the SWF file), letting you use the same directory structure locally that you use on the server. If the video was previously deployed to your FMS or the FVSS hosting your video, you can skip this step.
    • The video skin (if you chose to use a skin)To use a predefined skin, Flash copies the skin into the same folder as the FLA file.
    • The FLVPlayback componentTo edit the FLVPlayback component’s URL field to that of the web server or Flash Media Server that you are uploading the video to, use the Component inspector (Windows > Component inspector) to edit the contentPath parameter.
, , , ,

8 Responses to “How to import a video file in FLA file”

  1. swopsipseri Says:

    Why do so many people buy this painkiller from us? The answer is because it works, all the time! That’s what i want to say here.

  2. Manos Says:

    Does anybody know why when I am tring to import a .avi or .mpg video file in Flash CS5, I get the following error: “The selected file does not appear to be supported by Adobe Flash Player, although it may work for custom uses such as mobile devices. If necessary, launch Adobe Media Encoder to convert this file to supported format such as FLV or F4V” ?

Trackbacks/Pingbacks

  1. How to import a video file in FLA file | Flash tutorials | Flash … | Flash Designers - June 4, 2010

    [...] Originally posted here: How to import a video file in FLA file | Flash tutorials | Flash … [...]

  2. How to add a watermark to a foto or picture » Blog Archive » How to burn movies on DVD uTorrent? - June 5, 2010

    [...] How to import a video file in FLA file | Flash tutorials | Flash video tutorials | Flash actionscrip… [...]

  3. Help with WinZip and Zip Repair please? | Download Zone - June 5, 2010

    [...] How to import a video file in FLA file | Flash tutorials | Flash … [...]

  4. Q&A: How can I convert a window media player video file to a file playable in winamp or quick time player? | The Blogging Expert - June 6, 2010

    [...] H&#959w t&#959 import a video file &#1110&#1495 FLA file | Flash tutorials | Flash … [...]

  5. How to import a video file in FLA file | Flash tutorials | Flash … Card on me - June 8, 2010

    [...] post: How to import a video file in FLA file | Flash tutorials | Flash … By admin | category: communication flash hosting server | tags: adobe, cost, design, fla, [...]

  6. Why does the AVI video format play as a sound file on my computer? | Shopping Visuals - June 16, 2010

    [...] How to import a video file in FLA file | Flash tutorials | Flash video tutorials | Flash actionscrip… [...]

Leave a Reply