hi.
I have developed a site and I want to add some sponsors.
I have in the main movie an action layer. when you press sponsors it goes to a frame labeled "sponsors". in that frame i have put a movie clip with some animation. when it finishes i have a big bubble. i want to put some images of my sponsors in that bubble and when you press them to go to their sites.
i tried doing this with this code:
var sponsors:Button;
sponsors.onPress= function() {
getURL("http://www.eg.com","_blank");
};
it didn't work.
I suspect there's some problem with the root. I don't know at all.
Please help. I'm behind schedule.
thanks in advance.
so stupid!!!! i didn't put the code on the button but in a different layer!!!
problem fixed.
thanks anyway....