2 Replies Latest reply on Apr 28, 2008 1:47 AM by Pim_van_den_Broek

    HTMLLoader window always in front

    Pim_van_den_Broek
      I would like to have a window with HTML content to be alwaysInFront, but as I look at the Reference guide, I cannot find a solution. Is there a way of loading HTML in a window, and also have it alwaysInFront?

      The way I'm doing it now is I'm creating an air.HTMLLoader.createRootWindow, however, the object returned is not a nativeWindow, but a HTMLLoader, so I cannot use the alwaysInFront option, right?

      If I would create a nativeWindow using NativeWindow(), I can use the alwaysInFront option, however, how can I load HTML in this window?

      So my question is: How can I load HTML in a window and make sure this window is always in front of other windows?

      Many thanks!