Flash MX 04 file links

Hello,

I'm trying to create a CD with all my Flash files on it. Basically where the user can access the website,etc. offline. However, I have no idea how to link my buttons to files that are on a CD in Flash. Also, how can I create a script which would make the CD open automatically when the user puts it into their computer?

All I know how to do is link a button to another webpage, but not a file. How do you do that in Flash MX 2004?

Thank you so much!

Sincerely,
Nathan Heck
NateratorAsked:
Who is Participating?
 
OBCTConnect With a Mentor Commented:
Naterator,

Please post a comment back or close the question.

Cheers

-OBCT
0
 
OBCTCommented:
Naterator,

http://www.ezau.com/latest/articles/autorun.shtml
Here is a good tutorial on how to make your cd auto run. I am not sure what exactly you want to run when the cd is put in so if your having trouble, let me know and we'll see what we can do.

As for your offline website on your cd, the best way to do this would be by putting all your html files in a folder called "html" for example, then in that folder add a new "images" folder. The more organised your files are, the easier it will be to use in flash.
If you have your projector flash file in the first directory e.g. d:\MyMovie.exe     to link your flash buttons to the files you could use this:
on(release) {
     getURL("html/index.html", _blank);
}
What this does is find the folder html in the directory that your flash file is stored in, then opens the file you specify.
I appologize if this doesn't make much sense, I'm not very good at explaining how to do things...but I try.
If you need anymore help just let me know.

Cheers

-OBCT
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.