magnificent-fireman-89458
02/09/2023, 6:51 PMmagnificent-fireman-89458
02/09/2023, 6:56 PMmagnificent-fireman-89458
02/09/2023, 7:01 PMrhythmic-wolf-50922
02/09/2023, 7:06 PMsetChildIndex()
can change the order of children in a containermagnificent-fireman-89458
02/09/2023, 7:14 PMmagnificent-fireman-89458
02/09/2023, 7:14 PMrhythmic-wolf-50922
02/09/2023, 7:18 PMhaxe
var container = new Sprite();
var bitmap1 = new Bitmap(bitmapData1);
container.addChild(bitmap1); // child index: 0
var bitmap2 = new Bitmap(bitmapData2);
container.addChild(bitmap2); // child index: 1
container.setChildIndex(bitmap1, 1); // change bitmap1 from child index 0 to 1 (and bitmap2 moves to 0)
magnificent-fireman-89458
02/09/2023, 7:29 PMlively-computer-90469
02/12/2023, 6:20 PMbored-psychiatrist-68708
02/12/2023, 6:43 PMApplication.current.meta.get("version")
you can also get the build number with
Application.current.meta.get("build")
lively-computer-90469
02/12/2023, 6:44 PMwitty-island-52596
02/19/2023, 5:09 PM@:bitmap("flixel/images/cameraMover.png")
private class CameraMoverGraphic extends openfl.display.BitmapData {}
and in my project.xml i have <assets path="../lib/assets" rename="flixel"/>
witty-island-52596
02/19/2023, 5:09 PMwitty-island-52596
02/19/2023, 5:11 PMrhythmic-wolf-50922
02/20/2023, 4:31 PM@:bitmap
, you don't need to define anything in project.xml at all. any integration with the asset system will be handled automatically. just make sure that you use the correct path from your file system.rhythmic-wolf-50922
02/20/2023, 4:32 PMfaint-crayon-93028
02/20/2023, 7:40 PMhallowed-ocean-84954
02/20/2023, 7:42 PMabundant-kite-3635
02/21/2023, 10:40 PMorange-van-60470
02/21/2023, 11:00 PMabundant-kite-3635
02/22/2023, 7:46 PMprehistoric-king-95596
02/22/2023, 9:30 PMabundant-kite-3635
02/22/2023, 9:52 PMmammoth-iron-58709
02/23/2023, 11:11 AMable-action-74275
02/23/2023, 11:15 AMable-action-74275
02/23/2023, 11:15 AMmammoth-iron-58709
02/23/2023, 11:15 AMmammoth-iron-58709
02/23/2023, 11:15 AMmammoth-iron-58709
02/23/2023, 11:16 AMbland-noon-32511
02/23/2023, 11:24 AM