-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Expected Behavior
The resource should load
Current Behavior
When using an external image/web address as the resource of an image the built program for Windows errors with:
haxe/ui/backend/AssetsImpl.hx:95: [IOErrorEvent type="ioError" bubbles=true cancelable=false text="Unknown error" errorID=0]
Steps to Reproduce (for bugs)
- Create an Image
- Build the project for Windows
- See error
Test app / minimal test case
package;
import haxe.ui.containers.VBox;
import haxe.ui.components.Image;
import haxe.ui.HaxeUIApp;
class Main {
public static function main() {
var app = new HaxeUIApp();
app.ready(function() {
var vbox = new VBox();
vbox.percentHeight = 100;
vbox.percentWidth = 100;
var image = new Image();
image.resource = "https://cdn.discordapp.com/icons/613425648685547541/a_08b73e86d3c5661db3e397e4c557f751.webp";
image.width = 128;
image.height = 128;
vbox.addComponent(image);
app.addComponent(vbox);
app.start();
});
}
}
Your Environment
- Version used: 1.6.0
- Operating System and version (desktop or mobile): Windows 10
Metadata
Metadata
Assignees
Labels
No labels