Printing with AS3 PrintJob
This is some basic code to get started with printing in as3. Printing isn’t the easiest thing to do in flash and is something that hasn’t been improved upon too much throughout the years. Maybe with the next release of flash printing will become easier.
function printMe(e:MouseEvent):void
{
//a variable to hold your new print job
var my_pj:PrintJob = [...]
Right Click Context Menu
Do you need to disable the right click menu when a flash movie is running? This post is for you!
//make a variable to hold a refernce to the right click menu
var myMenu:ContextMenu = new ContextMenu();
//hide ALL the defaulty items flash has on it’s right click menu
myMenu.hideBuiltInItems();
//make a new item on the right click menu and [...]