Hi KM Web Design Melbourne,We have the flash movie with menu on our site. I tried to edit the links today and surprisingly it does not have the GET URL link in the action script. I also could not find any XML link to modify target page link.
Here is the button code, any idea how i can add GET URL line to this code?
The flash menu code:
|
on (rollOver){ if (_root.link != num) gotoAndPlay("s1");}
on (releaseOutside, rollOut)
{ if (_root.link != num) gotoAndPlay("s2");}
on (release){ if (_root.link != num)
{ _parent["but" + _root.link].gotoAndPlay("s2");
_parent["but" + _root.link].b1.useHandCursor = 1;
b1.useHandCursor = 0; _root.link = num; }
}
|
Hi,
You can modify the on (release) code to have GET URL element there and this way you can link the target page. Modify it as follows:
|
on (rollOver){ if (_root.link != num) gotoAndPlay("s1");}
on (releaseOutside, rollOut)
{ if (_root.link != num) gotoAndPlay("s2");}
on (release){ if (_root.link != num)
{ _parent["but" + _root.link].gotoAndPlay("s2");
_parent["but" + _root.link].b1.useHandCursor = 1;
b1.useHandCursor = 0; _root.link = num; }
getURL("http://www.webdatadesign.com.au/contactus.aspx");
}
|
This should do!
Do not forget to replace get url link with your target page url!