Flash CS3  |  Go to CS4 Help

Specify the contentPath parameter

If you imported a local video clip into Flash for use with progressively downloaded or streaming video content, update the contentPath parameter of the FLVPlayback component before uploading your content to a web server. The contentPath parameter specifies the name and location of the FLV on the server, and implies the playback method (for example, progressively download using HTTP, or streaming from Flash Media Server using RTMP).

  1. With the component selected, open the Property inspector (Window > Properties > Properties) and select Parameters in the Property inspector, or open the Component inspector (Window > Component Inspector).
  2. Enter values for parameters, or use the default settings as appropriate. For the contentPath parameter, do the following:
    1. Double-click the Value cell for the contentPath parameter to activate the Content Path dialog box.
    2. Enter the URL or local path to either the FLV file or the XML file (for Flash Media Server or FVSS) that describes how to play the FLV.

    If you do not know the location of the FLV or XML file, click the folder icon to navigate to the correct location. When browsing for an FLV file, if it is at or below the location of the target SWF file, Flash automatically makes the path relative to that location so that it is ready for serving from a web server. Otherwise, it is an absolute Windows or Macintosh file path.

    If you specify an HTTP URL, the FLV file is a progressive download FLV file. If you specify a URL that is a Real-Time Messaging Protocol (RTMP) URL, the FLV streams from a Flash Media Server (FMS). A URL to an XML file could also be a streaming FLV file from FMS or from a FVSS.

    Note: When you click OK on the Content Path dialog box, Flash updates the value of the cuePoints parameter, too, because you might have changed the contentPath parameter so that the cuePoints parameter no longer applies to the current content path. As a result, you lose any disabled cue points, although not ActionScript cue points. For this reason, you might want to disable non-ActionScript cue points through ActionScript, rather than through the Cue Points dialog box.

    You can also specify the location of an XML file that describes how to play multiple FLV streams for multiple bandwidths. The XML file uses Synchronized Multimedia Integration Language (SMIL) to describe the FLV files. For a description of the XML SMIL file, see “Using a SMIL file” in the ActionScript 2.0 Components Language Reference.

Comments

Comments are no longer accepted for Flash CS3. Flash CS4 is the current version. To discuss Flash CS3, please use the Adobe forum.