# Spring tutorial question

**URL:** https://forum.kirupa.com/t/spring-tutorial-question/172150
**Category:** Uncategorized
**Created:** [December 11, 2005, 11:41pm UTC](https://forum.kirupa.com/t/spring-tutorial-question/172150 "2005-12-11T23:41:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Ozymandias](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ozymandias/32/1997_2.png) [@Ozymandias](https://forum.kirupa.com/u/Ozymandias)
#### Post date: [December 11, 2005, 11:41pm UTC](https://forum.kirupa.com/t/spring-tutorial-question/172150/1 "2005-12-11T23:41:10Z")

</div>

onClipEvent (load) {  
// We define the reference point  
centerx = 100 ;  
centery = 100 ;

```
// temporary variables used to calculate 
// the speed of the mass
x0 = this._x ;
y0 = this._y ;

```

}

onClipEvent (enterFrame) {  
if (pressing) {  
startDrag (this,true) ;  
xp = this.\_x - x0 ;  
yp = this.\_y - y0 ;  
x0 = this.\_x ;  
y0 = this.\_y ;  
}  
else {  
stopDrag () ;  
this.move (centerx,centery,0.9,0.1) ;  
}  
}

What is startDrag and stopDrag? I can’t find any functions by that name in the .fla. What are they doing?
