Can any buddy help please?
Having some issues getting a simple mc to slide to a new y position when the user clicks a button in my movie. Both the mc that i want to slide into a new y position and the button reside in the same mc. Dont know why or what my problem is, but this should be fairly simple…cant figure out why my code isnt working…I have not gotten any errors when testing or anything…errrr ;-\
anyway…I would love for someone to help me out…this little bit of code is driving me crazy and shouldnt be this difficult
…ok, so
I have a movie with several mc’s within mc’s, but in one particular MC with an instance name of “lanDescriptions” i have a mc with an instance name of “yourhere” with this code on the clip itself:
//
onClipEvent(enterFrame) {
this._y+=(_root.ypos-this._y)/7;
}
//
then…in the frame of the clips location i have this code:
//
// Initial position
ypos=92;
//
on another layer in the same clip (“lanDescriptions”), i have a button with this code on it the symbol itself:
//
on(release){
gotoAndPlay(“3rd”);
ypos=164;
}
//
Thanks in advance, I would really appreciate a hand with this pesky problem :s: