set(buttondown,true);
nextframe();
set(buttondown,true);
prevframe();
inc(image.frame,1,get(image.frames),get(image.frames));
delayedcall(0.02, if(buttondown,nextframe()) );
dec(image.frame,1,1,1);
delayedcall(0.02, if(buttondown,prevframe()) );
set(buttondown,false);