Notifications
Clear all

[Closed] Set bitmap from image, to a color?

How do i go about changing my bitmap from a image to a color? Ive tryed the following without success…


				myRollout.myBitmap.filename = ""
				myRollout.myBitmap.color = gray

Thanks

2 Replies

Bronson,

myRollout.myBitmap.bitmap = bitmap 320 240 color:red

Light

hi, i tryed the following

myRollout.myBitmap.color = bitmap 100 100 color:gray

and it doesnt do anything. Previusly i was using a rendermap, not shure if this would affect anything? Do i need to disable the filename?


	  myRenderMap = renderMap myPreview size:[110,110] fileName:"c:\mypreview.bmp"
	  save myRenderMap
	  close myRenderMap
	  myRollout.myBitmap.filename = "c:\mypreview.bmp"