-
1. Re: Overlapping buttons issue
xvkarbear Aug 10, 2010 1:57 PM (in response to Shed Simas)Ah! I had this problem.
My solution was to move it to -500 in either x or y. So..
function goNewPage (e:MouseEvent):void {
gotoAndPlay(NewPage);
button1.x = -500
button2.x = -500
button3.x = -500
}
and when they return to navigation page, make the x = whatever values they currently are on the stage.
-
2. Re: Overlapping buttons issue
Shed Simas Aug 10, 2010 4:32 PM (in response to xvkarbear)Thanks! It seems to be half working... Now whenever I click on one of the buttons, I get
TypeError: Error #1009: Cannot access a property or method of a null object reference.
I can't figure out what exactly the problem is. Plus, sometimes some of the buttons don't go to the place I tell them to move to. But perhaps that's because of this other error.
-
3. Re: Overlapping buttons issue
Shed Simas Aug 11, 2010 2:11 PM (in response to Shed Simas)I'm trying anything I can find that might help. I just tried a function with setChildIndex(); but I had the same problem. The buttons still won't disappear when the frame changes.
Any other ideas?
Thanks.
-
4. Re: Overlapping buttons issue
xvkarbear Aug 12, 2010 6:10 AM (in response to Shed Simas)that null reference error is evil.
Did you change the instance name of one of the buttons, by chance?

