Flash CS3 Documentation |
|||
| Developing Flash Lite 2.x Applications > Working with Sound, Video, and Images > Using device video > Using bundled device video > 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.
The Video Import wizard appears.
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.
For Flash Lite 2.0 SWF files, the only deployment option is to bundle the device video in the SWF files.
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.
The Video Properties dialog box appears.
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.
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.
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