PDF's from flash?
- Started
- Last post
- 24 Responses
- legspin
I'm currently trying to download a PDF from a CD Rom done in flash. On a button I have:
on (release) {
getURL("PDFdownloads/Application... "_blank");
}and it opens it up in a browser. Is there a way of opening the PDF without opening it in a browser?
Cheers
- legspin0
Anyone???
- legspin0
C'mon!!! I'm desperate with little time left.... :)
- legspin0
Yes I'm aware of sites like them but I was wondering seeing as its a forum for designers that I could get a quick answer!
- Rufcut0
nope... sorry dude. I've never come across a solution for that one. because Flash is web based it relys on using the browsers plug-in's and associated programs. Acrobat is embedded into the browser and therefore the way Flash has been written it directly references the browser even though you are calling from a CDROM.
If there is a solution I've never found it.
- ********0
dude, seriously, why not use FlashPaper: http://www.macromedia.com/softwa…
- BZZZP0
is there any way of forcing a MIME type on a local file within the OS you are using/need this to work on?
On a web server, this would be easy - you'd just forece the .pdf's mime tyo like x-application/octet-stream and go from there...
--however, keep in mind that if a .pdf opens in a browser, the user -set- it that way - so you might be better off letting them have that option... if they don't have the acro plug-in or have chosen to not view .pdfs inside the browser, it won't happen...
- unfittoprint0
i think there's a way to make the pdf an standalone executable file [much like a Flash's swf]. If so, link to the .exe and will pop up the pdf...
- unfittoprint0
altough JazX is right.
Acrobat 6.0 is one slow peace of shit.
- Rufcut0
That Flash paper things gonna be handy.
cheers JazX
- ********0
yeah I like PDF and all, but Acrobat hell it's BUGGY AS FUCKING SHIT!!! ;)
- ********0
Rufcut, that comes with Contribute 2.0 I believe. Kinda' nice right? ;)
- Mimio0
Flash Jester sells an authoring plug-in that expands the exec fs command system.
Looks cheesy, but works well.
- Rufcut0
I need to pull my finger out and get into contribute.
By the way I think the origional poster has probably pulled all his/her hair out now and is busy threatening McDonalds staff cos he/she can't get a breakfast at 11.01am
Sorry if we came in too late poster.
Ruf
- nosaj0
It is much trickier then you would think.
Because of Flash's security patches that no longer let you run .exe files outside of an FS Command folder. Here is a solution:
1) Make a folder called FScommand and put it in the same directory as your CD Rom Flash Projector. It needs to be a projector because you need to run FSCommands.
2) In the folder you need an exe file that will launch the PDF. It will then open in Acrobat if installed.
- You can get the exe and a tutorial at http://www.flashgeek.com/
There are also a couple of little pieces of software from companies like Northcode http://www.northcode.com that allow you to add this functionality to Flash projectors. (I believe by wrapping them in a VB Shell).
I know this sounds like a whole lotta work for what you want to do, but As far as working with Flash MX (Not sure about the new version). These are the only ways I have been able to get Flash projectors to launch PDF's in Acrobat.
- autonoma0
At the bottom of the Flash Paper page it says:
"FlashPaper documents can only be viewed in a web page, so you can’t email FlashPaper documents directly to others."
- ********0
that's true it has limitations
- legspin0
Thanks everyone. I must stop posting just before home time...
The thing is...the PDF's are opening up in a browser which I have had no problems with on any machine I have tested the CD Rom on. But when the client tried it on his lap top it froze his machine. How typical is that? Now he wants the PDF's to open up in Acrobat and not in a browser. Is it a problem anyone has come across? Or is it the fault of the clients machine?
I'm sick of my job, the problems are never ending...
- legspin0
*Bump*
- nosaj0
Yes - Here is a solution:
http://www.flashgeek.com/tutoria…