Playback Performance Tips For Flash Movies - MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual

Table of Contents

Advertisement

Emulating the Flash Player context menu in Shockwave
You might decide that you want to allow users to access the Settings panel by right-clicking
(Windows) or Control-clicking (Macintosh) on your Flash sprite when your movie is playing in a
browser. To do this, you must first disable the context menu that is built into the Shockwave
Player. After the Shockwave context menu is disabled, you can trigger the Flash Settings panel by
right-clicking or Control-clicking.
To disable the Shockwave context menu:
Select File > Publish Settings.
1
Click the Shockwave Save Tab.
2
Deselect the Display Context Menu in Shockwave option. This sets a parameter named
3
swContextMenu
Click OK.
4
Save your movie. Your Publish Settings are saved with the movie.
5
Once you have disabled the Shockwave context menu, you can attach a
Flash sprite that tests for the
Windows, you can choose just to write an
The handler might look like the following:
on mouseUp
if the rightMouseDown or the controlDown then
sprite(1).settingsPanel(0)
end if
end
or
on rightMouseUp
sprite(1).settingsPanel(0)
end
You can also choose to use ActionScript in your Flash movie to enable the Settings panel. For
more information, see the Macromedia Flash MX documentation.

Playback performance tips for Flash movies

Performance of Flash movies can vary greatly, depending on the options in effect and the playback
environment. The following are tips for getting optimal playback performance from Flash:
If adequate for your needs, use the Low quality setting rather than High. Using Low turns off
anti-aliasing, which speeds up Flash animation rendering. A handy technique is to switch the
quality of the sprite to Low while displaying a fast-moving animation sequence (such as a
spinning logo), and then switch the quality back to High on the fly as the animation slows
down or comes to a stop. This way, performance can be improved during the part of the
sequence where it would be more difficult to perceive the improved quality anyway, without
sacrificing quality in the end result.
Experiment with different system color depths to see what provides the best performance. For
example, some graphics, such as gradients, display faster at 16 bits.
312
Chapter 11
in the Shockwave
<Object>
rightMouseDown
on rightMouseUp
and
tags to
<Embed>
property or the
controlDown
handler.
.
FALSE
handler to your
mouseUp
property. In

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX-USING DIRECTOR MX and is the answer not in the manual?

This manual is also suitable for:

Director mx

Table of Contents