I'm getting closer. Here is the error I get:
Compiling code. Error
Error parsing program.
Error description: Undeclared variable 'button2' is used before it was assigned any value.
Occurred on line: 57
Button2.setbackgroundimage(LoadBitmap(File.dirassets,"credits.jpg"))
My code looks like this:
Sub Button2_Click
Button2.setbackgroundimage(LoadBitmap(File.dirassets,"credits.jpg"))
End Sub