0

I have a Spark WindowedApplication (AIR for Windows Desktop) and I want remove the title bar and borders, this option will be set via cmd line when the application is launched.

How can I do this?

zero323
  • 322,348
  • 103
  • 959
  • 935
Drahcir
  • 11,772
  • 24
  • 86
  • 128
  • Do a Google search for creating custom window chrome w/ Adobe AIR. I'm not sure if this is something that can be done at runtime; or if it must be a compile time option – JeffryHouser Mar 13 '13 at 18:23
  • 1
    @www.Flextras.com I think it requires a flag in the AIR descriptor file, which is needed at compile time. – RIAstar Mar 13 '13 at 18:48
  • @RIAstar yes, all my searches on google said the same, compile time only. Maybe I'll have to wrap it in dot net or something, or dll calls. – Drahcir Mar 13 '13 at 20:05

1 Answers1

2

You need to made two changes in the "YouApplicationName_app.xml" by setting "systemChrome" and "transparent" properties.

<initialWindow>
    <systemChrome>none</systemChrome>
    <transparent>false</transparent>
<initialWindow>

And inside your WindowedApplication you have to set these four properties:

backgroundAlpha="0"
showTitleBar="false"
borderStyle="none"
showStatusBar="false"

You can find more information about that on this links:

Superlandero
  • 692
  • 6
  • 11