Flash ActionScript Help! - Button Layer Arrange Action

Live forum: http://forum.freeipodguide.com/viewtopic.php?t=71819


02-12-2007 12:05:08


I don't know if anyone here knows ActionScript but I might as well ask.

So I have a few buttons in a menu of sorts that when rolled over get replaced with a new image. However, the new image is wider/taller then the original so it gets cropped off underneath the surrounding buttons due to the fact that its on a lower depth. I could certainly just arrange it differently on the stage but the thing is it happens to like 6 buttons and they would all contradict each other. So what I am asking, I know there is a swapDepths() function but I don't a whole lot about AS in relation to Flash so I don't know about applying it to onRollOver and what not. If there is anyone that could help me that would be great!