ActionScript 3.0 :: Open PDFs In Acrobat From A Swf?

Jun 9, 2011

I'm constructing a website in Flash that is based on a DVD I'd put together in Director a few years ago.

One of the major components is PDFs files that need to be printed out. I've spent the last couple of days trying to find a solution, but seem to keep hitting brick walls.

It seems that most solutions only work with projectors running from cds rather than swfs on websites.There's been a couple of snippetts I've tried that are based on opening the pdfs in a new browser window. Aside from the fact that none of them have worked so far, a new browser window is not the ideal solution.I've set up the pdfs so they open the Print dialogue as now as they open in Acrobat. So what I really need is a way to get them open in Acrobat from Flash using AS3 (or whatever else may be the solution).

View 0 Replies


Similar Posts:


ActionScript 3.0 :: Open Acrobat From CS4?

Jul 26, 2009

I'm creating a Intro and menu in Flash CS4 (actionScript 3, I'm new to AS, but experience with flash animation) for a CD based Product Catalog, the flash will open several different PDF's in Acrobat Reader, located on the CD.

Here is the code--

latentPrint_btn.addEventListener(MouseEvent.CLICK, launchPDF);
function launchPDF(e:MouseEvent):void
{
navigateToURL(new URLRequest("test.pdf"));
}

View 1 Replies

Open PDFs From Flash Presentation?

Mar 27, 2009

I've been tasked with making a fairly simple Flash presentation that will be published to an exe and put onto a jump drive. I've done this before and at the time I just used the getURL command (IIRC) to open a PDF with a button click. I literally have 100's of PDFs to link to so I was wondering if there is a better way to do it (before I start using my old method) I'm using AS3 in Flash CS5. And I am NOT a big Flash user so maybe I just need to resort to the way i did it last time. Was just thinking there might be a more elegant way to approach this...that a novice could handle.

View 3 Replies

ActionScript 2.0 :: Open Acrobat PDF File Using It?

Aug 2, 2002

Anyone have the experience of opening Acrobat PDF file using actionscript? If so, what actionscript you used?

View 4 Replies

Flash :: Open PDF In Acrobat From Movie?

Nov 18, 2010

I have made a flash autorun splash screen for a CD containing numerous pdf' files. When I click on the files in the flash movie however, they open in a browser window. Is there any way to make them open in acrobat by default?

View 1 Replies

Professional :: Open A PDF In Acrobat, Not A Browser?

Sep 21, 2011

I created a Flash interface that links to a bunch of PDFs. I'm currently using the "GetURL, _blank" function to open the PDFs, which opens them in a browser window. Is there a way to "tell" the PDF to open in Acrobat instead of a browser window?

View 1 Replies

Force PDFs To Open In Adobe Reader Rather Than In Plugins?

Jul 12, 2010

We have an Air and Flash application that opens a pdf, but many computers by default open pdfs in browser plugins rather than through reader itself. Is there a way to force the alternate behavior in Flash/Air? This is needed since we have slightly writable pdfs.

View 1 Replies

ActionScript 3.0 :: URLLoader - Receiving PDFs From PHP

Oct 9, 2008

I want to instruct a server-side PHP script to generate a dynamic PDF using variables I submit from Flash. I then want to download that PDF back into my Flash application. Can I use "Loader" or "URLLoader" ? If so, how do I structure my code to render the PDF within Flash when it comes back from PHP? ...or do I have to use Flash Remoting or other means to achieve my goal?

View 3 Replies

Flex :: Using PurePDF Is It Possible To View PDFs?

Jul 24, 2011

Can you use PurePDF to view files or is the api only for writing them?

View 3 Replies

Flex :: Merge Pdfs(Alive PDF) In Flex3?

Apr 12, 2011

My flex application generates individual pdf documents based on individual selection criterion,but i need to merge those generated pdfs or is it possible to store individual pdfs temporarily then merge those into single pdf?

View 2 Replies

ActionScript 2.0 :: Flash 8 To Create Pdfs Or Jpgs On The Fly?

Jan 23, 2006

I have a dressup game or something simillar. is it possible to have flash save what i've done in the game to a jpg or pdf? (i'd rather have a pdf)

View 7 Replies

Actionscript 3 :: PDF Not Opening In Acrobat (Flash)?

Jan 27, 2012

I'm working on a Catalog for a company I'm employed with, but I'm having issues with the PDF files opening in a browser rather than Acrobat or Reader.The PDF files are all going to be on a CD, that once inserted launches a Flash .exe file which has a button for the end user to click and view the PDF. Now for Actionscript the code to open a PDF file is the same as opening a web page:

view_btn.addEventListener(MouseEvent.C... fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
{

[code].....

View 1 Replies

ActionScript 2.0 :: Fs Command For Acrobat Launch

Sep 16, 2003

I have a button on my stage. On press I want it to open a pdf document. I dont want it to open it in the browser window. It has to launch acrobat only.

View 1 Replies

ActionScript 2.0 :: Acrobat File Opening (mx)?

Dec 31, 2003

I have tried to open the file using the url script and it works. But I would liek to use the following but it doesn't work. I am on a Mac not sure whether this will work I have done what it says in thr instructions below.

on(release){
fscommand("Exec","filename.bat");
}

Then open notepad and type in the following START filename.pdf Then go to save as and type in a file name then .bat

N.B make sure the file that the flash button is opening it is the same name as your .bat file. They both have to be in the same directory.

View 2 Replies

Flash :: Compatibility Of CS4 With Photoshop/Acrobat/Illustrator CS2?

Sep 26, 2009

I happily use the CS2 suite.  I would like to buy and use Flash CS4 (unless CS2 is still available).  Will I have compatibility problems?

View 1 Replies

ActionScript 3.0 :: Flash In PDF Is Disabling Acrobat Shortcuts?

Mar 13, 2012

I've included some simple shockwave animations in a pdf to be viewed onscreen.
The flash content seems to be disabling the arrow key (or any keyboard shortcuts for that matter) page advance in acrobat.
 
Someone in the Acrobat forum mentioned adding "stage.focus = null" but I don't seem to be having any luck with it.
 
The code I have in my first frame looks like this...
 
stop();
playButton.addEventListener(MouseEvent.CLICK, startMove);
function startMove(e:MouseEvent):void {

[Code]....

View 3 Replies

Actionscript 3 :: Load PDFs Dynamically And Store Each Page Of The PDF Into Flash

Jan 4, 2011

In my application I need to load PDFs dynamically and store each page of the PDF. Currently what I'm doing is converting each page to an image using some php code and then importing each image to flash, but I was wondering if there is a better way. Or is converting to images then importing to flash the best option?

View 2 Replies

ActionScript 3.0 :: Multiple Instances Of Single External SWF - Loading PDFs

Nov 13, 2008

I'm trying to make a custom PDF viewer in flash. Currently I've found a freeware server side script that will convert the PDF into a single Flash AS3 SWF file with each page from the PDF on a new frame. Loading this is no problem. I can navigate through the pages with a simple gotoAndStop(frame); call.

Here's my problem: I want to display more then one page at a time. I want to be able to scroll through the pages and see one page going off the top of the screen while the next is coming up from below. So, how can I put multiple instances of this SWF on the stage? Do I have to load it with a loader and URLRequest multiple times? or can I make copies of the one I've already got somehow?

I still have to load PDF in flash, but if I could find a better way to create an SWF out of the PDF. I'm currently using pdf2swf and it's great and all. Maybe there is some functionality to that program that I'm missing. Some other way to organize the PDF pages in the SWF.

View 8 Replies

ActionScript 3.0 :: Buttons To Call PDFs Of Menus - Error With URLRequest

Sep 9, 2010

Basically im building a site and using buttons to call up PDFs of menus. Found some code and adapted it to suit, but am getting some errors:
desc: 1137: Incorrect number of arguments. Expected no more than 1.

import flash.net.URLLoader;
cafe_btn.addEventListener(MouseEvent.MOUSE_DOWN, buttonclicka);
function buttonclicka(event:MouseEvent):void {
var homeLink:URLRequest=new URLRequest("menus/cafe.pdf","_blank");
navigateToURL(homeLink);
[Code] .....

View 2 Replies

Flash - Opening PDF Document With Adobe Acrobat Reader?

Jun 7, 2011

I want to open up a pdf-document (included within the *.air-package) with adobe acrobat (or any other pdf-reader). I've followed this solution openWithDefaultApplication fails on files in application folder.

var _myfilename = "John_Doe-tax_return_2011.pdf";
// = my filename
//run:
var realFile:File = File.applicationDirectory.resolvePath(_myfilename);
var tempFile:File = File.createTempFile();
realFile.copyTo(tempFile,true);
tempFile.openWithDefaultApplication(); //nothing happens ?
//end;

I've tested it all, so it's not a directory issue
trace(tempFile.extension)
// > tmp (?? tempFile.extension = "pdf" doesn't works)
trace(realFile.exists)
// > true (original pdf-document exists!)

View 1 Replies

ActionScript 2.0 :: Importing Adobe Acrobat Files Into Flash?

Feb 4, 2008

Been planning on making a reader that can read in acrobat files but wasn't sure if it's possible.

If it is possible, could anyone give me a bit of advice on how to import the file

View 1 Replies

Actionscript :: Flash FTE - Creating PDFs Out Of Rendered Output, And Selectable Text In PDF?

Feb 12, 2011

I wrote a huge post first but thought I shouldn't drop a wall of text here. Here's a summary of a problem that I'm hoping you all can provide some insight in:I have a web app for a client which uses Flash text engine api (not TLF) to layout some text in a report.The text requirements are specific so we like using FTE for typography.Now that the text is looking perfect to the client, how do I make what I'm seeing on screen into a pdf that looks identical?Tried purepdf or alivepdf sprite->bitmap->pdf approach... terrible results - we need resolution independenceLooked at purepdf api - doesn't seem to be a way of converting the final sprite output directly to the pdf.... seems like it'll require me to use their own API for typesetting / layout... which defeats the purpose of using FTE to do this (we'd lose kerning / ligatures etc that way?)Finally using the flash -> print -> using postscript driver like pdfconverter or cutepdf -> pdf ........ this is great because the pdf looks exactly like display and is vector-output (res-independent), BUTUsing FTE, the pdf created this way doesn't have selectable text in pdf! flash TextFields -> pdf do retain selectability. Basically pdfconverter doesn't embed the fonts in the pdf when FTE is used... it DOES embed the fonts in a pdf made the same way with same fonts in MS Word or something

View 1 Replies

ActionScript 3.0 :: Flash FTE - Creating PDFs From Rendered Output And Selectable Text In PDF?

Feb 12, 2011

- I have a web app for a client which uses Flash text engine api (not TLF) to layout some text in a report. The text requirements are specific so we like using FTE for typography. Now that the text is looking perfect to the client, how do I make what I'm seeing on screen into a pdf that looks identical?

- Tried purepdf or alivepdf sprite->bitmap->pdf approach... terrible results - we need resolution independence Looked at purepdf api - doesn't seem to be a way of converting the final sprite output directly to the pdf.... seems like it'll require me to use their own API for typesetting / layout... which defeats the purpose of using FTE to do this (we'd lose kerning / ligatures etc that way?) Finally using the flash -> print -> using postscript driver like pdfconverter or cutepdf -> pdf ........ this is great because the pdf looks exactly like display and is vector-output (res-independent), BUT Using FTE, the pdf created this way doesn't have selectable text in pdf! flash TextFields -> pdf do retain selectability. Basically pdfconverter doesn't embed the fonts in the pdf when FTE is used... it DOES embed the fonts in a pdf made the same way with same fonts in MS Word or something

1- How do I get the text to be selectable in the PDF created from FTE > postscript method

2- (If not that) - How can I create a PDF from flash where the PDF is identical to what I'm seeing on screen - basically doing a direct final-rendered-Sprite to PDF .... if there's a way to make that PDF manually, then maybe I can embed the fonts manually...

Some context:

- How we're using fonts - they're SWF's created from teh fonts using [embed] and embedAsCFF=true for use in FTE

- I thought of using FTE only for typesetting / layout - and when we get the TextLines, using the good old flash...TextField (which does become selectable in final pdf) .... but I cant do that because some of our textlines have several variations of font styles and inline (GraphicElement) images on the same line.... I think its impossible to detect all of those variation can create the appropriate number of textfields?

View 1 Replies

ActionScript 3.0 :: Display Pdf File Inside Of Flash Player With Acrobat

Nov 18, 2010

Anybody can tell me how to display pdf file inside of the flash player with acrobat?I got this same option in AS2.0. But now i required in AS3.0. Using flash paper i've tried this option in AS2.0. But flash paper is not upgraded after AS3.0 release so its not supporting in AS3.0.

View 3 Replies

ActionScript 3.0 :: Display Pdf File Inside Of Flash Player Without Acrobat?

Nov 18, 2010

Anybody can tell me how to display pdf file inside of the flash player with acrobat?I got this same option in AS2.0. But now i required in AS3.0. Using flash paper i've tried this option in AS2.0. But flash paper is not upgraded after AS3.0 release so its not supporting in AS3.0.

View 1 Replies

IDE :: Unable Link To Files Such As PDFs, JPGs And WMVs Giving The User The Ability?

May 4, 2009

Do you still have to use Flash wrappers like Zinc to be able to save files from a CD using a Flash projector. In the same way you would use Filereference.save?

I've got a DVD style project where I need to be able link to files such as PDFs, JPGs and WMVs giving the user the ability to save these to their local drive.

View 1 Replies

Actionscript 3 :: Flex - I Resize The Entire Flex App Just Like Acrobat Connect?

Jun 26, 2010

ive been pondering how to create the same type of resizing that acrobat connect does. i did read the documentation of percentage sizing. and i have implemented it. but its not how i want it to look. to see an example: [URL] sorry Jeffrey to use you as an example. :) just try to resize your window and see it... thats what im looking for.

View 2 Replies

ActionScript 3.0 :: Open And Seem To Open When The Mouse Moves Out Of The Movies Clip?

Aug 3, 2009

So I tried to code something in AS3, it works technically, but not so smoothly. Try opening the three graudge doors here: [URL]..
 
They don't relly want to open and seem to open when the mouse moves out of the movies clip which is not how it's programmed:

[Code]...

View 7 Replies

ActionScript 2.0 :: Open Windows Open Dialog Box Through Flash?

Mar 2, 2005

My query is how would I open windows open or save as dialog box through flash?

View 2 Replies

ActionScript 3.0 :: Open The Windows Browser Before Open The .swf

Jun 6, 2010

I need to made a Browser windows before that i open the Flash movie, like this one: [URL] So i need somme kind of pop up to run when somme one opens the site, and then see the movie.

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved