Script works but i keep getting this

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