|
Posted by Jonathan N. Little on 02/16/06 21:31
hol wrote:
> Hi Jonathan, thanks for the comments,
>
> The problem is that my customer wants the site visitors to be able to
> download his CV as a word file. This doesn't happen automatically but only
> when a user clicks the appropriate button on the main Flash site. This
> button opens an html page that loads the word document. As you can see I
> have to go through this procedure.
Why? In flash when you link a 'button' symbol to a URL is analogous
adding a href to a A element, right? What's the action script getURL(),
( been a while! ) and link it to the Word doc direcly so the browser
will treat as it would with a direct HTML link
<a href="pricelist.doc">Our Price List in MS Word200 format (1.2 MB)</a>
No need for external pages with auto popup windows,
OR
In the Flash have the button link to a download HTML page with your links
button.getURL('mydownloadpage.html')
and the mydownloadpage.html has plain links to docs as above.
<a href="pricelist.doc">Our Price List in MS Word200 format (1.2 MB)</a>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|