# Script works but i keep getting this

**URL:** https://forum.kirupa.com/t/script-works-but-i-keep-getting-this/32415
**Category:** Uncategorized
**Created:** [October 6, 2003, 4:48pm UTC](https://forum.kirupa.com/t/script-works-but-i-keep-getting-this/32415 "2003-10-06T16:48:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![urbaneve](https://avatars.discourse-cdn.com/v4/letter/u/839c29/32.png) [@urbaneve](https://forum.kirupa.com/u/urbaneve)
#### Post date: [October 6, 2003, 4:48pm UTC](https://forum.kirupa.com/t/script-works-but-i-keep-getting-this/32415/1 "2003-10-06T16:48:30Z")

</div>

Symbol=Symbol 9, Layer=Layer 1, Frame=1: Line 1: Statement must appear within on handler  
textinstance=

Symbol=Symbol 9, Layer=Layer 1, Frame=1: Line 7: Statement must appear within on handler  
dwn.onRelease = function() {

here is the action script that i have used  
[AS]texto="Welcome to Pro Image Solutions, … yadda yadda yadda … a Virtual Consultant. ";

up.onRelease = function() {  
texto.scroll -= 11;  
};

dwn.onRelease = function() {  
texto.scroll += 11;  
};[/AS]

the script is used in a scrolling text clips on the main page and some of the other pages, which works just fine - but i keep getting the output erros with it. how come?

here the url – you can check it out [pro image solutions](http://www.hp-h.us/b/proimage/)
