Moving a symbol to a sertain location over time?

Warshy

Newbie

Posts: 6

3+ Months Ago

HI i really need help with this.
I'm wodering if you could make symbol move to a location i.e. +50 on x over time in a onRelease action. Not making a symbol continously moving in one direction. I would like it to just be in one frame if that is possible. Also using a false/true code to let it know if the sumbol should move back to it's original position. by over time i mean not making the symbol move directly to that specific location, it would have a speed so it smothly slides to that place.

it's har dto explain, one example is in windows XP when you open a normal mapp window there is a menu to the left and when you click on a small button a menu slides down and when you click it again it slides back. Ofcourse it's easy to make in a button but that's not what i want. It should move using actions cript.

replace "movieClipToMove" with the instance name of the movieclip you want to move. "xValue" is the position to move it to over time, & the lower the number you put for "slowness", the faster the movieclip will move.

Now for that to work you need this prototype in one of your timelines.

is this something that that function can't nuderstand? with the stuff i'm trying to make i have to use getProperty + "number"

also, this is ez, but i'm new to AS: how can i make a code on the same button so that one symbol with that code of yours move to 2 places, back and forth. like:
if(isup = false)
"your code moving +"
isup = true