Questions tagged [air]

Adobe Integrated Runtime (AIR), also known as Adobe AIR, is a cross-platform runtime environment developed by Adobe Systems for building applications targeting desktop, mobile and television systems using Adobe Flash, Adobe Flex, ActionScript 3.0, MXML, HTML, or AJAX.

Adobe Integrated Runtime (AIR), also known as Adobe AIR, is a cross-platform runtime environment developed by Adobe Systems for building applications targeting desktop, mobile and television systems using Adobe , Adobe , , , , or .

Useful Links

7796 questions
2
votes
2 answers

Inserting date in sqlite db using adobe air and javascript

I am trying to insert a date value in sqlite db using air and javascript. The value gets inserted but when I try and view it, it says null. Later I found that SQLite stores date using julian format. How to convert a javascript date object to julian…
Hemanshu Bhojak
  • 16,972
  • 16
  • 49
  • 64
2
votes
4 answers

ImageMagick standalone to package in application

I'm building an AIR application using Flex where I use the NativeProcess API to resize images through ImageMagick using the convert program. Does anyone know how I can package "convert" with my application without needing to install ImageMagick on…
Fréderic Cox
  • 321
  • 2
  • 7
  • 22
2
votes
1 answer

SimController (device simulator window) disappears when I debug my SWF

This strange problem is happening for a few days, but it's wasn't before. Knowing how to show/open it would be great, I haven't found anywhere.
Marcelo Assis
  • 5,136
  • 3
  • 33
  • 54
2
votes
1 answer

Adobe AIR: Screen keeps dimming, even with KEEP_AWAKE enabled

While working on an app for Android (in AS3, exported to Air 3.2), I noticed that even with my line of code that (should) keep the device awake was not working. NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE; I use…
PROWNE
  • 39
  • 1
  • 9
2
votes
2 answers

How to clone an object without knowing the exact type in AIR for iOS

I am writing an iOS game in Flash and I need a way to clone polymorphic objects. I have BaseClass, SubClass1, SubClass2 (and so on...) and I need a clone() method in BaseClass, that will create a copy of the current object, without a conditional…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
2
votes
1 answer

Integrate Adobe AIR With C++

I'm learning C++ and before this i was reading some tutorials in the internet of the Adobe AIR development, but if Adobe AIR is so much easy to learn and C++ is a very flexible and good language it's possible to integrate those two languages in a…
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
2
votes
1 answer

check if a file exists in a folder actionScript 3

I would like to check if the file exists and if not display noimage.gif. The below is returning false in the console, can you help? ... [Bindable] private var imageName:String; imageName = "pca" + this._product.productID + ".jpg"; var…
migarich
  • 95
  • 1
  • 11
2
votes
0 answers

Cannot find lib when packaging for iOS

for numbers in (), see links at the end I am developping an Air Native Extension (ANE) in order to be able to use the burstly ads on mobile devices. As for my setup, I am using the FlashDevelop 4.0.4 and Adobe Air 3.3. I'm using Flex 4.6.0 SDK. The…
JeanSeb
  • 21
  • 2
2
votes
1 answer

How to spot memory leaks in profiler?

I have an AIR/Flex app I made, I have a few people testing it and everyone is reporting that after leaving it running for a while, it is making all there machines run very slow. It runs fine at first so this must be a memory leak somewhere. I used…
JD Isaacks
  • 56,088
  • 93
  • 276
  • 422
2
votes
3 answers

AS3: Compiler bug with inner classes and interfaces?

For some irrelevant reasons I need a class: that inherits (directly or not) from MovieClip. that implements a particular interface (let's assume here that this interface is empty since it does not change anything to the issue). and whose .as file…
Antoine M.
  • 23
  • 2
2
votes
1 answer

Using the Menu, Back, Home buttons with AIR for Android, Flash CS6

I am looking to utilize and/or disable the hard "Home", "Back", "Menu" and "Search" buttons that are present on most Android phones and honestly don't know where to start. Using Flash Professional CS6 AIR for Android. I apologize if this is…
Milkduds
  • 25
  • 1
  • 1
  • 6
2
votes
2 answers

AS3/AIR device landscape or portrait?

On startup I want to check whether the device is in portrait or landscape mode, so far I have: var startOrientation:String = stage.orientation; trace('startOrientation: '+ startOrientation); if (startOrientation == "default") …
panthro
  • 22,779
  • 66
  • 183
  • 324
2
votes
1 answer

AIR - Transfer Bitmap data to FFmpeg video

Hey I'm running into a similar problem as: Converting RGB to YUV, + ffmpeg From AIR, I figured the encoding was too long to render frames at a reasonable rate - so I exported the argb ByteArray from bitmap.getPixels(rect) directly to a file. So for…
mika
  • 1,411
  • 1
  • 12
  • 23
2
votes
1 answer

How do you make your mobile AIR app run in the background all the time?

I have created an alarm clock type application in AIR for mobile. For it to work I would think it needs to be running all the time. Basically, I need to check if it's a certain time (checking a stored value - the value could be in a local AIR…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
2
votes
1 answer

How to get type of variable? and instantiate it?

I am trying to make a function that opens a window but makes sure the same window is not already open. I want to be able to pass it a non-instantiated var or an instantiated var and it work either way. If the window is already open it closes it then…
JD Isaacks
  • 56,088
  • 93
  • 276
  • 422
1 2 3
99
100