bright-gpu-74537
02/03/2023, 9:12 PMhelpful-oxygen-79589
02/03/2023, 9:13 PMhelpful-oxygen-79589
02/03/2023, 9:13 PMbright-gpu-74537
02/03/2023, 9:14 PMhelpful-oxygen-79589
02/03/2023, 9:14 PMbright-gpu-74537
02/03/2023, 9:22 PMambitious-knife-25690
02/04/2023, 12:38 AMambitious-knife-25690
02/04/2023, 12:41 AMambitious-knife-25690
02/04/2023, 1:01 AMbrave-kangaroo-30399
02/04/2023, 1:39 AMbright-gpu-74537
02/04/2023, 10:33 AMhelpful-oxygen-79589
02/04/2023, 10:38 AMhelpful-oxygen-79589
02/04/2023, 10:39 AMhelpful-oxygen-79589
02/04/2023, 10:39 AMambitious-knife-25690
02/04/2023, 11:21 AMambitious-knife-25690
02/04/2023, 11:22 AMambitious-knife-25690
02/04/2023, 11:23 AMambitious-knife-25690
02/04/2023, 11:23 AMhelpful-oxygen-79589
02/04/2023, 11:25 AMhelpful-oxygen-79589
02/04/2023, 11:26 AMicy-zebra-52882
02/04/2023, 12:48 PMicy-zebra-52882
02/04/2023, 12:48 PMicy-zebra-52882
02/04/2023, 12:49 PMxml
<vbox style="padding: 5px;">
<hbox>
<image id="npcPortrait" width="64" height="64" resource="./assets/images/AnsweringMachine.png"/>
<label id="npcNameLabel" text="NPC Name" />
</hbox>
</vbox>
and despite the output having a subfolder called assets
with those files in it, the image won't loadicy-zebra-52882
02/04/2023, 12:49 PM./
bright-gpu-74537
02/04/2023, 12:50 PMfile://...
icy-zebra-52882
02/04/2023, 12:53 PMresource="file://assets/images/AnsweringMachine.png"
, still won't load, does it want an absolute path?bright-gpu-74537
02/04/2023, 12:54 PMicy-zebra-52882
02/04/2023, 12:54 PMicy-zebra-52882
02/04/2023, 12:56 PMicy-zebra-52882
02/04/2023, 12:56 PMhx
var testFile = File.getBytes("file://assets/images/AnsweringMachine.png");
trace(testFile.toString);
adding that in the code made it fetch the image