Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
roninDLC #1
Print contents of a datagrid
Is there a way to push a print button to print the just the contents of a
datagrid. I have the actionscript for the button, but it seems to print the
entire form instead of the datagrid only.
The code is taken from livedocs if it looks familiar. :)
Thanks Ronin
on(click) {
var my_pj = new PrintJob();
var myResult = my_pj.start();
if(myResult){
myResult = my_pj.addPage (0, {xMin : 0, xMax: 400, yMin: 0, yMax: 400});
myResult = my_pj.addPage ("serverEventsDataGrid", {xMin : 0, xMax: 400,
yMin: 400, yMax: 800},{printAsBitmap:true}, 1);
myResult = my_pj.addPage (1, null,{printAsBitmap:false}, 2);
myResult = my_pj.addPage (0);
my_pj.send();
}
delete my_pj;
}
roninDLC Guest
-
Can we print out the contents of a library?
I have a large object library I use when paginating our newspaper. I need to hand off the paginating duties from time to time to a co-worker, and I'd... -
Print contents of DataGrid
Hi, I want to print the contents of datagrid. I tried using printJob but it only prints what is displayed on the page. How can I print the whole... -
Print contents of a textArea Component
I'm working on a project where I have text loaded dynamically into a textArea component. The textArea component has a scroll bar due to amount of... -
Is there a way to print out the contents of a variable in hum an readable format?
Definitely check out Data::Dumper; -----Original Message----- From: Dan Anderson Sent: Wednesday, October 01, 2003 9:55 PM To: Tim Johnson... -
Is there a way to print out the contents of a variable in hum an readable format?
Could you give an example of what you mean? I don't use PHP, but I can think of about three functions that MIGHT be what you're looking for. ...



Reply With Quote

