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
Similar Posts:
Jun 18, 2010
I would like to be able to operate a scanner from my AIR application. Since there's no support for this natively, I'm trying to use the NativeProcess class to start a jar file that can run the scanner. The Java code is using the JTwain library to operate the scanner. The Java application runs fine by itself, and the AIR application can start and communicate with the Java application. The problem seems to be that any time I attempt to use a function from JTwain (which relies on the JTwain.dll), the application dies IF AIR STARTED IT.[code]
View 2 Replies
Sep 15, 2010
Some of my Flash application components require to intercept Ctrl + F4 keyboard events. Unfortunately, the KeyboardEvent is not caught when running the app under IE since it is conflicting with the IE native shortcut (closing the active tab). Is there a way (ideally relying on Flash principles) to intercept such keystrokes?
View 2 Replies
Nov 11, 2010
I developing an AIR application in Flex that would be dealing with playing different SWFs. I am finding some issues as these SWFs that I am playing are heavy. I find that the animation is not smooth and is causing the graph of CPU usage to go high (my be because single thread architecture of Flex). I am therefore planning to have a multi process architecture for my application. Something like Google Chrome. I have one main application as one process and other SWFs would be playing in separate process but should be seen inside the main application window. How to make it possible in Flex?
View 4 Replies
Mar 5, 2010
I need to fetch a flex application from a process in C#.
How can i get access to the externalInterfaceAPI when the flex application is running as a Application?
EDIT: After further reading it looks like it is possible, as from what i understood, a flex stand alone application is a ActiveX "container", so what i need is to get access to the ActiveX container, and from there the externalInterface API.)
View 1 Replies
Feb 17, 2011
Could someone share list of active and popular open source Rich Internet Applications or desktop application (not library or framework) that are built by Adobe AIR/Flex? The popularity and quality I am looking for are something like Azureus/Vuze (Java), XBMC etc. [url]...
View 3 Replies
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
Nov 24, 2009
I have an air application that loads a swf ( built in flex ) , this swf loads moduls and basicaly my air application is a testing environment for this swf .
when i run it in flex environment ( eclipse ) it runs fine , when i run it from my programs ( as an air program ) it gets stuck , what i was thinking is that it has to do with security issues because it gets stuck when my main swf try to loads the moduls .
View 1 Replies
Feb 27, 2010
I'm a newbby in Adobe AIR/Flex. I have developed a simple Flex web app. that through 2 Php's, can connect to a DB and return an XML result of the query. I uploaded the PHP and Flex files to my internet server, and the app. works fine. My question is: How can I make the same app. work in Adobe AIR? In other words, I have made a new AIR project, and I copy/paste the Flex code. When I run the project, it does not work and say things like:
[Code]...
View 1 Replies
Nov 16, 2011
I am writing an AIR application through which I want to open a native process 'wordpad.exe' and write data generated in the AIR application to a document.
My code is as follows:
import flash.desktop.*;
import flash.errors.*;
import flash.events.*;
[Code].....
The wordpad application opens with a blank document but it generates an error Error#2044: Unhandled IOErrorEvent:.text=Error #3128: Error while writing data to NativeProcess.standardInput.
View 1 Replies
Oct 12, 2010
We are using flex for same. (Although I know flex is meant for web application and air application is best suited for desktop clients, but due to some build issues we can't go for air applications). Now according to our use case we required to read file from local file system which is not allowed in flex application due to sandbox policy. To override it we had planned to use it in local mode (i.e. running from local file system instead of deploying in web container). So after running application in local mode it bypasses sandbox policy and allows to read local file. Eventually we requires remote services call (either using web services or blaze ds) also in our application. To avoid sandbox restriction for network access in local mode we are planning to explicitly grant network access permission to our flex application.
View 2 Replies
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
Jul 23, 2011
I read that using Flash Builder 4.5.1 you can create one application and run it on a mobile device, in Internet browser and in Desktop AIR. However, I created a mobile application and the only option to run it is 'Run as mobile application'. Is it really possible to run the same Flex application in browser and on mobile?
View 1 Replies
Dec 4, 2011
I am working on a try-out app targeting ios and adroid mobile devices and I use flex 4.6. I want to hide the app in the list of running applications. Is it possible?
If not, is there a way to change the name and icon of the app in run-time after installation?
View 1 Replies
Apr 21, 2010
I came across a very strange issue. There was a session in which no fso has been recorded. It was a session of around 110min with more then 10 users as per the logs. Flv have been recorded for the session and I can see the chat text file which has been written from server side script but no fso has been recorded for the whole session. While cross checking the logs access log and Master log i saw that the last message recorded on that particular session was around 14:47 and in master log i see following lines:
2010-04-18 14:52:56 52768 (i)2581223 Core (56012) is no longer active. -2010-04-18 14:52:56 52768 (w)2581256 Core (56012) _defaultRoot_:_defaultVHost_:::_0 experienced 1 failure[s]! 56012 is the core process on which this session was running. So is it somehow related? I mean no fso being recorded on server with core recycling? In access log these are the last 2 messages on this core:disconnect session 2010-04-18 14:52:20 Central Daylight Time 186.24.19.5 56012connect session 2010-04-18 14:52:46 Central Daylight Time 186.24.19.5 56012 FMS server version is:FMS is 3.0.2Windows server 2003.
View 4 Replies
Aug 12, 2010
Is there a way of getting the current active document path from the flash application by AppleScript? The only command available in the Adobe Flash dictionary for applescript is "do script", can I call a script to get the path of active document?
View 1 Replies
Feb 18, 2010
We're interested in putting one of our flash applications on the server back-end so that it can run as a module on the server machine (not on the client!). I know flash wasnt designed for this at all, so my question is:
1) Can I run Flash from the command prompt and pass parameters to it?
2) Can I detect when the Flash has finished running, or a way to communicate with the command prompt from Flash (to inform it once the operations has finished).
3) Can I close the flash application from the command prompt?
View 9 Replies
Dec 6, 2011
How can I find out what the current application type is? i.e. whether it's running on a mobile device or as a desktop Air application?[code]...
View 4 Replies
Nov 12, 2011
I am using an component, and currently have a dataProvider working that is anArrayCollection (have a separate question about how to make this an XML file... but I digress).Variable declaration looks like this:
[Bindable]
private var _dpImageList : ArrayCollection = new ArrayCollection([
{"location" : "path/to/image1.jpg"},
[code]....
View 4 Replies
Mar 25, 2011
Alright, I know that this error is occurring because of something to do with addchild() function. On frame 2. How do I know? Because when I remove the snippets of code that dynamically place an object onto the stage it works fine. The error is below and the source code for frame 2 is below the error messages.[code]...
View 1 Replies
Oct 10, 2011
I just updated my AIR runtime to 3.0 and noticed that my AIR application doesn't work anymore. So I tried to debug it it with Flash Builder, but when I run it there, everything works just fine. So I uninstalled the AIR runtime completely but noticed that I can execute my AIR app within Flash Builder still just fine. So the AIR runtime used within Flash Builder seems to be a different one than the systemwide installed AIR runtime. How Do I chose within Flash Builder which runtime to use and how do I update this runtime?
View 1 Replies
Nov 9, 2010
Sometimes flash seems to execute two loops faster that one loop which contains all of the actions that the first two loops contain. Does flash cash processes so that repetitive processes are performed faster if they are performed back-to-back?
View 9 Replies
Feb 14, 2011
Is it possible to have an AIR application built in Flex run as process or receive intents? For example if I wanted to make a calendar and each time there was an event at a certain time, have the AIR up which isn't running in the foreground, pop-up and inform the user that "it's time". Can it be done with the current stable versions of both AIR and Flex SDK?
View 1 Replies
Aug 7, 2011
the thing I mean cannot be probably done with the component, but I don't know how is the component I want called. I would like to achieve a list but with sort of "icon look". You could say some sort of springboard navigation.
Here is just a quick sketch in Photoshop how it should look like: [URL]
The item is the one actual item in the list or something.
View 2 Replies
May 9, 2011
i'm trying to connect my flash application to my nodejs server running socket.io. To connect via web-browser is no problem. Now the problem, when the socket-server isn't running i get an IOError in Flash what seams alright. Now when i start the server and try to connect again, i don't get an error, but the socket-server doesn't receive a connection either?!
View 1 Replies
Jan 13, 2009
Is it possible to build an application in flash that can then be exported as say an exe and then be used in the background while another application is running? I know that sounds complicated so let me further explain. I currently dj with an application and would like to create another application with flash that allows users to play some custom sounds (drops) while running the primary dj application. I believe someone out there already has created an application via flash that does this (have to read up on it more). But from the research I did do there is no way to interface with the flash application unless you alt-tab to it. Is there someone way to build a flash application that can be assigned windows shortcuts (say f1 funuctionality) while another windows application is running?
View 5 Replies
Jul 4, 2011
Is there a way to get a list of all the skin classes that are in the current application? I'm using Flex 4.5.1.
Here is the loop that I'm using now to get all the skins,
for each (var item:Object in styleManager.typeHierarchyCache) {
for (label in item) {
if (label=="spark.components.supportClasses.Skin" ||
[Code]....
The reason why is because I want to list all the skins in the application and then be able to apply them in real time so I can see what they look like.
View 1 Replies
Jan 29, 2008
i have a list cranked out from an XML file (movieclips attached to empty clip). currently it loads as the SWF launches. i can't get it to scroll because the variables won't travel outside the xml.onLoad process. what i'm wondering is once i bury this process into a button activated function, will i be able to access the list's properties? (sweet Buddha i hope that made sense...)
it seems the fundamental principle i'm struggling with is var/scope issues: how and where variables/properies can travel. i can't seem to find an explanation that makes sense from a C++ perspective. everytime i think i get it, something like this kicks me in the nuts. for those who want to dig, i'm using Kirupa's custom scrollbar modified (seemingly unsuccessfully) to my own setup. if you can recommend a different one more suited to this sort of thing, i'm open to it. if this doesn't make sense, i can attach the FLA but its a bit of a read and i'm in need of an answer before Thursday. methinks once this project is done, i'm going to hire someone for a week to fill in the gaps in my knowledge!
View 4 Replies
May 17, 2011
I am wondering what values should I put in the Process tag of Application.xml considering my application. I've done some studies but I am still unsure and would like some expert opinion To help you help me : I have a video chat application that comes with a contact list, so think skype on the web.
[Code]...
I set a RollerOver because sometimes RTMFP crashes on my server, and by putting the RollOver it seems to help, by re-newing the core process. However when clients are connected before the rollover, then they will not see their friends going online after the rollover which sucks.
View 7 Replies
Jan 14, 2010
I'm an application developer, and my standard usage of Flash is as follows: I'm creating an executable application, which contains a ShockwaveFlash object instance, which in turn is displaying a Flash Movie Clip - also created by myself. The executable application and the contained Flash clip are communicating via the ActionScript ExternalInterface (using XML strings) and the FSCommand.
I'd like to be able to debug the ActionScript code of the Flash file while I'm running/debugging my executable application. For that, I need to be able to start a remote debugging session from the Flash object running inside my executable. Problem is, I did not find any way of doing this.
When I publish the Flash SWF file with "permit debugging" checked, I'm able to start a remote debugging session when I'm displaying the file in a player or a browser (the "debugging" option is shown at the right-click menu of the Flash object), but I'm not able to do the same with the object inside my executable (the "debugging" option doesn't exist on the menu).
Environment Details: The executable application is using the ShockwaveFlash COM file to create the ShockwaveFlash object. The executable application is created using VB.NET, Visual Studio 2008, .NET 3.5. The Flash SWF file is created using Adobe Flash Professional CS4. I'm developing under Windows XP (SP3).
View 1 Replies