Hi,
I am not quite sure, because you havent used the code window, but if you havent put the name of the ResourceObject in quotation marks you might want to try that.
Cheers,
Marco