User Guide
Using device video 63
You then create another placeholder video symbol and add an instance of it to the Stage. To
use the placeholder video to play the device video in the library, you pass the symbol’s
ActionScript identifier to the
Video.play() method, as the following example shows:
placeHolderVideo.play("symbol://ocean_video");
The following procedure demonstrates how to use this technique to play a single video
directly from the library.
To play a video directly from the library:
1. In Flash Professional 8, create a new document from the Flash Lite 2.0 Symbian Series 60
template, and save it as library_video.fla.
2. Import the video file named ocean.3gp located in the /samples/video/ folder.
For more information about importing device video, see “Importing device video”
on page 59.
3. Right-click (Windows) or Control-click (Macintosh) the ocean.3gp video symbol in the
library and choose Properties from the context menu. The Video Properties dialog box
appears.
4. In the Video Properties dialog box, select Export for ActionScript and type ocean_video in
the Identifier text box, as the following image shows:
5. Click OK to close the Video Properties dialog box.