ScriptSpot

Forum topic · General Scripting

Image Button / Coloured Button

By br0t · 2010-07-28

Description

Heya,
just a quick question, I do have sth like this:


bm_black = bitmap 62 27 color:(color 0 0 0)	
rollout ro_Test "test" width:130 height:150
(
button btn_black "" pos:[2,61] width:62 height:27 images:#(bm_black, undefined, 1, 1, 1, 1, 1)
) 
--etc.

I think it should give me a black button, but instead it is always mid-grey. I tried this in Max 2010, did they change anything there? This has worked for me in the past...
Greetings

Comments (2)

Graph · 2010-07-29

grey is the default
means it didnt find what it was looking for
not working with 2010 myself anymore so i can only suggest the help files

Anubis · 2010-07-28

Yes, am still on Max2009 and this works (I use this in my MatShift script).
If this is some Max2010 issue maybe in the area autodesk can helps.