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?
please, it's kinda urgentopening external files
i dont quite understand what you want to do... please
explain. is this file on your hard drive? is it being
hosted?opening external files
Simple, you can't. Flash doesn't open those types of files,
but you can link to them to download to your hard drive where you
can open them with the proper software.
i dont want to open them inside the swf, i want to open them
through the flash file, with a button oppening them externely.
and the files are in my hard drive
sorry, dont know how to access hard drive from flash. maybe
someone knowing will come along. Best of luck
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'');
}
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
Yes it can be a local path:
on(release){
getURL(''c:/yourfile.pdf'')
}
That will work
a different question, can that actionscript be put into text
or a image instead of a regular button?
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment