Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Flash MX 04 file links

Posted on 2003-12-11
2
Medium Priority
?
279 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 1000 total points
ID: 10035454
Naterator,

Please post a comment back or close the question.

Cheers

-OBCT
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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.
Suggested Courses
Course of the Month9 days, 4 hours left to enroll

877 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