Adobe Dreamweaver Forums



Last 10 THreads :         SWF slide show does not play (Last Post : hammerkp - Replies : 2 - Views : 3 )           »          Basing new project on old project (Last Post : Stephen Windham - Replies : 2 - Views : 3 )           »          Performing a search within multiple .as files (Last Post : JohnnyDang - Replies : 0 - Views : 1 )           »          Conditional loop (Last Post : BKBK - Replies : 1 - Views : 2 )           »          change of state (Last Post : Mainmanian - Replies : 2 - Views : 3 )           »          Performing a search within multiple .as files (Last Post : JohnnyDang - Replies : 0 - Views : 1 )           »          Please point me to the correct topic section of thisForum (Last Post : GillyWilly - Replies : 4 - Views : 5 )           »          Writing a Dreamweaver Extension, where to start? (Last Post : ryodoan - Replies : 0 - Views : 1 )           »          pop up blocker jacking my login (Last Post : JoeyD1978 - Replies : 1 - Views : 2 )           »          Can't upload selected pdf's to remote server (Last Post : DontTazeMeBro - Replies : 5 - Views : 6 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags: ,



Reply
  #1 (permalink)  
Old 07-31-2008, 05:05 PM
PujaSGulati
 
Posts: n/a
Diggs:
Default Printing in Flex3

I want to print a page which has everything a text component,labels
,datagrid,advanced datagrid.
How can i do it.?? I have an idea of printing the datagrid and advanced
datagrid .But one page having all items No idea???

Can somebody help??



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-02-2008, 04:55 PM
mab_bond
 
Posts: n/a
Diggs:
Default Re: Printing in Flex3

This is the code that you need to print something in flex.
<mx:Script>
<![CDATA[
import mx.printing.FlexPrintJob;
private function print():void {
// create print job
var printJob:FlexPrintJob = new FlexPrintJob();
if(printJob.start()){
// add page
printJob.addObject(myLabel,"none");
// send to printer
printJob.send();
}
}
]]>
</mx:Script>
where mylabel is a control you could add any display object that you want.

Reply With Quote
  #3 (permalink)  
Old 08-26-2008, 10:59 PM
SWT62
 
Posts: n/a
Diggs:
Default Re: Printing in Flex3

Demo and source code of how to print reports in Flex and AIR

http://thorntononflex.blogspot.com/

Enjoy...
Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 07:21 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk