I tried searching for this but nothing worked.
I'm trying to make my AIR application window to be always visible on top of every other windows.
I read about alwaysInFront
, but I can't get it to work.
I am using an AS3 Class file on AIR 20.0 for Desktop.
My code looked like this:
I imported flash.desktop.NativeApplication;
and in the first function I added windowObj.alwaysInFront = true;
.
It did not work, saying windowObj
is not a thing. How do I do this?
Thanks for your help!
Try:
this.nativeWindow.alwaysInFront = true;