Importing device video

To bundle video in your Flash Lite application, you first import the video into your Flash document. To do this, you can either use the Import Video wizard or the import feature available in the Video Properties dialog box. Both techniques result in a video symbol in your document's library that contains the original device video data. When you publish your application, the authoring tool bundles the external video file's data in the published SWF file.

To import a device video by using the Import Video wizard:

  1. In Flash, select File > Import > Import Video.

    The Video Import wizard appears.

  2. Select the option to import a file on your computer and click Browse.
  3. Browse to the folder that contains the device video file and select it.

    If you don't see the desired video file listed in the Open dialog box (or if you can see it but can't select it), select All Files (*.*) from the Files of Type pop-up menu (Windows), or All Files from the Enable pop-up menu (Macintosh). This may be necessary because the Flash authoring tool cannot recognize most device video formats.

  4. Click Open.
  5. In the Import Video wizard, click Next to go to the wizard's Deployment screen.

    For Flash Lite 2.0 SWF files, the only deployment option is to bundle the device video in the SWF files.

  6. Click Finish to import the video.

    A new video symbol that's linked to the device video file appears in your document's Library panel. You can edit the video symbol's properties in the Video Properties dialog box. For more information, see Viewing and editing device video symbol properties.

To import a device video by using the Library panel:

  1. In Flash, open the Library panel (Window > Library).
  2. Open the Library options menu and choose New Video.

    The Video Properties dialog box appears.

  3. In the Video Properties dialog box, select the option to bundle the source video in the SWF file, then click Import.
  4. Browse to the folder that contains the device video file and select it.

    If you don't see the desired video file listed in the Open dialog box (or if you can see it but can't select it), select All Files (*.*) from the Files of Type pop-up menu (Windows), or All Files from the Enable pop-up menu (Macintosh). This is necessary sometimes because the Flash authoring tool doesn't recognize most device video formats.

  5. Click Open.

    In the Video Properties dialog box, select the Export for ActionScript option and enter a string in the Identifier text box to play the device video clip by using a separate video object on the Stage. For more information, see Playing a bundled video directly from the library.

  6. Click OK to close the Video Properties dialog box.

    A new video symbol appears in your document's Library panel that's associated with the device video file. You can edit the video symbol's properties in the Video Properties dialog box. For more information, see Viewing and editing device video symbol properties.


Flash CS3