openfl.display.Stage has no field onWindowResize

Hi

I have upgraded to openfl 8.9.0 then I got this error:

openfl.display.Stage has no field onWindowResize

on

Lib.current.stage.onWindowResize(Lib.current.stage.window, w, h);

which I was calling normally… any idea?

It’s a private method called __onLimeWindowResize, or perhaps you can just dispatch stage.window.onResize.dispatch(w, h)?

Why do you need to trigger this manually? :slight_smile: