PDA

View Full Version : can't get object (button) to have onMouse behaviors


ajzeigert
05-21-2002, 04:56 PM
I am working on a scene which has a rotating disk made up of four buttons. I wish to make each button link to a URL, and I can get that action to work. However, I can't get it to do it when the mouse clicks, it just grabs the URL when the movie gets to that point. So what am I doing wrong that won't let me attach the onMouse action?

Thanks,
Andy

ps- i've attached the whole damn flash file, take a look and see if you know what the deal is

Rupert
05-22-2002, 12:02 AM
Hi andy,

you didn't have any example of what you had tried left in the file so I assume you had posted a "clean" file fo us to look at. I got it to work fine by putting the get URL action on each of the buttons at frames, 1, 20, 40 and 60. Perhaps you were putting the script in the frames and not directly on the buttons? Might also be worth putting a hit state in your buttons as they are a mongrel to click otherwise!

Hope this helps,
Cheers, Rupert