Hello, I want to create a bitmap image using maxscript and after to use it as icon for button in rollout.
Code logic look good, but I cant figure out why it doesn't work.
bitmapForIcon = bitmap 24 24 color:red filename:"RedIcon"
rollout rl_Test "Test" width:130 height:30
(
button bt_myButton width:24 height:24 images:#(bitmapForIcon, undefined, 1, 1, 1, 1, 1)
)
createDialog rl_Test
Maybe somebody know what is wrong here.
Thank you.
By Arahnoid · 2012-01-05
miauu · 2012-01-06
jos · 2012-01-06
br0t · 2012-01-06