Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 3rd, 2024, 2:17 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Print from Flex publication
PostPosted: February 10th, 2005, 9:15 pm 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
Opus Pro 2.81

I would like to print a document or image from within a Flex publication. The doc/image will reside outside of the Flex publication. Is this possible, and if so, would anybody be kind enough to tell me how?

Thanks


Top
 Profile Visit website  
 
 Post subject:
PostPosted: February 14th, 2005, 2:31 pm 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
Hi,

Thank you for your enquiry.

As Opus Flex does not support the Print action, I cannot think of any easy way to achieve this.

One possible solution would be to convert your document to a PDF file and upload this to the same directory as your Flex publication. You could now add a Launch Web Page action to your publication which links to this PDF file. This will allow the PDF file to be displayed within the end-user's browser with the normal Adobe Reader toolbars allowing the user to print the document.

I initially though that it may be possible to print an external file by passing parameters to a PHP or ASP script, but I have been unable to find any examples of this and I have seen a number of posts on Macromedia Flash discussion boards which suggest that this is not possible.

Kind regards,

_________________
Robin Garrett
Digital Workshop Technical Support


Top
 Profile Visit website  
 
 Post subject:
PostPosted: February 14th, 2005, 5:11 pm 
Offline

Joined: November 5th, 2004, 1:45 pm
Posts: 92
Location: Lancashire, UK
A Macromedia Flashpaper 2 document (swf) can be imported into an Opus Flex publication (as a video object) and its print button still works. This being the case, it is surprising that Opus Flex can't offer a print button of its own. Are there any chances that it will come in the next upgrade?

Andrew


Top
 Profile  
 
 Post subject:
PostPosted: February 14th, 2005, 5:13 pm 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
andrewq wrote:
Are there any chances that it will come in the next upgrade?


I will forward this suggestion to our development team.

Kind regards,

_________________
Robin Garrett
Digital Workshop Technical Support


Top
 Profile Visit website  
 
 Post subject: You can print, but...
PostPosted: February 15th, 2005, 8:59 pm 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
You can print a static version of your page by doing the following, but anything that is dynamic about it would not show up.

Create some mechanism for launching an action. The action would be to launch a webpage. The webpage would be javascript:window.print(). The window would be _self. Then you would need to go into the HTML that contains the code for the Flash/Flex file and add the following somewhere in the HEAD section.

<link rel="alternate" media="print" href="YOURFILE.EXTENSION">

The href being the name of your document. This tells IE to print the document you specify rather than print the browser's window.

You could just leave the action as above and not specify a document to print and then you would get a PRINTSCREEN of your Flex page.

Just an FYI...


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group