Bam. Boo-yah. Bam.
Catchy title, eh? Let's finish up:
Back in Flash MX 2004, choose Reload from the Options menu in the Behaviors panel, as shown in Figure 3.
Select frame 1 of Layer 1 in the timeline. You want the code to run here so the menu becomes disabled immediately when the movie runs.
Click the Add Behavior button in the Behaviors panel again; then choose Context Menu > Hide Context Menu.
Figure 3 Reload: Like "Matrix:Reloaded" without the Matrix part.
Bam. Boo-yah. Bam. Just like that, the script you need to hide the contextual menu in your published movie appears in the Script pane. And now you can hide the menu in any movie, any time you want, without ever writing the script again. Just a couple of steps left:
Run a test movie.
Right-click in the Preview window.
Yes, there is still a menu, but it shows only the Settings option. Everything elsesuch as Zoom In, Show All, and Printis gone, gone, gone.
From here, I think the next natural step is to create a second Context Menu behavior with a dialog box that allows you to declare the list of items you want listed in a custom context menu, but I don't have time to show that to you. My 10 minutes are up.
Until next time, happy Flashing.