enable viewers to download doc file by clicking a button

  • eihd_0
  • Newbie
  • Newbie
  • eihd_0
  • Posts: 5

Post 3+ Months Ago

I created a button by Sothink SWF Quicker. I want to let the viewers download doc file by clicking the button.

How can I make this? Any help will be really appreciated.

Regards,
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • classified
  • Expert
  • Expert
  • User avatar
  • Posts: 540
  • Loc: Bahrain

Post 3+ Months Ago

from flash yea ?

u can assign this action on the button itself make sure its a button...

Code: [ Select ]
on(release) = function() {
             
          getURL("link to your doc","_blank");
}
  1. on(release) = function() {
  2.              
  3.           getURL("link to your doc","_blank");
  4. }


or you can target it using its instance name that you can define ...
e.g , you gave it an instance name of button1

Code: [ Select ]
button1.onRelease = function() {
          getURL("link to your doc","_blank");
}
  1. button1.onRelease = function() {
  2.           getURL("link to your doc","_blank");
  3. }
  • eihd_0
  • Newbie
  • Newbie
  • eihd_0
  • Posts: 5

Post 3+ Months Ago

Hi classified,

It works! :idea: Thank you!

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 7 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.