all groups > flash actionscript > february 2006 >
You're in the

flash actionscript

group:

Target


Target alvinpr
2/2/2006 6:48:52 PM
flash actionscript: I need help comprehending this coding if someone wants to do some comments for
me that would be amazing i really need your helpppp to better
understand.....thank you

startDrag("/tracker", true);
Counter = 0;
NumberObjects = getProperty("/Line", _totalframes);
/:OldX = getProperty("/Line", _x);
/:OldY = getProperty("/Line", _y);
setProperty("/Line", _visible, "0");
tellTarget ("/Line") {
stop();
}

Re: Target zensoldier
2/2/2006 10:41:48 PM
Its old deprecated usege, do it like this

startDrag(target, true); // the true means lock it's center to the cursor
Counter = 0; // set a value for the var counter
NumberObjects = line._totalFrames; // sets value of NumberObjects
Same for the next two lines
line._visible = 0; // sets the line to visible false
line.stop(); // Tells line to stop playing


AddThis Social Bookmark Button