Heeeeeeeeeeeeeeeeelp!

Hello all,

I am realy very very confused this time :*(

HOW DO YOU KNOW THE POSITION OF A MOVIE CLIP IN THE MAIN MOVIE

I tried to play a little with the infinite menu tutorial.

I took the movie clip called menu (the small one) and gave it the same coordinates as the general_menu thorugh action scriot in the function onClipEvent (load) { _y = 30; } and called the instant menu1.

but they didn’t coincide the new movie clip and the general_menu although they have same coordinates.

when i trace my new clip from the time line of the movie i get that its _y = 70 while if i trace it within the onClipEvent(enterFrame) i get _y = 70.

If i open the movie clip editor and see where it is on that stage i find that it is at _y = -40.

Can anybody explain pleasssssssssssssssse. :hangover:

Thank you

Adham :x

I am not sure I understand.

_y on the infinite menu will always be the same as it goes left and right, which is _x.

SO you would do…

onClipEvent(enterFrame){
trace(this._x);
//blah blah
}

Also, can you post your .fla?

Hello,

Thanks for your quick reply.

Sorry it appeared that the error was from me since i was comparing the values of different FLA’s.

Thanks a lot :whistle:

No problem man. Glad you solved the problem! :slight_smile: