Customizing the Flash Player context menu

In this sample, you can see how to add your own custom options to the Flash Player context menu using ActionScript 2.0. This sample uses ActionScript to modify the context menu by adding cut, copy, and paste functionality that can be applied to the drawing objects on the Stage. The source includes the document file (.fla) and the ActionScript file (.as) that defines the ClipBoard class. Explore both the files to learn more about the context menu and writing classes with ActionScript 2.0.

Click here to view this sample in a browser window.