Windows :: Get The NativeWindow Minimized Event?

Dec 31, 2011

When working with NativeWindow's in AIR, can you get an event everytime the window is minimized / unminimized? I tried hooking up with DisplayStateChanged but its not firing when the window is minimized. you know how to get such an event?

[Code]...

View 2 Replies


Similar Posts:


Flex - Application.application.nativeWindow.activate() On Windows?

Dec 8, 2009

I have an AIR application with a system tray icon. When clicked it shows and activates the app. This is working as expected when the app is hidden (docked), however if I select another application so my app is in the background clicking on the system tray icon does nothing.

Oddly I also have a contextual menu on the system tray icon, which has an option to restore, this calls the same event handler as ScreenMouseEvent.CLICK, yet works.

I expect it's something to do with the contextual menu changing the focus, perhaps it's a bug in how AIR works with the system tray, perhaps it's just something I'm missing. Would be good to know if that's the case.

View 1 Replies

Actionscript 3 :: Ignore NativeWindow Event Listener

Oct 17, 2011

I have a rectangle with an event listener like so:

rect.addEventListener(MouseEvent.MOUSE_DOWN, startMove);
private function startMove(event:MouseEvent):void
{
this.nativeWindow.startMove();
}

this works fine.

I also have a button inside this rectangle, and when I click the button the window drags just like if I had clicked on the rectangle.

How can I stop this from happening? I tried removing the event but that didn't work, I don't even know which event to remove, the mouseDown or NativeDrag event... There is no stopDrag() function in nativeWindow.

View 1 Replies

Actionscript 3 :: Ignore NativeWindow Event Listener?

Sep 16, 2007

I have a rectangle with an event listener like so:

rect.addEventListener(MouseEvent.MOUSE_DOWN, startMove);
private function startMove(event:MouseEvent):void
{
this.nativeWindow.startMove();
}

this works fine.I also have a button inside this rectangle, and when I click the button the window drags just like if I had clicked on the rectangle.

How can I stop this from happening? I tried removing the event but that didn't work, I don't even know which event to remove, the mouseDown or NativeDrag event... There is no stopDrag() function in nativeWindow.

View 5 Replies

Osx :: AIR Application On The Menubar When Minimized?

Mar 27, 2012

I'm trying to look for tutorials on getting my AIR application to OSX's menubar when minimized. However, when I try to search for it, I end up getting examples on doing it for the system tray on Windows and the Dock on macs. I don't want the app to stay on the dock when the window is not visible. I want it to minimize to the menubar instead. EDIT: I don't want to learn about working with the OS X dock (on this post at least). I'm interested in working with the menubar. (See image below.)

View 1 Replies

Actionscript 3 :: Flash Client Freezes When Minimized

May 24, 2011

We are building a multiplayer flash game using actionscript 3. The game is supposed to work in real-time.

We have an issue where if ou minimize the game client, it freezes- I can see this by previewing the minimized window, my character which is supposed to walk across the room has frozen. This causes a real-time issue because anything happening while a players client is minimized will be missed...

Does anyone know why the flash client would stop/freeze when minimized, and if there is a way to prevent this?

View 2 Replies

Firefox: Flash Not Loading If Tab Inactive/window Minimized?

Apr 18, 2011

With selenium I'm currently automating tests for a website having flash elements for user inputs. While everything works fine when executing these tests on my computer locally, it fails to load the embeded flash if I start selenium on a remote Windows XP machine.
However, the flash just loads fine if I start the tests while I'm logged in via remote desktop.

This leads me to the assumption that whithout any desktop environment loaded or user logged in the firefox window is treated just as though it was minimized or the current tab was inactive, which I know prevents flash from loading until that window/tab is activated.if there is a way to enable firefox to load flash even if it's not currently displayed in an active window?

View 1 Replies

ActionScript 3.0 :: Keep Swf File Working When The Other Tab Is Opened Or Browser Minimized

Nov 9, 2010

I am currently developing a virtual world with Flash CS 3 and AS 3 in the client side. Everything seems fine until I found that the flash player in the browser stops working when you minimized the browser or open another tab. It makes a huge problem in my virtual world, because when one player moves from location A to location B, and in the middle of the animation process (moving the player from A to B) the user minimized the browser then the animation process (and another process I assumed) is stopped. That would make a different location between the player current location (in the client side) with the server side and another client.

My question is how we keep the flash player keep working although the browser is minimized or another tab is opened? Just like most of facebook games or youtube player (keep playing the video although you are viewing another tab).

View 3 Replies

Actionscript 3 :: Write To Windows Event Log From Within Adobe AIR?

Apr 19, 2011

Is it possible for Adobe AIR (via AS3) to write events to the OS's event log? In particular, I need an event to show up in the the Windows 7 Event Viewer. I've tried using throw to throw a custom error, but it doesn't appear in the Application Logs.I know I could create a NativeProcess to do this, but I'm hoping there's a native AIR solution.

View 1 Replies

ActionScript 3.0 :: Flash Website Event.RESIZE Isn't Working In Windows 7?

Sep 28, 2010

Is anybody else finding their flash website event.RESIZE isn't working in Windows 7?My website works fine when I run it at home in Vista, however at work in Windows 7 it just does not work and I have no idea why???! Essentially the bit that says portfolio works should stick in the top right corner on resize and the mute and sound button in the bottom left.

View 9 Replies

Media Server :: Invalid License Key Showing In Windows Event Viewer

Dec 14, 2011

Each time the server gets rebooted we receive an invalid license key warning in the event viewer application log. Will this cause the server to stop working? Our license key is valid.
The C:Program FilesAdobeFlash Media Server 4.5licenses folder shows the files- sif35.bin,sif40.bin,sif45.bin and sif.bin.

View 1 Replies

JavaScript :: Windows.Onload Event Not Wait For Flash Object To Load

Jul 11, 2011

I'm embedding a flash object in an html page and calling windows.onload to initialize the Flash movie. The problem is that the windows.onload does not wait for the Flash object to completely load. Is there way to make sure that the Flash object has fully loaded?

Here is the code I'm using:
<head>
<script>
var falshObj = null;
function pageInit() {
thisMovie();
[Code] .....

View 1 Replies

Flex :: Keep A Nativewindow On Top?

Jul 6, 2009

I need to keep a NativeWindow I am creating on top of the main window of the application. Currently I am using alwaysInFront = true, which is not limited to the windows in the application. I can successfully synchronize the minimize/restore/move/resize actions, so the top window behaves appropriately in those cases. Even though using this option has the drawback that if I alt-tab to other application the window goes on top of the other application.

Because of the above I am trying to get it to work without using the alwaysInFront. I have tried using orderInFrontOf and orderToFront, which gets it in place but when I click an area in the main window the top one becomes hidden i.e. air makes it the top one. I have tried capturing activate/deactivate events but it only happens on the first click, so on the second click the top window becomes hidden again. I also tried making the top window active when the main one becomes active, but that causes the main one to loose focus and I can't click on anything. I am doing this to improve the behavior of a HTMLOverlay I am using - see [URL]

View 3 Replies

Flash :: AIR - NativeWindow Pop-up Box?

Sep 1, 2011

In my AIR application, when a user creates a new project I want a pop-up box to appear where they can enter their project's name in. I understand how this is doable by making my own type of pop-up box, but is there a way to do this using NativeWindows? That is, can I make a window using the system chrome appear which contains a text field and a butto

View 1 Replies

ActionScript 3.0 :: NativeWindow Is Not Showing

Aug 30, 2009

I have read all there is to read about windows/ native windows in air.

In addition to the main auto-added window, I am creating and (trying to) open two windows when the app starts. It works fine when I test it in flash CS4, but when i publish/install and run it, the windows added through code do not appear.[code]...

View 1 Replies

Actionscript 3 :: AIR - How To Skin NativeWindow

Dec 22, 2011

On my air application I'd like to create chromless nativewindow but I don't find how to do that.Indeed, I success with window but with this component type each window appear on Wndows taskbar, so I must found how to do the same (skin, maximise, reduce, move...) with another component.

View 1 Replies

ActionScript 3.0 :: Centering The Stage In A NativeWindow?

Aug 4, 2011

I'm having trouble with the positioning of objects within the NativeWindow. So my code below creates a NativeWindow, and then draws a rectangle and adds it to the stage of the NativeWindow. I can't seem to have the rectangle centered in the window. I've tryed playing with the stage scale mode, and align properties. By default the align should be center, but it doesn't appear to be the case. The rectangle seems to be drawn from somewhere between the center and top left of the window. I've also drawn a rectangle onto the main app window using identical code.

Code:

import flash.display.NativeWindowInitOptions;
import flash.display.NativeWindow;
var NWIO = new NativeWindowInitOptions();

[code]....

Left window is the main app, and the right window is the NativeWindow.

View 5 Replies

Actionscript 3 :: Can't Resize Content To Fit A New NativeWindow In AIR

Dec 20, 2010

I'm trying to make a popup window class which will get a content DisaplyObject, and popup and display it in itself, but I'm cracking my head with matching the size of the content to the window or vise versa... I think that maybe the window is not display all of the stage or something ?[code]...

View 1 Replies

Actionscript 3 :: Attach A NativeMenu On NativeWindow (or NativeApplication On Mac Os)?

Mar 25, 2011

I have an Air windowedapplication with no chrome (but a custom) and main app windows is transparent.I try to attach a nativeMenu on nativeWindow (or nativeApplication on Mac Os). But as there is no system chrome NativeMenu don't work on windows Os but work well on Mac Os.As I'd like to have similar look and feel on both Os.

View 1 Replies

Flex :: TitleWindow (or NativeWindow) Skinned As A Fancybox?

Apr 11, 2011

The customer I am working for wants to display popup in an AIR application (designed in Flex 4).I will therefore use TitleWindow and PopupManager for this (or NativeWindow could be an option too).
Pretty basic, I can handle this.

Trouble is, this customer would like this popup to be looking as a Fancybox, that is, with the close button, slightly out of the popup.

View 1 Replies

Flash :: Access NativeWindow In Pure AIR Project?

Feb 7, 2012

I'm getting crazy because I can't access object NativeWindow in a "ActionScript Mobile Project", no matter what I do stage.nativeWindow is always null when I test on desktop. If I create a new NativeWindow then it's the stage property that is null. Oddly enough accessing stage.NativeWindow works when deploying on blackberry playbook but not when debugging configuration Launch Method on desktop.

Can't answer my own question but it seems the feature is just unsupported on the desktop I guess the workaround is use Stage.Resize when debugging desktop. reference: The window represents the native operating system window; the Stage represents the content contained by the window. This property is only valid for content running in AIR on platforms that support the NativeWindow class. On other platforms, this property will be null. In Flash Player (content running in a browser), this property will also be null.

View 1 Replies

ActionScript 3.0 :: Alternative For NativeWindow Class For Flex Web Application?

Jun 13, 2011

I have to convert an Air application to the web application.I created a web project and I copied all classes to that project +main.mxml.now the problem that i have is the nativeWindow is just work in

[Code]...

View 1 Replies

Actionscript 3 :: AIR - Set Size Of NativeWindow To Include System Chrome?

Jan 19, 2012

How do you find out the size of the system chrome so that I can specify the window size to achieve the stage size I want?

If my main window is set at 800 x 600 (stage), and I create a second window as below, it will be smaller.

public function Main():void
{
var windowOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
windowOptions.systemChrome = NativeWindowSystemChrome.STANDARD;

[Code].....

I assume you increase both newWindow.width = 800; and newWindow.height = 600;to account for the chrome, but how do you find this value?

View 1 Replies

Windows :: PDF Displaying Correctly In Flex Mx:HTML Control In Windows / Reader X

Oct 28, 2011

I'm having an issue with the PDF displaying outside the viewable area of the mx:HTML control in Flex. When the application starts up - the mx:HTML is set to a certain size, but can be enlarged if the application is maximized. These are the following conditions to replicate it: Issue only happens in Windows (Windows 7, not on Mac) Issue only happens with Reader X installed (not with previous versions) Issue only happens when running the built app, does not happen in debug / development mode from FlashBuilder

[Code]...

View 1 Replies

Embed Flash Games Into Windows Forms Application.net Compact Framework Under Windows Mobile 6?

Feb 5, 2010

I want develop an application on windows mobile.In this app, i need to show some Flash games to the end user.ow should I do?embed an Flash ActiveX Control (in Windows mobile Form application) ?embed an IE control?BTW (because i do not have a windows mobile device now)Can I views flash in IE of the windows mobile device?for play flash, Macromedia Flash Player 7 for Pocket PC should be installed on your windows mobile emulator.DIT2:after practice i found following package should be installed before your windows mobile progr

Vista SP2
Visual Studio 2008 SP1
Windows Mobile Device Center

[code].....

View 2 Replies

Windows :: Flex - MXMLC Throws A Java.lang.NullExceptionPointer When Compiling In Windows (not In Mac Nor Ubuntu)

Feb 23, 2011

I'm running ant to compile a Flex application, and the build keeps failing when running it on a windows command line. Other people in my team can successfully run the very same build under mac and linux. This is the error shown in the command prompt:

[Code]...

All tokens are set in corresponding build.properties and filter .properties files (and, as I said before, it compiles perfectly under mac and linux). The windows version is 7 Ultimate, FLEX_HOME is set as an environment variable to the Flex SDK 3.5 (the 3.5.0.12683 build that comes with Adobe Flash Builder Burrito). ${compiler.fork} is set to false, to avoid an issue with the SDK and the source files being in different logic drives.

View 1 Replies

Windows :: Flex - FileReference: Loading A Windows-locked File?

Mar 8, 2010

I'm using Flex in Flash Player 10 on Windows, using FileReference to load a file into memory, as below.My issue is that when a file is locked by Windows, my FileReference is not giving me any feedback that the file is inaccessible--it simply never dispatches any events after my calling load().Does anyone have insight into how to tell that Flash Player is unable to open the file?

var fileReference:FileReference = new FileReference();
private function onClick():void {
fileReference = new FileReference();
fileReference.addEventListener(Event.SELECT, onSelect);

[code]....

View 1 Replies

Windows :: Flex - Adobe Air - Lauch Windows Virtual Keyboard Osk.exe

Nov 25, 2011

From an Adobe Air application, I need a function to launch the Windows Virtual Keyboard (c:windowssystem32osk.exe). I tried the Native Process, but it didn't work when telling it to execute cmd.exe /C osk.exe. How should I launch the keyboard application from an Adobe Air application?

View 1 Replies

Windows :: Flex - Air - Alwaysontop - Does Not Work In MAC But Works In Windows

Aug 29, 2009

i setup alwaysOnTop="true" in mx:WindowedApplication alwaysOnTop="true" tag. but this does not work in MAC but works in windows.

View 1 Replies

Windows :: Embed Windows Media Player In Flex?

Aug 24, 2010

I have a mp4 file which is to be used in an application. Currently i am in the stage of figuring out the technology to be used for this job. I am familiar with flex and am hoping that i be able to use it for the application. But i can not figure out a way to play the file in flex. I have been able to play the file only in windows media player and that required the installation of three codecs : Mp4Audio.ax, Mp4Video.ax, Mp4Src.ax.

As i see it, it will be very convenient if i could embed a windows media player plugin in flex or i could specify the audio and video codecs in the flash player

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved