View Full Version : Flash MX Menu links help needed

09-03-2004, 04:01 PM
Newbie from the UK here. I have designed a menu and all i want to do is each button to link to another page. Easy you may think. But nope. I place the code:

onClipEvent (mouseUp) {getURL('http://www.whatever_url.com); }

on 1 rollover button, then the same code with different url on another rollover button, but they both only link to the first url?? and so do the other 3 buttons when i put different urls in?

Any idea, i can email over the fla file if anyone can help.


09-03-2004, 04:17 PM
Do you know that many search engine cant/dont follow Flash links, so your content wont appear in search engines?

I only ask because I tried Flash stuff when I first started, but soon came round to keeping things simple so it can be understood by most search engines and users. It is best to use simple HTML links.

09-03-2004, 07:22 PM
If you want to attach a getURL action to a MovieClip, one way of setting that up is to add the action to a Frame, example...

// targets a movieclip with the Instance name of someMC1

someMC1.onRelease = function() {
someMC2.onRelease = function() {

or if your using Buttons just attached the following Actionscript directly to the button...

on (release) {

// or to open the URL in a new window
on (release) {
getURL("http://www.whatever_url2.com", "_blank");

r2d2's right about the Search engines not being able to follow your URL's if their within a Flash (SWF) file. All except for Google that is.