if it is for your own system and you are ready for an standalone application ..it can be done.
And if you want it throgh the web with server and client system ...it can be done but for $1000
so whats the deal about ????
Have a CD, with my flash .exe projector application on it together with an avi movie and another non-flash application installer (in the form of an .exe file).
When the CD is put into the computer, it autoruns and the flash application opens. One of the many options within the flash application includes installing a program (in this case the non-flash app installer on the CD) and playing the avi movie in a media player.
Everything i have described, i have achieved... except getting the avi file to play in a media player. i want to choose the file to play (from the CD) and the player to play it in (which is located on the users PC and not on the CD [assuming i know the directory of the player])
i hope i made it clear as possible - attached is a bit of a visual representation to make it even clearer.
No sure, but what you want is reading a folder contents through flash? If that's the case, it can't be done.
You can force reading a text file from another folder, and then tell the flash to execute 'a program' for the avi file, but in no way you are allowed to chose a program to use to view your avi file.
Unless you know how to code the 'open with ..' system prompt from a FSCommand from flash .. that is.
OK, What did I do? I have an input textField with var "myurl", where I write the url of a avi file (for example D:/mymovies/some.avi). And I have a button with a code in it:
on(release){
getURL(myurl);
}
Everything is working.
what is authorware? what, how big, difficulty to use etc.
**********
the program the user installs first off the cd IS the program they will play the file off
**********
i dont want to embedd into the flash because it is too big (in some cases 500 - 700mb)
**********
"Unless you know how to code the 'open with ..' system prompt from a FSCommand from flash .. that is." - tell me more!!!
**********
for my trial project im using divx pro 5 as the program and a movie as the file. later it will get more complex than that, but for now... divx movie and software on a cd will teach me heaps.
**********
sergwiz
tell me more!!!
"I have an input textField with var "myurl", where I write the url of a avi file (for example D:/mymovies/some.avi). And I have a button with a code in it:
on(release){
getURL(myurl);
}"
what is VAR ... variable? (u guys know that im a NEWBIE in flash dont au?)
text field? on the application? what does the user type in?
does the file open in my selected .exe?
**************************
once someone mentioned that you can make a .bat (ms batch) file out of flash which is like an exe... like when u open it, it chooses the file and opens it in a program of your choice. so its like an .exe which leads to an exe, but opens the file in the exe at the same time - if you guys get what i mean.
what is authorware? what, how big, difficulty to use etc.
**********
the program the user installs first off the cd IS the program they will play the file off
**********
i dont want to embedd into the flash because it is too big (in some cases 500 - 700mb)
**********
"Unless you know how to code the 'open with ..' system prompt from a FSCommand from flash .. that is." - tell me more!!!
**********
for my trial project im using divx pro 5 as the program and a movie as the file. later it will get more complex than that, but for now... divx movie and software on a cd will teach me heaps.
**********
sergwiz
tell me more!!!
"I have an input textField with var "myurl", where I write the url of a avi file (for example D:/mymovies/some.avi). And I have a button with a code in it:
on(release){
getURL(myurl);
}"
I hope you will understand my poor English.
1. I think that the idea with bat file is not good idea. First of all, because it's possible to create bat file only with Flash5. You cannot create bat with MX. Secondly – some OS does not execute bat files.
2. From Flash (exe or swf) you cannot run exe file located it other then "fscommand" folder. Thus you cannot to open the apps installed on PC.
3. When I told you how I solved this problem, I meant that every file (registered type) is getting open with appropriate application. So I need just to point out which file (avi) I want to open. And computer itself knows what an application is needed for opening this file. I this case (I mean avi files) - the application is mplayer.exe (in my system).
Resume:
Either you should do as I told you or forget it. Money for that I've saved your time you can send to me.