Groups | Blog | Home
all groups > flash (macromedia) > february 2004 >

flash (macromedia) : CD-ROMs from Flash?


notFrances
2/25/2004 11:51:14 PM
I am putting together a CD-ROM in Flash MX, and the navigation is based around
loadMovie (there's probably 15 different .swf files). I have an main index
file that loads all the other .swf's, which are all in the same folder. Is
there a way to export the movie so that the files would run directly from a CD
and I wouldn't have to load them through a browser? Is there a different export
setting? Thanks for the help!
Aleks
2/26/2004 12:13:41 AM
Thats right, I guess he meant that he needs to load the main swf in a
browser and then that swf calls the other swf's.

A


[quoted text, click to view]

urami_
2/26/2004 9:49:10 AM

[quoted text, click to view]

it does not load them via browser , loadmovie will take files directory from CD.




Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>

XFlashmanX
2/26/2004 10:18:33 AM
I dunno what you're thinking correctly but if my guess is right...
First, don't do swf's, make projectors - .exe
You have to make different buttons in your 'launch' (now)exe for different
movies(that 15 or so).
For each button, you have to make a:

fscommand("exec","yourmovie1,2,3...15.exe");

in actionscript.
And here's the final: your 'launch.exe' must be in root dir, but other
'yourmovies.exe' must be in \fscommand

notFrances
2/26/2004 6:33:01 PM
So if I have a main file (index.swf) that does nothing but load another .swf (
in the code: loadMovie ("enter.swf",1); with other buttons in that .swf that
load other .swf's, then I would export all my .swf files as .exe files and my
new code woud look the same, just didn't file extensions?

button.onRelease = function(){
loadMovie("instructions.swf",1);
}

If I do this, will I still have to load the files through an Internet browser?
The goal is to pop in a CD-ROM, open up the folder directly from the desktop,
open ONE file, and have all the other files load from that, without the user
having to go through Internet Explorer or anything. I've never used project
files, but is that the point?

Thanks for the suggestion!
XFlashmanX
3/2/2004 10:25:33 AM
You have to publish all your swf-s to make exe files, including the first one
(which you will use for unloading others). The first one (which you will use
for unloadin others) put into the "root" of your CD (no directory!). The other
ones (which will be unloaded by your first one) put into folder named
"fscommand" on your CD.
In the first one, use this script for unloading others (write the script in
"action-button" for appropriate button):

on (release) {
fscommand("exec", instruction.exe); }

P.S. check for script grammar (I'm at work and don't have FlashMX withme)

Try, use help and it will do. It did for me!

Bye,
Benjamin
Pete Hughes
3/2/2004 11:52:53 AM
I have to modify some of the advice that has been given. The first Flash movie
that you start off must be a Projector .exe. This projector can then load all
the SWFs you want. There is no need to convert SWFs if they are going to be
loaded into a Projector that is already running.

Enjoy
AddThis Social Bookmark Button