i have a window, a button, a sprite surface...

in my little test...

when the user push the button... a little sprite cross the sprite  
surface....

the problem is that when i push the button, the sprite surface going  
slooooowwwwwwwwww, and sometimes hang the system. The mouse pointer  
changes to wait mode.

my code is simple...

pusnbutton action event:

s= new sprite
s.image=myhero
s.x=10
s.y=10
spritesurfacec.attach s
spritesurface.clicktostop=FALSE
spritesurface.framespeed=1
spritesurface.run

in the spritesurface nextframe event:

if s.x<=200 then
s.x=s.x +1
end if

is my code the guilty or my rb version (5.5.2) is older for ? my  
system: iMac G5 2.1 1GB RAM, Mac OS X 10.4.8

thanks
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to