header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Ajay
Points:0
Posts:0

7/5/2010 7:31:36 AM

Title: Slowly Hide


Can we make a window slowly hide in Adobe AIR?



1
Dave
Points: 970
Posts:1
7/5/2010 8:05:39 AM



you can change the alpha of the window content , the native window can be made transparent and you can use a time based loop to increase and decrease the alpha. You need to set the NativeWindowInitOptions



// set the options
var myWinOptions:NativeWindowInitOptions = new NativeWindowInitOptions ();
myWinOptions.minimizable = false;
myWinOptions.maximizable = false;
myWinOptions.resizable = false;
myWinOptions.type = NativeWindowType.UTILITY;
myWinOptions.systemChrome = NativeWindowSystemChrome.NONE;
myWinOptions.transparent = true;
// create the window
var myNativeWindow:NativeWindow = new NativeWindow (myWinOptions);
myNativeWindow.activate();
myNativeWindow.stage.addChild(this);


2
Sylvian Bob
Points: 0
Posts:0
7/5/2010 8:07:52 AM



its not possible to set the alpha of the chrome of the window , so you can just hide and show it . The other way around is that you hide a the actual chrome window and create a window inside the application using the component like pannel and the change its alpha


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 7+6 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions