Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Reaching home.html with Flash Button

7:37 pm on Mar 18, 2005 (gmt 0)

New User

10+ Year Member

joined:Mar 18, 2005
votes: 0

Been scratching my head over this one, probably a very simple answer which I have missed:

Have set up a navigation dial for a website using eight flash buttons. 1 of the 8 heads to an outside site, so javascripted it to create a popup window. The other 7 buttons all link to pages within the site, so used relative addresses with simple and straightforward code to open them in the mainframe. Here's an example:

on (release) {
getURL("press.html", "mainFrame");

Nothing revolutionary. And just copied and pasted for all 7 buttons. 6 of the 7 work perfectly. The 7th is my "home" button. I have the home.html file sitting in exactly the same directory as the other .html files, in exactly the same relation to the .fla file. And yet while the "press" button above works perfectly, the "home" button returns a broken link with the same code:

on (release) {
getURL("home.html", "mainFrame");

A html "home" test button I created worked just fine. The home Flash button also works just fine if I change the target to press.html etc., so think its got something to do with the html page. Since "home.html" sets up some frames, thought maybe that was the issue and tried to divert the button to "body.html" instead (which sets up no frames and in fact has very similar code to press.html et.al.). That also returned a broken link. What am I missing? Must be something simple right?

thx for any help.