Can it be done from flash

Hey guys, i need to know if it is possible to offer a download option from within flash. I’ve never even done it in html b4 so im completely lost (on the concept of downloads that is). For example, do u just simply link an object in ur movie to the file ur offering for download or is the process a bit more intricate. Im thinking (or should i say ‘dreading’) the latter. HELP

Theres no download option, u can link the button to the file with the action
[AS]
on (release) {
getURL("");
}
[/AS]
Although, aplying dat for a mp3 file will play the mp3. I think ull need to zip the file and then the user will be able to download it.

:slight_smile:

Err…
The easy way of answering this one is “Yes it can be done, and no it isn’t any more complicated than providing an URL for the file”. Of course… That’s not the whole story. :slight_smile:

If you want text that’s clickable and that will launch the download of the file “myFile.zip”. All you have to do is mark the text and fill in “http://www.myserver.com/myFile.zip” in the linkage field.
If you want a button to start the download you’d use the code:

on(release){
getURL("http://www.myserver.com/myFile.zip", "_blank");
}

-M

thanks guys, all this really helps. its good to know not everything in (mx) life isnt as complicated as it seems.

:slight_smile: