[haXe] Multiple windows and drag/destroy
Aaron Fay
aaron at earthman.ca
Sun Apr 1 22:34:36 CEST 2007
Hello list,
I have an application that creates a couple transparent windows,
embedding a separate flex source into each. On the main window I can use:
Api.call("backend.wnd.drag"); //wrapped in a mouseDown event handler
and
Api.call("backend.wnd.destroy"); //wrapped in a click event handler
to drag about and close the first window, however, creating the same
behavior for the second window (in my second flex) does nothing for the
second window
Api.call("backend.wnd2.drag"); //etc
and
Api.call("backend.wnd2.destroy");
My first window still works, and everything closes fine when I click the
first window's close button, but the second window won't respond to the
Window methods at all. If I create the second window with the default
window chrome in place it works fine... Any ideas?
Thanks,
Aaron
More information about the Haxe
mailing list