Actionscript 3 :: Can AIR Application Find Out What OS It's Running On
Jan 8, 2010
I was wondering if an AIR application can find out what OS it's running on, e.g. Windows XP, Vista, Mac OS, etc. Also, is there a way for it to find out the current OS user name?
View 2 Replies
Similar Posts:
Jan 13, 2010
i wrote an swf application using action script 2,i want to be able to know the file name of the current running swf file.i know that in php i have __FILE__ to get current running php file, is there something like that in flash?
View 1 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
May 20, 2011
How do I access timer.running from inside event handler?
View 1 Replies
Nov 22, 2010
why FLVPlayback isn't working properly in MVC views?I think i narrowed it down to the "hard coded" skin url file not being correct. Where should I put the skin file( e.g.skinOverAllNoCaption.swf)so that flash can find it?Or are there any alternative approaches to somehow setting the skin file dynamically.
View 1 Replies
Nov 2, 2011
I am writing an AIR desktop application which needs to know the host name of the compute on which it is running.
How do I get the host name?
View 3 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
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
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
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
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
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
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
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
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
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
Jul 5, 2010
I'm new at AS3. I'm pretty good when it comes to PHP, MySQL or HTML but I'm totally lost in AS.I have a project in Flash Builder 4 that I'm trying to add something to that was built in Flash Professional. It's supposed to loas a couple of external AS files, then execute functions from them at a certain point in the application. I know where I want the functions to execute in the application, and I have linked the AS files to "test.as" which is the main AS file for "testapp.mxml". The problem is calling the "Detector" function from inside "FaceDetector.as" which is one of the external AS files. What is the best way to do the following.[code]I want to start the script and let it do what it's supposed to do inside the application at that given time.
View 8 Replies
Sep 12, 2011
When i stated to using debugging option, its showing error that, "The Flash Builder debugger failed to connect to the running application.Ensure that:
1. For in-browser applications, you are running the debugger version of Flash Player.
2. For network debugging on a mobile device, you have a reliable network connection to the device, and port 7935 is open on your machine's firewall.
View 1 Replies
Mar 3, 2011
I'm looking for a really really small linux distribution or process of making my own that's sole purpose is to get an air application to launch full screen and stay there; Essentially I'm building a home kitchen computer that runs entirely as an AIR app.
I have looked into using windows xp; and windows xp embedded but they pose so many issues I figured I'd try modern linux.
I have also seen TinyCore Linux which looks interestingly small but not sure what issues that poses in regards to running AIR and "hardware" accelerated display. I've also thought about stripping down an Ubuntu installation but I'm sure somebody must have done this already; google is just failing me right now.
[Code]...
View 3 Replies
Sep 7, 2010
How to find where is memory leak in a flex application?
Are there some tools to catch and analyze this problem?
View 2 Replies
May 29, 2009
My Flex web application is almost ready for launch. I'm currently optimizing as much as I can in order to make sure even low-end clients are able to run it fluently. The problem is, I have no idea where to optimize more than I've already optimized. My question is, what are the usuals suspects regarding bottlenecks? What tips and experiences do you have when it comes to Optimizing a Flex app?
View 4 Replies
Dec 31, 2011
I'm trying to use google maps in my wpf c# project, I've installed Adobe Flash player but cannot for the life of me find the shockwave player object reference or when I add a new item in the toolbox find in, both in the COM lists. I had to download and install flash using internet explorer.
View 1 Replies
Feb 24, 2010
I hope i'm in the correct forum to ask this. I am trying to find the application-level configuration folder for my Flash CS4 program.
I assumed it would be in C:Program FilesAdobeAdobe Flash CS4enConfigurationComponents
But it is not. Should I have such a folder? And, if so, where should it be?
Or do I need to create it myself?
View 1 Replies
Jul 22, 2010
I need to disable all the aspects of functionality which access the client file system in a flash/flex application. I started having a look on how to do this. It appears that the package flash.filesystem need to be importated to allow the interaction with the file system. However, I did not find any reference to this package in the application. I am a beginner concerning these technologies so maybe I am missing a point here. Do I need to look into an other direction?
View 1 Replies
Sep 20, 2006
who wants to build a flash application to find the shortest path using ant algorithm. but i have not the refferrence about that?
View 5 Replies
Mar 19, 2012
I have a strange problem. When I run an exe projector that I exported from flash cs5.5, and on few of my client's computers it running very slow in full screen.When I running an swf file (not exe projector), also in full screen, it running well!I checked my clients computer hardware, and it match the system requirements of flash player.
View 3 Replies
May 11, 2009
I have a problem in Flash Site uploading.That is, i have created a flash site & in the dreamweaver i inserted the flash site as insert -> media -> Shockwave.The site is running inside the dreamweaver but when i publish it, flashsite is not running.
View 2 Replies