Flex :: ActionScript 3 - How To Get Self Process ID In Desktop App
Jul 31, 2011
I create a Flex Desktop App by Flex builder 4. I want to log some debug info into a file , named by process id
//var pid:int = NativeApplication.nativeApplication.getPid() ??
var logFile:String = "/var/log/MyApp_"+pid+".log";
Is these any API to get pid in Flex/ActionScript3?
View 3 Replies
Similar Posts:
Jun 28, 2010
I have a Flex AIR2 application which uses native process to run CMD.exe. Application running fine on WinXP, Win R 2008 server. But not running on VISTA 64 bit OS. Flex not able to run CMD.exe when application installed in C:Program Files (x86). When I run application as Administrator mode it is working fine. Below is my code, I want to start cmd.exe as Administrator.
[Code]...
View 1 Replies
Mar 31, 2011
I posted the same question but I think it was not so clear. Now I am rephrasing my question with real problem.I have a flex application. It is basically a web application. On it I have a player that play avi files and some buttons and tabs along side.The application also have recording button that records that direct stream from an IP cam and store that stream on the media (USB). How can I automate function testing of such application. Like I have confusion that when I press the recording button but can I be sure that recording starts? I have tried RIATest and flexUnit 4.
View 2 Replies
Jan 22, 2012
I have a drop down list for selecting the titles for a person, I want to employ smooth drop down when i select the drop down menu.
View 1 Replies
Apr 21, 2011
I have an Adobe AIR/FLEX app packaged as a native installer application running on the desktop. From there, I need to do the following:
a) stay in the "app:" application sandbox so I can load "file://" JPGs into my mx:HTML control
b) authenticate with my server (CAKEPHP) to get a valid CAKEPHP Session Cookie, and
c) securely GET/POST XHR requests from javascript.
Can I authenticate using something like OAUTH or Facebook Connect without losing the application sandbox? It seems if I redirect from my mx:HTML, I lose my local privileges.Can I authenticate with my server using a different sandbox (remote?) and safely pass the Session Cookie to my application sandbox? Are either of these methods safe against scripting attacks?
View 1 Replies
Jan 4, 2010
i'm new to creating desktop applications. I've a working site in php with mysql support. I want to convert this site into a desktop application. Is Adobe AIR or Adobe Flex better?can i use php as such in both AIR and Flex? or should i convert them to xml or something which it uses?
View 3 Replies
May 16, 2010
I have only worked on web apps for my whole career.I'm starting a new desktop (Adobe AIR) app project but I found myself having difficulties with:
stuck with thinking about overall UI design in the traditional page model
not sure how to handle the navigation part in the UI
not taking advantage of states
deciding what should be implemented on client vs server side, (or on both?).
View 3 Replies
Aug 17, 2010
Suppose I develop an application with the logic as a CLI program that can be compiled to various platforms. To add a GUI, I could develop native versions separately for each platform or I could use a cross-platform tool like Tcl/Tk, wxLua, or PyGTK. Some people, like Bruce Eckel and James Ward, promote Flash/Flex on Adobe AIR for this.[code]...
View 1 Replies
Aug 10, 2009
if someone presses ctrl +alt +delete or any kind of shutdown hook from any os and delete the flex process from task manager then how can i track from that flex process application that killing that flex process was activated so i like to do some processing before killing this process.
View 1 Replies
Jan 10, 2011
I need to process this chain using one LoadXML method and one urlLoader object:
ResourceLoader.Instance.LoadXML("Config.xml"); ResourceLoader.Instance.LoadXML("GraphicsSet.xml");
Loader starts loading after first frameFunc iteration (why?) I want it to start immediatly.(optional)
And it starts loading only "GraphicsSet.xml"
[Code]...
View 2 Replies
Jul 10, 2010
building a desktop app that can compile java, c, c++ files and display the results using the flex app
View 3 Replies
Nov 2, 2010
Can Flex be used for a desktop application whose business logic is written using Java? Everything I've read about flex uses a remoting or http protocol to communicate with the backend via a J2EE server, so I'm not sure how that would work for a desktop app (unless an embedded j2ee server was running in the app).
View 4 Replies
Apr 3, 2012
I want to create a simple desktop admin application for an IOS app that will work with a REST api I've built.Couple of years ago I would go with Flex/Air, just makes it very simple. But since I am butt-hurt with the way Adobe have handled Flash in general, I am looking to write it using some different tool.So far, Java Swing looks rubbish (UI-wise I mean). Others aren't cross platform and often too complicated.
View 1 Replies
Sep 6, 2011
It could run a native process in an adobe air application by enable extendedDesktop.
But if create an flex library, does it support running an native process. If yes, how to configure it?
View 2 Replies
Oct 11, 2011
I'm looking for suggestions regarding implementing process flow / work flow management in a PureMVC based application. Our Flex application includes a number of processes such as account creation, payment processing, etc. Within our team, there is some discussion of how rigidly we should adhere to the PureMVC model. Within the PureMVC model, it seems reasonable that the current state in the process could be managed in a Proxy. Commands are clearly responsible for processing the actions required of each node and for node transitions. Mediators for managing the UI.
However, I think that there is an important bit still missing here: a ProcessController. The approaches we've reviewed all seem to either violate the PureMVC model (even just slightly) or make unreadable code. A proxy would maintain the state of the process. As such, it seems to be an appropriate way to implement the controller. However, this is putting a lot of business logic into the proxy.
[Code]...
View 3 Replies
Apr 6, 2010
For an internship, I'm gonna have to develop a desktop application. The focus is creating a rich UI ( cool effects, sound etc ). Which tech should I go with ?
- Flash ? ( in this case, shoud I go with a flex project ? AIR ? what is the gain between this and a simple raw flash project )
- C#/Silverlight ?
View 5 Replies
Jun 3, 2010
I'm pretty familiar with using Adobe Flex & AS3, and compared with writing apps in JS/HTML I think it's very cool. However, since AIR is essentially a non-browser version of Flex with benefits like local storage, it seems to be competing as a cross-platform desktop application platform... and in that space it's much less mature than more established desktop technologies.
So what's the advantage of creating a desktop application using AIR compared to something like Java (or C++ using a cross-platform GUI library like wxWidgets)? Java's equally capable of communicating with the server for instance, I'm not quite sure what AIR adds when competing head-to-head in the desktop development world?
View 5 Replies
Sep 23, 2010
Has anyone got any experience will loading SWC / SWZ's at runtime within a Flex 4 / Air 2 desktop application?The very rough idea would be to have a desktop Air app, which is able to "download" additional modules (eg, a SWZ/RSL representing a form) and load these at runtime?
Imagine the App is configured using an XML file obtained over the net. When this has instruction to get a new module (SWZ/RSL), the app will download the module to its App Storage folder, and instanciate it at runtime?The Flex Manual seems to indicate this is possible, but is talking web rather than desktop http:[url]....
View 2 Replies
Jan 18, 2011
I recently got flex builder 3, and it seems to be a really cool IDE.
View 4 Replies
Sep 14, 2011
I want to save published streams on my application server, so I can use the videos to create a webcast presentation later.P.S. I may be sounded like I already have an application up and runnning, but I don't. I'm at the planning phase at the moment and trying to decide what/which technology to use.
View 2 Replies
Feb 10, 2012
i want to know if it is possible to create GUI for java desktop based application in Adobe FLEX.
or any other powerful framework to make rich GUI interfaces for Java desktop applications.
View 1 Replies
Jun 28, 2010
For an internship, I'm gonna have to develop a desktop application. The focus is creating a rich UI ( cool effects, sound etc ). Which tech should I go with ?- Flash ? ( in this case, shoud I go with a flex project ? AIR ? what is the gain between this and a simple raw flash project )
View 13 Replies
Feb 8, 2010
I've noticed that, recently, builds in FlexBuilder have been taking much, much longer than they used to (30 or 40 seconds, as opposed to 3 or 4). What is the simplest way of profiling these builds to figure out what is taking so much time?
View 4 Replies
Aug 3, 2010
suggest a tool or component to integrate with web based application with a workflow or business process designer ...
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
Apr 6, 2011
What is the best solution for multi threading in flex, I notice if I play a mp3 in flex and do something else at the same time something ends up giving out, either the song stops playing or the UI hangs for about a split second. It doesn't have that fluid response that I am looking to achieve. If possible I would like to call a multi threaded java class to do some of the client-side end back end processing. I just don't know if that is possible.
View 6 Replies
Apr 26, 2011
I dont know how to show the current progress in progressBar component when the process is a loop that requires a lot of seconds to do the job. Inside the loop, i setProgress and update the progressBar label in every cicle, but it is not shown up to the job is done. I dont need this, because i want to see the advance of process.
View 2 Replies
Aug 18, 2009
how this can be achieved? It needs to work on all resolutions .. is there any parent/stage object available to find out the resolution of the system?
View 3 Replies
Oct 28, 2010
I use Flex 4 wish I can let users drag/drop photos from their computer to the web app to upload them automatically.
View 2 Replies
Sep 29, 2009
I have Flex call a C# dll which starts a long batch process (10 minutes). This process is actually a PERL program which periodically outputs progress messages. I want to be able to stream these messages back to a text area in Flex.
View 1 Replies