Image

Imagethree3period wrote in Imageflashdev 😡frustrated

Craze'd

Hey guys, got a little bug giving me big problems. I'm coding actionscript scrollbars, here's the code I've got

(DOWN BUTTON)
on(press)
{
downint=setInterval(scrdown,100);
}

on(release)
{
clearInterval(downint);
}



And in the frame I've got

txtsrc="Rentals Include: \n Dual lens - thermal \n goggle system \n \n \n Tippmann C98 \n or \n Piranha .68 cal semi auto \n marker, \n \n All Day HPA fills \n 1 hopper full of paint. \n Additional Paint Extra. \n \n you really \n know \n whats going on \n ' \n in my life";

function scrup()
{
addr.scroll=addr.scroll-1;
}

function scrdown()
{
addr.scroll=addr.scroll+1;
}



The functions are never getting accessed, I can't figure out why. My textbox's instance name is "addr" and varible name is "txtsrc". All the code is contained within a movieclip, and there's only one frame in it.


Anyone got any ideas? This is for a client and it's driving me mad.