this worked but probably not what I'm supposed to ...
# haxe-ui
w
this worked but probably not what I'm supposed to do
Copy code
hx
var imageBg = userIcon.members[0];
var image = userIcon.members[1];
image.loadGraphic(bmd);
image.setGraphicSize(Std.int(imageBg.width), Std.int(imageBg.height));
image.updateHitbox();