Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:s="library://ns.adobe.com/flex/spark"
- xmlns:mx="library://ns.adobe.com/flex/mx"
- applicationComplete="windowedapplication1_applicationCompleteHandler(event)">
- <fx:Script>
- <![CDATA[
- import mx.events.FlexEvent;
- protected function windowedapplication1_applicationCompleteHandler(event:FlexEvent):void
- {
- // TODO Auto-generated method stub
- var init:NativeWindowInitOptions = new NativeWindowInitOptions;
- init.transparent = true;
- init.type = NativeWindowType.UTILITY;
- init.systemChrome = NativeWindowSystemChrome.NONE;
- var w:NativeWindow = new NativeWindow(init);
- w.restore();
- }
- ]]>
- </fx:Script>
- <fx:Declarations>
- <!-- Place non-visual elements (e.g., services, value objects) here -->
- </fx:Declarations>
- </s:WindowedApplication>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement