MACROMEDIA FLASH 8-DEVELOPING FLASH LITE 2.X Develop Manual page 63

Developing flash lite 2.x applications
Hide thumbs Also See for FLASH 8-DEVELOPING FLASH LITE 2.X:
Table of Contents

Advertisement

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
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
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.
method, as the following example shows:
Video.play()
"Importing device video"
Using device video
63

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-DEVELOPING FLASH LITE 2.X and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents