curved-appointment-82072
12/01/2022, 2:18 PMbright-gpu-74537
12/01/2022, 2:19 PMbright-gpu-74537
12/01/2022, 2:20 PMhaxe
Assets.imageFromBytes(..., (imageInfo) -> {
myImage.resource = imageInfo.data;
});
bright-gpu-74537
12/01/2022, 2:22 PMmyHaxeUIImage.resource = myHtmlImage;
And load myHtmlImage
however you wantcurved-appointment-82072
12/01/2022, 2:22 PMbright-gpu-74537
12/01/2022, 2:22 PMcurved-appointment-82072
12/01/2022, 2:25 PMelegant-twilight-61392
12/01/2022, 2:26 PMbright-gpu-74537
12/01/2022, 2:26 PMbright-gpu-74537
12/01/2022, 2:26 PMhaxe
var nativeImg = js.Browser.document.createImageElement();
nativeImg.src = "https://picsum.photos/200";
nativeImg.onload = function() {
myImage.resource = nativeImg;
}
bright-gpu-74537
12/01/2022, 2:28 PMmyImage.resource = nativeImg;
without the onload
and i think probably doable, ill make a note to check it outicy-zebra-52882
12/01/2022, 2:57 PMicy-zebra-52882
12/01/2022, 2:57 PMelegant-twilight-61392
12/01/2022, 2:57 PMicy-zebra-52882
12/01/2022, 2:58 PMicy-zebra-52882
12/01/2022, 2:58 PMfamous-alarm-22563
12/01/2022, 5:02 PMfamous-alarm-22563
12/01/2022, 5:02 PMbright-gpu-74537
12/01/2022, 5:03 PMfamous-alarm-22563
12/01/2022, 8:51 PMrefined-cat-44047
12/01/2022, 9:11 PMfierce-soccer-8550
12/02/2022, 12:03 PMbright-gpu-74537
12/02/2022, 12:06 PMbright-gpu-74537
12/02/2022, 6:06 PMorange-van-60470
12/03/2022, 9:46 AMfierce-soccer-8550
12/03/2022, 10:25 PMhallowed-ocean-84954
12/03/2022, 11:01 PMfierce-soccer-8550
12/03/2022, 11:03 PMhallowed-ocean-84954
12/03/2022, 11:04 PM