Advertisement
Guest User

zombie example

a guest
Dec 22nd, 2011
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 0.92 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
  3.                        xmlns:s="library://ns.adobe.com/flex/spark"
  4.                        xmlns:mx="library://ns.adobe.com/flex/mx"
  5.                        applicationComplete="windowedapplication1_applicationCompleteHandler(event)">
  6.     <fx:Script>
  7.         <![CDATA[
  8.             import mx.events.FlexEvent;
  9.            
  10.             protected function windowedapplication1_applicationCompleteHandler(event:FlexEvent):void
  11.             {
  12.                 // TODO Auto-generated method stub
  13.                 var init:NativeWindowInitOptions = new NativeWindowInitOptions;
  14.                 init.transparent = true;
  15.                 init.type = NativeWindowType.UTILITY;
  16.                 init.systemChrome = NativeWindowSystemChrome.NONE;
  17.                 var w:NativeWindow = new NativeWindow(init);
  18.                 w.restore();
  19.             }
  20.            
  21.         ]]>
  22.     </fx:Script>
  23.     <fx:Declarations>
  24.         <!-- Place non-visual elements (e.g., services, value objects) here -->
  25.     </fx:Declarations>
  26. </s:WindowedApplication>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement