If you are just trying to run a Flash application and get it to read
parameters from a file, you can use the projector that comes with flash
and have it read an XML file or a text file from the CD or hard disk or
a server.
Sometimes we have a small text file that tells our projector application
what the client name is and where to find the top level XML files that
contains the index into the rest of the XML files that contains the rest
of the data. This helps to get the application to startup quickly
without making the user wait for all of the data to load.
We have built an eLearning delivery system and a stand-alone
database/search engine with just the projector that comes with Flash.
You can use a .bat file to write into the text file and then start your
application if you want to use shortcuts to select what the text file says.
echo "exercise1.xml" >startup.bat
myflashapp.exe
myflashapp.exe is your projector file and it reads startup.bat.
Ron
Alain Rousseau wrote:
You cannot send parameters from fscommand to the bat file. Allready tried
once to no avail. It is a security feature If I remember right my readings
on the subject. Zinc would be a better option than fscommand. Or if you want
to avoid Zinc, use fscommand to call a bat file that has all the parameters
inside it. Usually you can just open de needed file with the bat file, and
the System will find the proper app to open it if it's defined in the
Registry.
HTH
Alain
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shang
Sent: 30 janvier 2007 09:55
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Launch an application from CDROM based projector
why not you try it in DOS commands first. You need to check what kind of
parameters the application supports . If the application does support a
parameter like "-o filename", then you can write a bat file and use
fscommand to call it.
On 1/30/07, Paul Steven <[EMAIL PROTECTED]> wrote:
I am creating an application using Flash 8 (PC only) and need to
launch an application that is installed on the users hard drive.
I think this can be fairly easily achieved using a third party app
such as Zinc.
However I need to do a bit more than just launch the application. I
also need to get this application to go to a certain exercise.
Basically this application consists of a series of exercises.
I was hoping I could simply pass a parameter to the executable but as
I do not know if this is at all possible or indeed what that parameter
would be, I think this may not be possible to do?
Anyone know if this is possible and how to go about it?
Many thanks
Paul
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com