Skip to main content
August 15, 2014
Question

how to change value

  • August 15, 2014
  • 1 reply
  • 237 views

hii guys,

how to change value, if I move the object to the target, then the initial value changed

thx before

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
August 15, 2014

Your posting is a bit too vague to understand what you are asking about.   For lack of a better understanding, just reassign a new value to whatever property you mean.

August 15, 2014

I mean if, the object is transferred to the target, then how do I make the initial value of the object becomes the value of the intended target?

sorry I could explain the lack of English language

this is fla

http://www.2shared.com/file/jNicYD4B/iseng.html

Ned Murphy
Legend
August 15, 2014

What "value" are you speaking about?  If it is the position properties then just reassign them to be the values of the target.

object.initialX = target.x;   // initialX is just an example for whatever you name the intial value variable

object.initialY = target.y;