Runtime error with bitmaps
I'm testing a simple script that I want to implement into another one that I have written already.
The problem is that I'm getting a "Runtime error: Error opening bitmap: C:\program files blah...blah..blah
I have a script with a rollout and I want a bitmap image next to each button. So I thought it would be a good idea to try it on a simple script first.
So here is the script I'm using just to test:
rollout test "test" width:162 height:145
button B1 "B1" pos:[8,6] width:24 height:48
bitmap bmp3 "Bitmap" pos:[37,10] width:32 height:32 fileName:"Happy1.bmp"
Now I've read in the maxscript docs about where the "bmp" images need to be place as the maxscript will search several directories.
So my "Happy1.bmp" image is placed in the following location on my PC:
C:\Program Files (x86)\Autodesk\3ds Max 9\Scripts\Startup
When I run this simple script I get that Runtime error.
I'm sure there is something I'm missing but need some help please.