PDA

View Full Version : Windowless Projector and problems opening other files


CrystalEyes1582
01-07-2005, 01:48 PM
I am currently creating a projector file that will be used as an interface to access a number of documents for the user to reference. Some files are pdf's, and I'm trying to keep others at word documents if at all possible.

I have tried:

filename = "test.pdf";
fscommand ("exec","start\t" + filename);
fscommand ("exec","cmd\t/c\t" + filename);

with the file inside a folder named fscommand, as well as inside the root directory. But it just does not want to work.

I'm also trying to make the end projector file windowless so all that is seen is the interface that I have created.

Is there any way to do either of these two things without having to purchase any more software? I would appreciate any suggestions, and do not mind if the process is a bit challenging.

Thanks,
CrystalEyes

CyanBlue
01-07-2005, 02:51 PM
Howdy and Welcome... :)

Flash MX(and above) cannot pass another argument as you have... Your only option is using the third party projector tools such as Flash Studio Pro or SWF Studio...

CrystalEyes1582
01-07-2005, 02:56 PM
I don't understand why using third party software is my only option. The way I see it is that it's just creating the actionscript for me, why is it that I can't just insert it in myself?

CyanBlue
01-07-2005, 02:58 PM
Uh... That's because Macromedia blocked it for security reason...
I don't know if there is any other way to get around it or not...

MtLebo
01-07-2005, 08:13 PM
Hi CrystalEyes1582,

First create a directory called: fscommand in the root of where your FLA and EXE will be

Dump your pdf's in there.

You will need to create a .bat file to take advantage of the fscommand

In your bat file (which is to be saved in the "fscommand" directory)

type this in your text editor/notepad:

@echo off
start test.pdf <------ NO QUOTES

save as "test.bat"

in Flash on your button action

fscommand ("exec","test.bat");


good luck
MtLebo


PS: haven't figured out the borderless windows yet




I am currently creating a projector file that will be used as an interface to access a number of documents for the user to reference. Some files are pdf's, and I'm trying to keep others at word documents if at all possible.

I have tried:

filename = "test.pdf";
fscommand ("exec","start\t" + filename);
fscommand ("exec","cmd\t/c\t" + filename);

with the file inside a folder named fscommand, as well as inside the root directory. But it just does not want to work.

I'm also trying to make the end projector file windowless so all that is seen is the interface that I have created.

Is there any way to do either of these two things without having to purchase any more software? I would appreciate any suggestions, and do not mind if the process is a bit challenging.

Thanks,
CrystalEyes

FlashJester
01-07-2005, 08:22 PM
For borderless windows you can use

Jugglor

http://www.jugglor.com

CrystalEyes1582
01-12-2005, 12:02 PM
My only issues with using the .bat file to open my individual file is that:

It opens the command prompt first which doesn't make it look very clean and professional
Because I have a number of different files to open, I have to create a batch file for each file which doubles my numbers and ends up using space that I may need on the resulting CDs


I'm open to any other suggestions that may assist with the overall look and feel of my presentation.

~*CrystalEyes*~

CyanBlue
01-12-2005, 03:37 PM
What FlashJester said should take care of your problem... :)

FlashJester
01-12-2005, 08:05 PM
JStart

http://jstart.flashjester.com

will take care of this problem.

;)