# actionScript works in flash player 6 but not in 8 (Need Help)

**URL:** <https://forum.kirupa.com/t/actionscript-works-in-flash-player-6-but-not-in-8-need-help/200837>\
**Category:** flash\
**Created:** [September 15, 2006, 4:36pm UTC](https://forum.kirupa.com/t/actionscript-works-in-flash-player-6-but-not-in-8-need-help/200837 "2006-09-15T16:36:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SomeOne1](https://avatars.discourse-cdn.com/v4/letter/s/a87d85/32.png) [@SomeOne1](https://forum.kirupa.com/u/SomeOne1)\
**Post date:** [September 15, 2006, 4:36pm UTC](https://forum.kirupa.com/t/actionscript-works-in-flash-player-6-but-not-in-8-need-help/200837/1 "2006-09-15T16:36:29Z")

</div>

Hi guys  
i have littel problem with ActionScript  
i was looking for “Springs effect” i found some thing wich was easy to edit  
when i edited it as i want i change the flash Player Verson to 8 but it was not work  
i think it is somthing new in action for flash 8 maybe some thing has been changed  
this is the script

```php
onClipEvent (load) {
 tx = _root.x_txt;
 k = .3;
 damp = .8;
}
onClipEvent (enterFrame) {
 tx = _root.x_txt;
 ax = (tx-_x)*k;
 vx += ax;
 vx *= damp;
 _x += vx;
}

```

wating for help  
thanx
