all groups > flash (macromedia) > may 2007 >
You're in the

flash (macromedia)

group:

opening external files


opening external files HeLlGoD10
5/10/2007 7:40:49 PM
flash (macromedia):
i need to open a previously saved file (pdf/rar/zip, etc) through a button in a swf. how do i do it? is it with a code or something?
Re: opening external files dzedward
5/10/2007 8:01:18 PM
Re: opening external files Nickels55
5/10/2007 8:27:59 PM
Re: opening external files HeLlGoD10
5/10/2007 9:34:57 PM
i dont want to open them inside the swf, i want to open them through the flash file, with a button oppening them externely.

Re: opening external files dzedward
5/10/2007 9:49:52 PM
Re: opening external files Nickels55
5/11/2007 3:21:12 PM
You have to upload the files to your web server, then link them inside of flash using the geturl actionscript:

on(release){
geturl("www.your-url.com/yourfilename.pdf");
}


Re: opening external files HeLlGoD10
5/11/2007 4:14:07 PM
does it have to be through a url, can't it be trough a path, like C:\file.rar
or something like that? it's because the computer where i'm going to do the
presentation does not have internet, so that way won't help me much
Re: opening external files Nickels55
5/11/2007 4:36:36 PM
Yes it can be a local path:

on(release){
getURL("c:/yourfile.pdf")
}

Re: opening external files HeLlGoD10
5/11/2007 6:30:21 PM
AddThis Social Bookmark Button