|
|||
|
I have created a CD ROM where buttons in the main swf movie opens pdf and ppt files from folders on the CD. I have used the following FFish script:
var myFile = FlashPlayer.getVariable("_root.myFile"); Shell.open(myFile); where _root.myFile includes the relative path to the pdf or ppt file. eg _root.myFile = powerpoint/ppt_file_to_open.ppt Everything works fine for both the ppt and pdf files on my PC (Win XP), but the ppt links fail to work on Win 2000 (PowerPoint is launched, but a message says that the filename or path is not recognised). Can anyone explain why this is so, and how I can resolve this problem??? (NB: Pack movies is unchecked) (This looks like a similar issue to the open excel file post on the Bug forum http://www.swfkit.com/cgi-bin/forum/...num=1045470016 ) ??? Many thanks, Pete |
|
|||
|
Hi pete,
It's still the problem of the base directory. We need some more days to accomplish our new version. If you are in urgent need of the solution, we will build an ActiveX object for you. |
|
|||
|
There is a downloadable PowerPoint Player that can be distributed with a CD that you may be able target on the CD itself, also solving the problem of a user possibly not having PowerPoint installed on their system. Just a suggestion.
|
|
|||
|
Thanks for the suggestion
In my case target users for the CD all have PowerPoint. Using var myFile = FlashPlayer.getVariable("_root.myFile"); Shell.open(getAppDir() + myFile); did the trick. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|