Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Click on Flash Button doesn't work!

Status
Not open for further replies.

mejiaks

IS-IT--Management
Jun 9, 2003
131
HN
I am trying to use a Flash Button in a html table to open a document or URL. Nothing seems to work.

I have tried OnFocus event, OnClick Event with the getURL() but nothing seems to be working

I also tried to change the flash button to a regular button and still doesn't work. I thought maybe i was putting the link wrong, but i just insert a hyperlink object with the same url as the flash button. The link works and the button doesn't

here the piece of code

<td><input name="myButton" type="button" onfocus="getURL("myDir/myDoc.ext", "_blank")" Value="Download" />

i am using adobe dreamweaver cs3 Version 9 build 3453
 
A button is a form element, which requires a form around it to work.

why not use a link? <a href=""myDir/myDoc.ext">My document</a>

As for the flash button, the link should be created form within Flash for the button.



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top