all groups > flash actionscript > june 2004 >
You're in the

flash actionscript

group:

Fscommand "exec", open more than one pdf


Fscommand "exec", open more than one pdf Paul NO[at]SPAM Magma
6/13/2004 8:08:09 PM
flash actionscript:
Hi
I have a piece of recommended code from 'flashjester', can anyone tell me
how to use it?:

function openDoc(docName){

fscommand ("exec", "JSTART" add mbchr (9) add "Reader\AcroRd32.exe" add
mbchr (9) add docName add mbchr (9) add "/error=error" );

}


I bought 'JSTART' from 'FlashJester' to open pdf's from a flash projector
CD ROM. It only opens one file though - I need it to open any number of
files. The code above is their solution, but it doesn't tell me what to do
with it; does it go in a button? I'm not a complete actionscript ignoramus,
but my working knowledge is pretty basic and anytheing with the word
'dynamic' just makes me want to take a coffee break!

Jstart works by making a mini programme called 'JSTART.EXE' which you put in
your 'fscommand' folder along with your pdf. You then call it with a simple
'exec' command in your button.

Thanks for your help
Re: Fscommand "exec", open more than one pdf FlashJester Support Team
6/14/2004 10:24:15 AM
Hi Paul,

If you are not to familar with actionscript then use simple method.

You have to create mulitiple *.exe's and *.ini file for each file you want
to create.

so

jstart1.exe
jstart1.ini

jstart2.exe
jstart2.ini

jstart3.exe
jstart3.ini

jstart4.exe
jstart4.ini

Which will open 4 files for you depending on what is written in the *.ini
file.

See

C:\Program Files\FlashJester\JTools\Examples\JStart_MX_Example1

It has an example of this.

Now if you would like just one copy of JStart.exe then use Jugglor with
JStart.

See

http://www.flashjester.com/index.html?section=faq&cPath=14_26#102

you will need to use the LOCAL& command.

Hope this helps.

Email us directly for further help.


--
Regards
FlashJester Support Team
e. - support@flashjester.com
w. - http:///www.flashjester.com

"Knowledge is the foundation of all creation, without knowledge creation
does not exist"

AddThis Social Bookmark Button