Darn, try this instead.
sync on : sync rate 0 : hide mouse
for s=1 to 4 : read r, g, b : ink rgb(r,g,b),0
for r=40 to 50 step 2 : circle 50,50,r : next r
get image s,0,0,100,100 : sprite s,320,240,s : offset sprite s,50,50
next s
Scale=0 : Angle=0 : cls
while scancode() = 0
inc Scale,10 : inc Angle,2
for s=1 to 4 : MyScaleSprite(s,Scale-(250*s),Angle) : next s
sync : cls
endwhile
end
function MyScaleSprite(sp,sc,sa)
if sc < 0 then sc=0
scale sprite sp,( sc %% 1000 ) : rotate sprite sp, wrapvalue(sa)
endfunction
data 255,0,0
data 0,255,0
data 0,0,255
data 255,0,255