Solved

Flash MX 04 file links

Posted on 2003-12-11
2
232 Views
Last Modified: 2010-04-03
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
0
Comment
Question by:Naterator
  • 2
2 Comments
 
LVL 9

Expert Comment

by:OBCT
ID: 9925919
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
 
LVL 9

Accepted Solution

by:
OBCT earned 250 total points
ID: 10035454
Naterator,

Please post a comment back or close the question.

Cheers

-OBCT
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now