2/25/2010 6:27:43 PM
Title:
getURL button problem
ok, this is the navigation file if you want to have a look at it.
http://www.mediafire.com/file/vnzzrymmyn2/buttons.fla
i am using AS2, my problem is, when i select a button,and add the following
----------------------------------
on (release)
{
getURL("http://www.google.com");
}
----------------------------------
The movie clip on the button ie: The rollover effect stops working... what can i do to fix that?
keeping in mind i am a novice at this point...
many many thanks.
Luke
Inder
Points: 2480
Posts:0
2/25/2010 10:50:15 PM
Hi, Luke checked your file, When you attach an "on Press" event on MovieClip it starts behaving like a button. You have added code by selecting the movieclip so the buttons inside will not be able to get the on rollover or rollout events . To fix this you can write the press code inside the movieclip on same buttons that you are using inside.
2/25/2010 11:12:28 PM
Nesting of buttons i.e button inside a button does not work in flash. Either move the rollover/ rollout events to outside or move the press event inside the movieclip. I mean to say all the events should be on a single clip rollover, rollout, press etc at one place.