>The problem is in the options of COMPILE statement. >I always check _dimmedVarsOnly and _noReDimVars options. But >FBSpriteWorld sample code is not checked both. <snip> >Does anyone know how to make the source which the all variables are >dimmed? Or is there anyone who write newer version of FBSpriteWorld? The >original one is little irresponsible when handling resource error. I don't know of a newer version; I tried to use it quite some time back and had similar problems. I started trying to "clean up" the code so everything was DIMmed, but another project came along and I never finished it. (No, I don't know where that code is now; this was several computers ago...) Since then, as I haven't needed all the features FBSW provides, I've "rolled my own" routines to do what I need. The only thing I know to do is put _dimmedVarsOnly & _noReDimVars in there and start compiling/DIMming/repeat until you get a clean compile. BTW... I remember finding a couple of places in there where the "wrong" variable was being used, _because_ of not checking variables... Bill