You must be logged in to post Login Register
Search 

Verticle Menu repositioning

User Post

11:37 am
May 26, 2009


makary

New Member

posts 2

1

Im a new member. Love it. Just set up a verticle menu in an exististing fla. I have 6 buttons and finally got them to display without any movement by changing and positioning the mask. But I want to reposition by nudging upward the whole menu but when I do the buttons do move with the mask. How do I reposition the whole menu? In script? On stage?

12:59 pm
May 26, 2009


smonte

Admin

posts 27

2

Hey,


I'm not sure exactly what your problem is but to change the position of the whole menu you could try to add some values when we set the X and Y coordinates. Like this


menuItem.x=vanishingPointX+menuItem.xpos3D*scaleRatio+50;
menuItem.y=vanishingPointY+menuItem.ypos3D*scaleRatio+50;

So I simply added 50 to x and y coordinate.

Regards, smonte

1:42 pm
May 26, 2009


makary

New Member

posts 2

3

Thanks. That pointed me in the right direction. Here's what I changed.

menuItem.y = (count * menuItem.height * 1)-50; and then I moved the mask up 50.

sorry if it was a dumb question.

Topic RSS 
Search