Solved

Flash MX 04 file links

Posted on 2003-12-11
2
242 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
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…
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 how to load their YouTube profile onto Flash Media Live Encoder.

932 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

12 Experts available now in Live!

Get 1:1 Help Now