Opening PDF's from a Flash CD-ROM

  • zhaojany
  • Student
  • Student
  • User avatar
  • Joined: Aug 03, 2006
  • Posts: 78
  • Status: Offline

Post July 23rd, 2007, 12:20 am

PS: better you use flash8 this may not work if you use cs3
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 23rd, 2007, 12:20 am

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post July 23rd, 2007, 1:50 am

still, i would use getURL().
The path given to it can be relative or absolute.
Only it has to be placed in a onRelease statement. Flash access the default browser and if the browser have associated the pdf extension to acrobat reader, it will open it.
i.e.:
Code: [ Select ]
btnDo.onRelease = function()
{
    getURL("D:\\doc\\documentatie2\\Graphic\\PDFs\\test.pdf");
}
  1. btnDo.onRelease = function()
  2. {
  3.     getURL("D:\\doc\\documentatie2\\Graphic\\PDFs\\test.pdf");
  4. }
“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. ”
  • suss
  • Student
  • Student
  • User avatar
  • Joined: Jul 22, 2005
  • Posts: 70
  • Loc: Mainly Sweden
  • Status: Offline

Post July 24th, 2007, 12:10 pm

I'm sorry to say that this does not work for me either.
I have uploaded my fla here:

Its the link that says "Halmstad adresskalender 1907" I have been testing on

http://www.annasuss.com/fla.zip

(about 3 mb)
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post July 24th, 2007, 11:02 pm

that's what usually happens when you don't read the help.
from MX2004 help:
Quote:
The exec command can contain only the characters A-Z, a-z, 0-9, period ()., and underscore (_). The exec command runs in the subdirectory fscommand only. In other words, if you use the fscommand exec command to call an application, the application must reside in a subdirectory named fscommand.
“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. ”

Post Information

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