Flex :: Indicating That A Window Is "active" Inside A Regular Flex (not AIR) Application?

Aug 25, 2011

I have an Flex 4 application (not AIR) which has some floating windows that act essentially as modeless dialogs.Right now, if two of these are open at once they function as siblings which are both active and whose controls are enabled for user interaction.I now need to maintain some notion of which one is "active" in the application. I don't want to /disable/ the non-active ones so as to blur them or prevent input on their controls.

I basically want to replicate basic OS window management: when you click or type into a control in one window it comes to the front and its title bar looks "active" and the others then look "inactive". Just like with a bunch of explorers in Windows.

View 2 Replies


Similar Posts:


Flex :: Preview A PDF Inside AIR Application Inside Transparent And Custom Window?

Sep 20, 2011

I have a transparent windows (skinnable). Inside, I'd like to preview some pdf file. BUT, in the only a black screen appear

View 3 Replies

Air - Flex Open Window Behind Active Window?

Jul 9, 2010

In Flex Air app, how do you open a window behind an active one?

I tried following and i can't seem to get it to work

[Code]...

With this code, I would expect window1 to open behind the main app window and, in 3 seconds, window2 would open behind window1. But if you execute this, window1 will open on top of the main window and window2 will open on top of window1 and the main app will retain focus. This seems like a bug in the Flex. If so is there any workaround for this problem?

View 2 Replies

Actionscript :: Making Sure User Is Still Active In A Flex Application

Feb 18, 2011

I need to implement some sort of data locking in a Flex application I'm developing. A user clicks a specific button to "check out" the data set, and other users must wait until they are finished before they can make edits. After a period of inactivity, the application will release the lock to someone else.What I'm after is an easy way to determine if the user is still interacting with the application so they don't have to manually keep clicking "yes I want to continue editing". For example, I could handle all mouse clicks for the entire application and add 5 minutes to the timeout every time they click something. Are there any better options for doing something like this? Is there something built in to check for last interaction time?

View 2 Replies

Flex :: Flash - Get List Of Running Processes, Get Active Process (and It's Application) AIR

Jan 25, 2010

Is it possible to get somehow list of running applications/processes and, while running in background, check which process is active?

Additionally - if somehow, the answer was yes, is it possible to react for change of active window / application react just as if it was Event, or bind to it custom event (e.g. Event.SystemActiveAppChange)?

EDIT: Due to probable missunderstanding, I mean local applications - on your win/mac/linux machine - I would like to (in process of learning of language) track what apps I use the most, make a little graph maybe?

So, the point is: in AIR app, developed in FLEX, I would like to get/list all running applications/processes, as well as which one is active (on user's PC/Mac/Linux)

View 3 Replies

ActionScript 1/2 :: Window Component - Keep Buttons From Being Active While The Popup Window Is Active?

Mar 26, 2009

I have a window component on my main timeline that gets called up on several instances. When the popup window appears, everything looks fine, except that the user can still click on links that are now behind the actual popup window itself. My question is how do I keep those buttons from being active while the popup window is active?

View 2 Replies

Actionscript 3 :: Resizing Container On Resize Of Application Window In Adobe Flex/AIR Application?

Mar 4, 2011

I am working on an Adobe AIR Application. The size on Application window is 800X600 and is contains border container and border container contains many controls. What I want is to if user re-sizes the application then that container should also be re-sized according to scale. i.e If user maximizes or minimizes the window then that border container should also be maximized or minimized respectively.

View 3 Replies

Ios :: Embed Adobe Air / Flex Application Inside A Standard Application

Aug 29, 2011

I have a native (Obj-C, standard Xcode project) application and I'd like to integrate a partners iOS application (or specifically, it's functionality) into it as just another view in my application. The problem is that their application is a Flex/Air app. I really don't understand the Adobe compilation process on how it gets from a bunch of flex code down to an IPA. I don't see intermediate projects, shared objects, etc on the disk to produce that IPA. It looks like it doesn't rely on the Apple tool chain... as I understand it, you can produce the IPA on Windows as well. Is there any way to build that Flex app in such a way that I can import it into Xcode so I can link against it and use it as a library from within my application? While I specifically used iOS as an example since that is the most important platform, we'll want to apply this solution to our respective Android and Blackberry 6 apps as well.

View 1 Replies

Flex :: Skinning AIR Application Window

Mar 31, 2010

I'm using mx:WindowedApplication, I'm wondering how I can skin the title bar and close/minimize button for the window. I can see application like Pandora One is using it and setting transparency. Any pointer to a doc?

View 1 Replies

Flex :: Create New Window In Air Application

Jul 27, 2011

how to create new window(same application duplicate) in Air Project.

View 1 Replies

Flex :: Set Window Size For Standalone Application?

Aug 1, 2009

I want to set the default window size for a flex application that runs with a standalone player.I set width and height to 100% to be able to get the ResizeEvent and being able to adjust the layout if the user changes the window size. But I'd like to also define a default size.

View 3 Replies

Flex :: Create Multi-window Web Application?

Oct 20, 2010

I am using flex4, I am seeking the answer to create multi window web application. My application is some sort of complex, currently I only know using PopupManager to create a new window.Should I create each MXML for each window that I want to instantiate? And then load the mxml and put it into the stage? Is there any tutorial describing that? I want the program modular and easy to manager, extend.

The current way I am using is use Group to group up all the controls inside a window, and if user want to open that window, I will display the group and bring it to the front. Is it the right way to do windowing? But I can't support drag.

I want to know if there is any native support for draggable window, or dialog?

Also till now all the controls are put inside a single mxml file, is it possible to put one window(or one group) to be a separate mxml file?

View 4 Replies

Flex :: Open Air Application By Window Hotkeys?

Mar 29, 2011

I am developing flex air application.I have to implement hot-key functionality in air application.

For example whenever user press any two keys like ctr and S keys the open flex air application.and whenever user press any two keys like ctr and q keys then close flex air application.

View 2 Replies

Flex :: Dragging The AIR Application Window Around The Screen?

Jul 31, 2011

I have an AIR application. It should be moved around the screen with the mouse. In order to achieve this I use the event: this.stage.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown, true,-2);

It should be activated with the lowest priority compared to inserted elements for example those that should be scrolled, clicked, etc. I tried the solution shown below with the event priority set to -1 because there might happen 2 different events and my moving application event should be the last one to be serviced or shouldn't be serviced at all.

[Code]...

View 1 Replies

Flex :: Application Packaged In AIR Doesn't Show It's Window

Feb 1, 2010

I have a Flex application that builds and runs from Eclipse without any problems. I've created an Ant build based on the sample provided by Adobe and builds the application and packages it up into an AIR application. No errors occur during the build process and an AIR file is created.The problem is that when I install the AIR application and run it, there is no UI at all. The process is running because I can see it in Task Manager but I can't see the app window. I've commented out all of my initial code so just the first window should appear but still nothing.

View 1 Replies

Flex :: Sending POST Variables To A Browser Window From AIR Application

Jul 15, 2011

I'm building an AIR application. Basically, what I'm looking to do is using navigateToUrl() to open a browser window, assign it a "name" and then, send variables to that newly opened window using the POST method.

EDIT : I need the window to be visible, this is why I absolutely need to use the navigateToUrl() function

I already know that I CAN'T DO something like this, that the AIR application will send the variables using the GET method...

var vars:URLVariables = new URLVariables();
vars.myVar = "Hello my friend";
var req:URLRequest = new URLRequest("http://example.com/my-page.php");
req.method = "POST":

[Code].....

View 1 Replies

Flex Web Application - Prevent Framerate Drop When Window Is Invisible?

Nov 20, 2011

So there's been a new "feature" in the flash player since version 10.1, which reduces the player's framerate to 2 fps when the application window is out of view. This is good news for performance, but it can break some functionality, such as the Timer class.

I have an application which uses a Timer to display a countdown. Given the nature of the application, it is required for the Timer to complete its countdown even if the user is not there to see it. Imagine that you need to give the user only 10 seconds to perform a task. If the user minimizes the window halfway through the counter, they can take as much time as they want and still have 5 seconds left when they return to the window. This apparently can not be avoided with the newer flash players.

In Air applications there is the backgroundFrameRate property which can be set to prevent this behavior, but this is part of the WindowedApplication class, so it seems that it is not available in a web application. Does anyone know a way to keep a constant frame rate even when the window is not visible?

View 3 Replies

Flex :: Install Badge Inside Application?

Nov 5, 2009

I have created a flex SWF file for my web page. I also have a AIR application.

Is it possible to use the install badge that is available for HTML pages inside my Flex web application?

View 3 Replies

Flex :: Create A Webbrowser Inside Application?

Dec 10, 2009

Is it possible to create a webbrowser inside a Flex (not AIR!) application? I want to display some links in a Flex application and when a user clicks the links, it should open a custom component with some sort of a webbrowsing component. Is it possible?

View 2 Replies

Actionscript 3 :: Run An External SWF Inside A Flex Application?

Apr 26, 2010

EDIT: Due to the answer I change the code posted. I've added the Security.allowDomain("*") line and that line throws me an error. So, how can that be made?

I want to run an Action Script 3.0 Application into a Flex Application. To do this I've done the following:

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication windowComplete="loadSwfApplication()" xmlns:mx="http://www.adobe.com/2006/mxml">

[Code].....

How can I load this swf application and USE the stage without any problems?

View 3 Replies

Flex :: Cleanup All UIComponents Inside Mx:Application

Jun 2, 2010

I create some elements( UIComponents, mainly Panels) inside the "mx:Application name=tst . I need to cleanup all those UIComponent's on MouseClick event , using Actionscript. Is there any way I access the children elements of mx:Application ( I used var totalChildren:Number = this['tst'].numChildren ; but looks like it fails to access the children list).

View 1 Replies

Flex :: Open A Browser Window To View An Image Created By An Application?

Aug 26, 2009

I have a flex 3 application that creates an Image from a canvas which the user draws on. I use the ImageSnapshot class to create the image

var imageSnap:ImageSnapshot=ImageSnapshot.captureImage(myCanvas);
var imageByteArray:ByteArray=imageSnap.data as ByteArray;

I want the user to be able to print or save the image. I can use the following code to print the image but flex does not provide good control over printing across multiple pages

var printJob:FlexPrintJob=new FlexPrintJob();
printJob.start();
printJob.addObject(myCanvas, FlexPrintJobScaleType.SHOW_ALL);

I would like to display the image in a browser window so that the user could print it using the built in browser functionality or right click on the image and save it. Can this be done without requesting server side code to do it?

View 3 Replies

Flex :: Open Air Applications Inside Any Browser Window?

Jun 30, 2011

I've been searching around web and so far found many tutorials/docs on how to install or open air application from a web page. This just opens a new AIR-browser window and that's not what I'm looking for. I'd like it be opened inside a browser frame (even if downloaded first) much like a plain swf file.

I know air file is more or less plain zip, so maybe I could unpack it? What AIR features shouldn't I use for this to work?

View 1 Replies

Flex :: Flash - Play SWF Files Inside Application?

Jan 5, 2011

Hey the think is, I need to play some swf file inside my flex 4 app, sometimes this swf file can be a Video, or just a object animated, I have a placeholder in my app which I want to play this swf file, how can I do this?

View 2 Replies

Flex :: Google Search Page Inside Of The Application?

Jan 28, 2011

How to include google search page inside of my flex web application without using iframe.

View 2 Replies

Java :: Embed A Jar File Inside A Flex Application?

Jan 30, 2011

I have a great idea and I want to build a flex application around a .jar file. Is there a way I can go by embedding a jar file into the flex application?

View 1 Replies

Flex :: Does Window.open Not Work Inside An AIR Html Component

Jun 15, 2010

I have a component in AIR like so:[code]The 2 alerts both work. however nothing happens when you click the new window link.all 3 links works when in a real browser so I know its ok.Is there just no support for window.open in the AIR HTML component? or is this a bug?Is there a work around?

View 2 Replies

Flex :: Form Inside Pop Up Window - Tab (order) Between Forms Not Working?

Aug 25, 2011

when user clicks on Add button, then a pop up button will be opened with certain form elements (like textinput, date field, text area).. When i used 'TAB' inside this form,it is not working.I found in couple of Questions / forums that we need to create an instance of FocusManager and then bring/activate focus for the pop up.But still i didn't see the tab working inside the form.In order to tab order working inside a pop up, what steps we need to follow.

I tried using focusmanager and property like tabfocusenabled, tabenabled and also added taborder inside each form element.Iam using Flash Builder 4.5 and using spark components for development.Is there any workaround for this problem?

View 1 Replies

Flex :: Display Flash Movies Inside Application And Interact With Them?

Feb 11, 2010

Since I've never done this and the google results are quite random, I ask here: Is it possible to display Flash movies inside a Flex application and interact with them?

The scenario is as follows:

I'm developing a new application in flex Another, already completed application is given to me as SWF (or perhaps SWC, don't know any details yet) I have to insert this second application inside in my Flex application, which should be no problem afair I have to interact with this application: send and retrieve data. Don't know any further details here, too.

Will this be possible? Or is Flex only capable of displaying the SWF without the possibility to interact with it? I hope you can understand, what I want (have to...) do.

View 1 Replies

Flex :: Itemrenderer - ButtonBar Inside A ListItemRenderer Freeze The Application?

Jun 8, 2011

I have drop on a strange occurance - inserting a ButtonBar inside ListItemRenderer freeze the application. The bug is highly reproductive.ere is a bit of the code :

<s:VGroup id="buttonHolder" visible="false" gap="0" width="100%">
<s:ButtonBar id="buttonMenu" width="100%" height="18" minWidth="100" change="buttonMenuChangeHandler(event)">

[code].....

View 1 Replies







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