I’m completely new to using Flash (and have no experience using coding…) and have got a real problem…
I followed the tutorial for creating an Infinite Menu and have got that to work.
Problem: I want each of the 4 seperate images in the Infinite Menu I have created to have their own seperate Buttons that will each open different URLs in new windows.
I can get the button to open the URL, but can’t ‘stick’ the button to the moving image (they just sit there while the images scroll).
Could somebody suggest the code I should use to get this to work, as I have no idea how to set it up myself…
lol … you’re using buttons not movie clips as buttons ?
sorry … my mistake. is just that i never use buttons [size=1]personally i think that they are useless now in mx[/size] so … there’s no way to get the script working in a button.
use movie clips instead =)
again … without the code or fla it’s hard to tell what the problem is
but you should have in the mc actions something like:
on (release) {
getURL("http://www.somewhere.com", "**_self**");
}
_self specifies the current frame in the current window _blank specifies a new window _parent specifies the parent of the current frame _top specifies the top-level frame in the current window
Hey can u guys tell me how u guys did your buttons by using movie clips cause i tried it but it doesn’t work. All i know is that when i made the infinite menu into a movie clip, i can’t click on the menu buttons. And when i put the menu into movie clip and edit it into a button symbol, it still doesn’t work with the GOTOANDPLAY functions.
*Originally posted by kax *
**well, i don’t have flash installed in this pc. :-
but you have to adjust the variables depending on the x and width of your menu…
this script should get the correct values for you: