How to convert file name with path to short file name (DOS style) in Adobe AIR?
For example convert next path
"C:\Program Files\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater.exe"
to
"C:\PROGRA~1\COMMON~1\ADOBEA~1\VERSIONS\1.0\RESOUR~1\ADOBEA~1.EXE"
Is there any algorithm?
...
I am writing a peer-to-peer binary socket program. There are only two endpoints. One socket is listening on my laptop system. The other socket is broadcasting from my desktop system. I have a third program running on a hosted server, that is available to broker the connection between the two. My problem is that when the laptop and d...
When I Connect To My Socket Over My Intranet, Everything Works Fine:
var Sock:Socket=new Socket("192.168.1.100",2222);
But When I Set Up Port-Forwarding And Try To Connect Using My Real IP, I Get Error 2031:
var Sock:Socket=new Socket("76.18.24.118",2222);
What Am I Missing?
...
Hello,
I'm developing a Adobe AIR application using Flash Builder 4. This app needs to access a remote PHP service which is being hosted on a remote web server.
I am having troubles figuring out how to add a PHP data service which uses a remote service. I can add the PHP data service in Flash Builder as a service hosted on localhos...
I'm just starting out with my first Adobe Air project (I'm a pure AS3 developer by trade). I'm planning to build an image editor which supports layers. I'm wondering what the best way would be to store an entire project including layer data (images) to a users hard disk.
I'm wondering if there is any pros/cons in creating a custom file ...
I have next command to run from my AIR application:
chp.exe cmd /d /c ""process.bat" "params.tmp" > "log.tmp" 2>&1 && echo 0 > status.tmp" || echo 1 > "status.tmp""
It creates background invisible process and logs output and exit status of the process.bat to the log.tmp
and status.tmp.
chp.exe is a "Create Hidden Process" program (...
I'm using AlivePDF to create a PDF file, then save it to the desktop. I can then use an HTMLLoader to display my lovely PDF file.
Now, the print button in Adobe Reader works fine. However, there will be young children using the app, so I'd like to have a big "Print" button right above it.
I figured I could just start up a print j...
is there any open source third party software to install air runtime and air application.
...
I created a simple transparent app for Adobe AIR in Flash. It has not chrome, so now I need to make it draggable. How could this be done? Thanks!
...
Hi
I have tried the options given on Adobe Livedocs : adt -package -target native myApp.exe myApp.air, but I keep getting the message "-storetype required". I then try with adt -package -target native -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp.air and get the same message.
I have already created the .air file and the .p12 ...
Hi,
Is this possible with AIR (I'd really think it is but don't see any mention in the docs...) - I want to include a few files when packaging the AIR file - nothing to do with how it works, but files I want the end user to have.
eg. Say I have a folder of word docs, or pdfs or whatever - I want to put a button in the AIR file that the...
Hi, I'm testing Adobe AIR with flex, and I wanted to play a mp3 via an open file dialog, I did that :
import flash.filesystem.*;
import flash.events.Event;
import flash.media.*;
import mx.core.SoundAsset;
public var loadedFile:File;
public var channel:SoundChannel;
public var song:SoundAsset;
private function loadFile():void {
loade...
I have an AIR application set to 800px wide and 600px high. When I launch it, the window starts too small with horizontal and vertical scrollbars? Isn't this dumb? What am I missing?
Test.mxml:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="800" height="...
I'm supposed to develop animations/simulations to illustrate Computer Network concepts (Algorithms etc..).Some thing like this: http://www3.rad.com/networks/2004/sliding_window/detect.html . After done with this, I'm also supposed to develop similar animations for Operating System Concepts too. Its part of an educational program.
I'm un...
I have an AIR app that download a webpage using HTMLLoader and I want to set the value of a form input element with a type=file. I've read that this is not allowed for security reasons but I've also found a Firefox extension that does it. Below is the js function they use. If a Firefox extension can do it, is there now way for an AIR app...
I'm using Claus Wahlers' AIR Remote Updater class (codeazur.com.br/lab/airremoteupdater/). All works fine and an update is triggered if the remote version is newer. The newer file is downloaded and the update starts. However I then get "an error has occured" message: "This application cannot be installed because this installer has been m...
Hi,
I am trying to create an experimental air app where I connect to the FTP server and try to upload a file to the directory. Following is the code I am using in my AIR+AJAX app:
var s = new air.Socket("www.weblancer.in", 21);
s.addEventListener(air.ProgressEvent.SOCKET_DATA, sOk);
s.addEventListener(air.Event.CONNECT, sData);
func...
Hi, everyone.
Thank you for your interesting in my question. You can help me out from this little problem.
I am looking to buy the new hardware that is appropriate to use as development machine for multi-touch feature in Adobe AIR 2. I found HP TouchSmart series, which used in Mr.Kevin's demonstration in Adobe MAX 2009, is too expansi...
Hi, 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...
will using Adobe AIR 2 Native API/Code make the app platform specific? if so what might be the use of using AIR in such a case, so that i can have a front end using existing web technologies?
...