Opening PDF's from a Flash CD-ROM

  • elBurroDiablo
  • Novice
  • Novice
  • User avatar
  • Joined: Jun 17, 2005
  • Posts: 16
  • Status: Offline

Post November 16th, 2005, 2:40 pm

Hello. I'm having a minor problem here that seems that it would be an easy fix, but I am having a tough time finding the solution.

I have a developed a couple Flash-based CD-Roms now, both of which had a directory that contained several PDF's for the viewer to open directly through the Flash presentation.

I have the PDF's opening with no problems, but when testing on a Windows PC, the PDF's open BEHIND the Flash presentation (Flash Projector to be specific). The problem is the fact that the viewer would not even notice that a new file just opened, unless they were smart enough to either check behind or close the Flash window (I'm sure that most of you know that most viewers AREN'T smart!).

Anyway, does anyone have any suggestions??? Much appreciation...
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 16th, 2005, 2:40 pm

  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Joined: Jun 26, 2003
  • Posts: 1402
  • Loc: Philadelphia, PA
  • Status: Offline

Post November 16th, 2005, 3:19 pm

No idea, never heard of this problem. The window should open up in front of the projector. *scratches head*
  • elBurroDiablo
  • Novice
  • Novice
  • User avatar
  • Joined: Jun 17, 2005
  • Posts: 16
  • Status: Offline

Post November 17th, 2005, 7:40 am

OK...what's really strange is that its only happening on some of the PCs. I am now assuming that it's a preference withing Adobe Acrobat.
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post November 18th, 2005, 2:15 am

what command you use to open the pdf files?
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Joined: Jun 26, 2003
  • Posts: 1402
  • Loc: Philadelphia, PA
  • Status: Offline

Post November 18th, 2005, 4:15 am

I believe the only option is a getURL(). An 'exec' fscommand is for launching programs, not opening filetypes already related to a program.
  • suss
  • Student
  • Student
  • User avatar
  • Joined: Jul 22, 2005
  • Posts: 70
  • Loc: Mainly Sweden
  • Status: Offline

Post July 19th, 2007, 4:48 am

I am wondering how to open a pdf through flash
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post July 20th, 2007, 1:42 pm

http://brianalexander.com/2006/01/how-t ... jector.htm

http://www.helmutgranda.com/2004/01/06/ ... rom-flash/

Hope that helps.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • suss
  • Student
  • Student
  • User avatar
  • Joined: Jul 22, 2005
  • Posts: 70
  • Loc: Mainly Sweden
  • Status: Offline

Post July 21st, 2007, 1:35 am

the one for mac was good but the second one is obsolete as the files are on a cd , I stated that but it must have goten cut somehow.

its a mainly pc cd that will have to open different kinds of pdfs....
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post July 21st, 2007, 3:43 pm

The guy on this forum figured out the solution.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • suss
  • Student
  • Student
  • User avatar
  • Joined: Jul 22, 2005
  • Posts: 70
  • Loc: Mainly Sweden
  • Status: Offline

Post July 22nd, 2007, 8:15 am

that doesnt work here erither =/
is there a flash version clash perhaps? I have player 7. .. and flash MX..

I downloaded proxy and tested their test, then re-did it a bit to make it fit in with what was said in the fla and it still did not work. I click the button and nothing happens.

I need to get this sorted...
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post July 22nd, 2007, 7:15 pm

This article looks like it will work.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • suss
  • Student
  • Student
  • User avatar
  • Joined: Jul 22, 2005
  • Posts: 70
  • Loc: Mainly Sweden
  • Status: Offline

Post July 22nd, 2007, 10:33 pm

It probably would if I had director... but also he stated he's been opening pdfs without trouble before, but now when he needed to open a bunch of different he changed tactics.. all mine are pdfs so I dont understand why I am having so much trouble..
  • zhaojany
  • Student
  • Student
  • User avatar
  • Joined: Aug 03, 2006
  • Posts: 78
  • Status: Offline

Post July 22nd, 2007, 10:52 pm

use “fscommand" and a "bat" file
  • suss
  • Student
  • Student
  • User avatar
  • Joined: Jul 22, 2005
  • Posts: 70
  • Loc: Mainly Sweden
  • Status: Offline

Post July 22nd, 2007, 11:15 pm

could you possible be a little bit more elaborate? and also isnt that what they did in the first "this" link?
  • zhaojany
  • Student
  • Student
  • User avatar
  • Joined: Aug 03, 2006
  • Posts: 78
  • Status: Offline

Post July 23rd, 2007, 12:16 am

like that first link of ""this"

first you got a button in you fla file

then give your button this
on(release){
fscommand("exec","openPdf.bat")
}

after that creat a file at the same place where your fla file located and name it as "fscommand"

as all that done you can write your bat file use your notepad
like this:

echo off
start yourPdf.pdf
exit

and name your bat file the same name as you write in your fla file "openPdf.bat" ,put it in your fscommand file

then publish your flash as an exe file then test it
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 23rd, 2007, 12:16 am

Post Information

  • Total Posts in this topic: 19 posts
  • Users browsing this forum: No registered users and 37 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
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.