I've tried:
private function splashScreen1(): void {
const logo: Bitmap = new FortoresseXYImages.logo() as Bitmap;
logo.alpha = 0;
logo.scaleX = logo.scaleY = 0.25;
this.panel.addChild(logo);
(new FadeTransitionBuilder().setFadeIn(true).setDuration(1.5).setEase(Expo.easeOut).build()(logo, logo) as IEffectContext)
.addEventListener(Event.COMPLETE, function(event: Event): void {
trace("...");
});
}
Got:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at motion.actuators::SimpleActuator()[/opt/hostedtoolcache/haxe/4.0.5/x64/lib/actuate/1,9,0/src/motion/actuators/SimpleActuator.hx:85]
at motion.actuators::MethodActuator()[/opt/hostedtoolcache/haxe/4.0.5/x64/lib/actuate/1,9,0/src/motion/actuators/MethodActuator.hx:16]
at feathers.motion.effects.actuate::MethodEffectActuator()[/home/runner/work/feathersui-openfl/feathersui-openfl/src/feathers/motion/effects/actuate/MethodEffectActuator.hx:28]
at Type$/createInstance()[/opt/hostedtoolcache/haxe/4.0.5/x64/std/flash/_std/Type.hx:152]
at motion::Actuate$/tween()[/opt/hostedtoolcache/haxe/4.0.5/x64/lib/actuate/1,9,0/src/motion/Actuate.hx:416]
at feathers.motion.effects.actuate::ActuateForEffects$/update()[/home/runner/work/feathersui-openfl/feathersui-openfl/src/feathers/motion/effects/actuate/ActuateForEffects.hx:57]
at MethodInfo-1438()[/home/runner/work/feathersui-openfl/feathersui-openfl/src/feathers/motion/transitions/FadeTransitionBuilder.hx:147]
at fortoresseXY.screens::SignInScreen/splashScreen1()[C:\Users\mathe\UnsyncDocuments\fortoresse-xy\fortoresseXY.client\src\fortoresseXY\screens\SignInScreen.as:36]
at fortoresseXY.screens::SignInScreen()[C:\Users\mathe\UnsyncDocuments\fortoresse-xy\fortoresseXY.client\src\fortoresseXY\screens\SignInScreen.as:28]
at fortoresseXY.app::FortoresseXYApplication/FortoresseXYApplication_initialize()[C:\Users\mathe\UnsyncDocuments\fortoresse-xy\fortoresseXY.client\src\fortoresseXY\app\FortoresseXYApplication.as:26]