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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
OBCTCommented:
Naterator,

Please post a comment back or close the question.

Cheers

-OBCT
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.