i’m trying to add a .doc or .zip to my flash movie, so that when users want to download some thing they like they can just click on a download link, and then the downloading will begin.
the problem is that i’m not quite sure how to do it. just wondering if any one could maybe explain to me alittle about that process.
hello
i am buliding my flash on a cd rom, not website. i want to add a link to my .doc files. i managed to do that but then i played my cd on other computers, it cant find the file. even though i add the file inside the folder in the cd rom. how do i made the link to be relative (independant) in flash?
If you are building your flash onto a CD-Rom, it might be worth looking at creating an .exe from the Flash. Use a tool such as Flash Studio Pro - at http://www.multidmedia.com/ or SWFKit at http://www.swfkit.com/
These tools allow you to add buttons to browse and access local files - exactly as you need to do. This can be done from Flash, but is much more complicated and would involve the use of additional server technology.
The above tools allow you to do what you want with just a couple of lines of code.
OK - just try linking to the documents directly. For example, if the doc is in the same folder as your flash file, use a link such as:
on(Release)
{getURL(“documentname.doc”)}
That would work. As a solution for your specific problem, could you look at changing the location of the documents you need to load - put them in a sub directory so it is easier to link to them?
Flash can export .exe files by itself (under “publish options”, called “windows projector”), and a lot of customization of the resulting file can be done manually (with ResourceHacker), though you can’t do as much as when using a 3rd party tool, mostly just things like the right-click menu and the icon for the file.