Adobe Dreamweaver Forums



Last 10 THreads :         Re: 2.1 GB TIF size limit (Last Post : Buko - Replies : 0 - Views : 1 )           »          Re: Colour differences on the web (Last Post : Ann_Shelbourne@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: sRGB vs. Adobe (1998) RGB (Last Post : pfigen@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: SFW and date created (Last Post : Ann_Shelbourne@adobeforums.com - Replies : 0 - Views : 1 )           »          help me with adjustments layers in CS4 (Last Post : Ramón_G_Castañeda@adobeforums.com - Replies : 1 - Views : 2 )           »          Snippet Pod Problems (Last Post : Pat@ffic - Replies : 4 - Views : 5 )           »          bad luck (Last Post : newwaveboats - Replies : 0 - Views : 1 )           »          Cannot setup audio with Captivate 2 (Last Post : c..k - Replies : 0 - Views : 1 )           »          Re: Urgent: Can Only Record in Demonstration Mode (Last Post : halyna - Replies : 0 - Views : 1 )           »          Change custom Vector class to new Vector class in player10 (Last Post : VarioPegged - Replies : 1 - Views : 2 )           »         


User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-20-2008, 01:35 AM
nihao_paul
 
Posts: n/a
Diggs:
Default Print multiple pages

Hi,

I've copied the Adobe sample "public class PrintMultiplePages extends
MovieClip", it prints 2 pages with a rectangle of the page dimensions in the
'default' application colour on both pages and nothing else.

If I comment out the 'sheet.graphics' stuff it just prints two blank pages.

Any help appreciated.

Paul



<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

<mx:Script>
<![CDATA[
import nihao.PrintMultiplePages;

private function doPrint():void
{
var p:PrintMultiplePages = new PrintMultiplePages();
}
]]>
</mx:Script>

<mx:Panel x="191" y="88" width="250" height="200" layout="absolute">
<mx:Button x="155" y="128" label="print" click="doPrint()"/>
</mx:Panel>

</mx:Application>



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-21-2008, 11:54 AM
SujitG
 
Posts: n/a
Diggs:
Default Re: Print multiple pages

Hi,

Can you please give URL to the sample you are referring to.
Reply With Quote
  #3 (permalink)  
Old 11-22-2008, 03:04 AM
nihao_paul
 
Posts: n/a
Diggs:
Default Re: Print multiple pages

Hi,

The URL is:-

http://livedocs.adobe.com/flex/3/htm...rinting_6.html

Thanks,

Paul


Reply With Quote


  #4 (permalink)  
Old 11-24-2008, 07:15 AM
SujitG
 
Posts: n/a
Diggs:
Default Re: Print multiple pages

Hi,

This is working for me . Can you please check if something else is missing.
You should be seeing two pages with a text on the top and the first page will
have white color image. Second page will just have text.

Please try cleaning your project.

Hope this helps.

Reply With Quote
  #5 (permalink)  
Old 11-25-2008, 12:54 AM
nihao_paul
 
Posts: n/a
Diggs:
Default Re: Print multiple pages

Hi,

I've gone back to the url and copied and pasted the code in again just to be
sure. But it's still not working. I get 2 pages with the printable area in a
dark green colour much like the application default colour. There's nothing
else, no text and no small rectangle.

Have I missed initialising something? A button click calls doPrint()

Thanks,

Paul




<mx:Script>
<![CDATA[
import PrintMultiplePages;

private function doPrint():void
{
var p:PrintMultiplePages = new PrintMultiplePages();
}
]]>
</mx:Script>

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 11:34 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.
Inactive Reminders By Mished.co.uk