Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how to change value

Guest
Aug 15, 2014 Aug 15, 2014

hii guys,

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

thx before

TOPICS
ActionScript
210
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 15, 2014 Aug 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 15, 2014 Aug 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 15, 2014 Aug 15, 2014
LATEST

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;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines