MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 426

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

The
property of the radio buttons is set to a string that is appended to a base string to
data
properly form the correct URL. For example, if the user selects High Bandwidth and the base
string is cartoon, the file that is loaded is cartoon_hi.flv.
To change the base string, open the Actions panel and select Frame 1 of the Actions layer of the
Select screen. Edit the following ActionScript according to the instructions within the comments:
<<Writer: do you need to add ("") after comments? MK>>
// Replace
"test" with your own base string. Be sure
// to keep the quotes.
var video_base:String = "test"
When the user makes a selection, the code appends the base string you've set with the
string stored in the data property of the radio button, and the media playback component
loads the media.
Using the Video Presentation template (Flash Professional only)
The Video Presentation template uses slides, media components, and behaviors to create a
self-running presentation that progresses according to cues from the video playback. Video
presentations are great for self-running demos, kiosks, or presentations to audiences over the web.
At the end of the presentation, viewers have the option to play the presentation again from its
beginning.
You can customize the presentation, add your own video and content, and customize the media
playback component to broadcast events when you want.
Adding video (Flash Professional only)
The media display component on the Video slide handles the playback of the video in this
presentation. To add video to the presentation, select the component on the Stage and replace the
current value of the
the SWF file always looks for the video at that location, so relative paths are recommended rather
than hard-coded paths.
Setting cue points with the video templates (Flash Professional only)
Cue points are also set as properties of the media display component in the Parameters tab in the
Component Inspector. You add new cue points to the list using the Add (+) button above the Cue
Points list. Remove cue points with the Delete (-) button. Each cue point should be given a name
and position.
If you give your cue point names and slides the same names, your presentation automatically
navigates to the corresponding slide when a cue point is encountered.
Position is a point in time during the playback of the media file, starting from the beginning of
the file, which is 0:0:0:0 (hours: minutes: seconds: frames/milliseconds). For example, to place a
cue point 10 seconds into the file, enter 0:0:10:0.
426
Appendix A: Using Samples and Templates
property with the URL of your media. Remember that after you publish,
URL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents