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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

flash buttons in dreamweaver

Status
Not open for further replies.

noel9

Programmer
Nov 21, 2002
4
IE
hi,

having some trouble with flash buttons in dreamweaver.
when i try to get them to link to relative links the links are returned as broken. anyone know how to fix this??

cheers noel.
 
just fix that potential source of an error:
did you try to put a link it i dreamweaver or did you use the right command in flash.
the point with flash buttons is that you have to put the link on the button in flash itself.
usually you'd put this code on the button:
Code:
on(release){
getURL("[URL unfurl="true"]http://www.mysite.com","target");[/URL]
}
the "target" has to be _self _parent _blank or _top just like in html.
AND you have to make sure that the relative path you use is relative to the folder the button is saved in, NOT to the folder your html page is saved in.

if you want to address a site in a folder above the location of the button you'll have to use something like &quot;../../mysite.html&quot; (<-- an example for a site stored 2 folders above the folder that contains the button).

i hope that was what you were looking for ;-) regards

Firegambler
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top