You need to be a little more specific, there have been numerous sugegstions to help you out, which have you tried?
Providing the texture exists and is loaded, the code I posted works fine (So long as you press the space bar).
Providing the texture exists and is loaded, the code I posted works fine (So long as you press the space bar).