What are some of the best ways to print flex components in FireFox3?
private function initPrint():void {
//if we don"t have a stage, wait until the next frame and try again
if ( stage == null ) {
callLater(initPrint);
return;
}
PrintManager.init(stage);
var data:BitmapData = new BitmapData(stage.stageWidth, stage.stageHeight);
data.draw(myDataGrid);
PrintManager.setPrintableContent(data);
}
Tags: apache-flex firefox actionscript-3
Source: By Keith as answer to the question
This code snippet was collected from stackoverflow, and is licensed under CC BY-SA 3.0
Related code-snippets:
- How do I unload byteArray with ActionScript3?
- SQLStatement.execute() - multiple queries in one statement.
- How do you get the current logged in user in Adobe air from a desktop app?
- Is there any way to test flex application with a build script?
- How can you use a SQLite database at the same time?
- Actionscript 3 - Fastest way to parse yyyy-mm-dd hh:mm:ss to a Date object?
- Adobe Flex component events are created by elements of Adobe Flex events.
- Can I turn a string of HTML into a DOM object in Firefox?
- How do I use http authentication in Firefox?
- Open local file with AIR Flex.
- How can I delete multiple describetype entries in my database?
- How do you make a background flash video without pixel rendering?
- How do I add non-dynamic actionscript 3 classes without inheriting the classes?
- How do I accept a drag in Flex?
- How do I replace A node in E4X (AS3 - Flex)?