thanks, but i was looking more for resources on css styling of the 
windows. 
i have an air app that uses WindowedApplication, but it is also 
spawning other windows using new Window().

i wanted to be able to use css styling on those Windows, but it seems 
as though the default close, minimize, restore buttons are difficult 
to assign styles to.

was just wondering if anyone had any good inspiration or resources 
for how to go about this?


--- In flexcoders@yahoogroups.com, "Kyle Neath" <[EMAIL PROTECTED]> 
wrote:
>
> The best method I've found is to just remove all native controls (by
> uncommenting a directive in the air xml file, and adding 
showChrome="false"
> to your WindowedApplication).  From there, it's pretty trivial to 
mimic
> native functions.  Here's the ones used for beta 3 (they changed 
it, so
> googling around gets confusing):
> 
> this.nativeWindow.minimize(); // minimizes the window
> 
> this.nativeWindow.close(); // closes the window
> 
> this.nativeWindow.startResize(); // call this within a MouseDown 
event on
> your resizing handle
> 
> this.nativeWindow.startMove(); // call this within a MouseDown 
event on your
> moving handle (title bar)
> 
> 
> All assuming this is the current window.
> 
> 
> - Kyle
>


Reply via email to