¿Por qué el botón carga la imagen pero la etiqueta imgtag no la encuentra?

jmpinero - 13/06/2010 18:10
Estoy haciendo un panel con unas imágenes. El botón me pilla bien la imagen con su ruta, pero el imgtag no me pilla la ruta y me da error. ¿Qué me falla?
[code]timgtag bmp1 button pos:[1,11] width:151 height:89 bitmap img/des_01.bmp) tbutton bmp2 button pos:[151,11] width:58 height:89 images:#(img/des_2.png, undefined, 1, 1, 1, 1, 1).
[/code]
jmpinero - 13/06/2010 22:17
He seguido investigando el tema y he encontrado que la solución podría ir por este código, pero tampoco me funciona.
[code]Rollout characterrig select and hide.
( tdir = (Getdir img/des_2.png) tanim_bmp = openbitmap dir timgtag bmp1 pos:[1,11] width:151 height:89 bitmap:anim_bmp t).
[/code]
jjpsiquiatrico - 16/06/2010 13:21
Prueba con esto: Set bm=openbitmap(img/des_01.bmp). Imgtag bmp1 button pos:[1,11] width:151 height:89 bitmap:bm. Button bmp2 button pos:[151,11] width:58 height:89 images:#(img/des_2.png, undefined, 1, 1, 1, 1, 1). Un saludo.