FAQ Database Discussion Community


Google Play shows wrong minSdkVersion for Android app

android,air,android-manifest
I added android:minSdkVersion="14 to the manifest of my Android app to only allow Android 4+ devices but Google Play shows that my app Requires Android 1.6 and up. Is there anything wrong with my manifest? <android> <manifestAdditions> <![CDATA[ <manifest android:installLocation="auto"> <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" /> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="com.android.vending.BILLING" /> </manifest>]]>...

How to reduce AdMob Air Native Extension file size (.ane)?

android,air,admob
I have managed to include an AdMob banner to my Android AIR mobile application through an android native extension (.ane) which i coded myself. Problem is, my .ane file size is 5.19 MB. Which is too big, considering my app is ~700 kb and i also have to embed an...

AS3 variables from array not updating, even when given direct “command”

actionscript-3,variables,air,flash-cc
I hope you're well. I've a problem that I do not understand. My variables seem to update but they don't (i've explained further in context in the code below). [I'm trying to create a store where my users can buy bosses for my game]. I really hope you can help...

How and where to access a saved text file on Android Adobe Air application

android,file,actionscript-3,air
I'm trying to save a text file from my Android air application but the file is not showing in device filesystem. I'm using the below code to define the save path: var f:File = File.documentsDirectory.resolvePath('example' + example_count +'.txt'); The file should save to the sd card root but its not...

ipad does not show up in Adobe Flash Builder

flash,flex,air
I'm trying to build an Adobe Air app. On one of my computers, I was able to connect the ipad and deploy to it. Then I copied the *.p12 and *.mobileprovision files over to another computer that also has Flash Builder. I made sure flash builder pointed to these files....

AS3 Append data to local file

xml,actionscript-3,flash,air
I have an AS3 game that will be played on local desktops (not on network) and I need to save the players details after every game. I have tried a few methods (filestream, sharedObject, XML) but so far none have worked. The details to be saved are variables player_name and...

Adobe air application quits when i try to print after a function called “show bill”?

actionscript-3,flash,printing,air,desktop
I am trying to create an air application using flash profession cc. I have functions called show bill and print bill in it. When i print directly with out showing the bill adobe air application works correctly. But when i try to use the show bill function and then try...

Flash CC Air for mobile stripping Native extensions from app. xml

flash,air,air-native-extension
I have recently been handed a legacy AIR for mobile project built with Flash CC and AIR 15. The project has a few native extension libraries that are shown in the publish settings under libraries like so: My app_android-app.xml looks like this before i publish: <?xml version="1.0" encoding="utf-8" standalone="no" ?>...

JSON encoding for Flash Player 11 and AIR 3.0

json,actionscript-3,air
I have the following code: thinkGearSocket = new Socket(); var configuration : Object = new Object(); configuration["enableRawOutput"] = true; configuration["format"] = "Json"; thinkGearSocket.connect("127.0.0.1", 13854); thinkGearSocket.addEventListener(ProgressEvent.SOCKET_DATA, dataHandler); thinkGearSocket.writeUTFBytes(JSON.encode(configuration)); It works for flash player 10 but for flash player 11 I get an error saying: 1061: Call to a possibly undefined method...

Including library in AIR Native Extension causes the error, “The extension context does not have a method with the name…” for all methods

c++,c,actionscript-3,dll,air
I am working on an AIR Native Extension (ANE) for Windows desktop. The point of this extension is to be able to call out to a third-party C library, which consists of two .h files defining the method signatures/typedefs, and a .lib file. Before including the third party library in...

Adobe Flash Professional CC publishing to iDevice and receiving Installation Error: ApplicationVerificationFailed

ios,flash,air,adobe,creative-cloud
I'm using Adobe CC and am trying to make an app for iOS using Adobe Air. I have the app created and the .swf works but when trying to publish to my iPhone, I get the following error. I have tried to use the answers from similar questions and the...

When debugging on an Android device, Video objects sometimes refuse to play a Camera or a NetStream object

android,flash,video,mobile,air
I have been coding in Flash for a while, though I haven't worked a whole lot on AIR Mobile yet. That being said, when debugging on an Android device via USB, Video objects sometimes work just fine when Camera or NetStream objects are attached, and sometimes they refuse to do...

Itemrender of DataGroup won't release memory - flex(Adobe air)

actionscript-3,flex,memory-leaks,air,desktop-application
i have a datagroup compoenent in Adobe Air application and i have used custom itemrenderer in it, i attached source code of itemRenderer as well as i attached profiling of it, Question: When i come back from other module to the module which have this datagroup at that time it...

How to compile AIR iOS apps inlcuding ANE from the command line?

command-line,air,ane
I'm new to compiling AIR iOS apps with the command line. My current command looks like this: ./adt -package -target ipa-app-store -storetype pkcs12 -keystore iOS7.p12 -provisioning-profile Africa_DragDrop_iPad.mobileprovision Africa_iPad.ipa Africa_iPad-app.xml Africa_iPad.swf AfricaIcon29.png AfricaIcon40.png AfricaIcon48.png AfricaIcon50.png AfricaIcon57.png AfricaIcon58.png AfricaIcon72.png AfricaIcon76.png AfricaIcon80.png AfricaIcon100.png AfricaIcon114.png AfricaIcon120.png AfricaIcon128.png AfricaIcon144.png AfricaIcon152.png...

Create folder in explicit directory AIR

file,actionscript-3,air
Like the title says I want to create a folder in a specific directory with Adobe Air. If I use static methods of File like File.userDirectory works fine but I need to give the choice to select the directory. I am trying this: file.addEventListener(Event.SELECT, dirSelected); file.browseForDirectory("Select a directory"); function dirSelected(e:Event):void...

How to use Adobe AIR with Flex 4.6 SDK?

actionscript-3,flash,flex,air,mxml
I've been trying to use Adobe AIR 3.1 that comes with Flex 4.6 for my project. I have been receiving the error application descriptor not found. My descriptor file looks like this inside D:/Test/. <?xml version="1.0" encoding="utf-8"?> <!-- D:/Test/AIR.xml --> <application xmlns="http://ns.adobe.com/air/application/3.1"> <id>Test</id> <versionNumber>1.0</versionnumber> <filename>Main</filename> <initialWindow> <content>Main.swf</content>...

Action Script 3.0 Sound Manager Tutorial [closed]

actionscript-3,air
I'm new in programming and this is the first time i'm developing the game. So far, I already done the gameplay, splash screen, and main menu. And now, I'm dealing with Background and Sfx of the Game. Is there a good tutorial on how to put the background music and...

GUI with Web-based languages

java,android,cordova,user-interface,air
I'm wondering about develop Android and deskopt apps using Web-based languages for the GUI. I mean, tool like Adobe Air/PhoneGap use HTML and CSS for the GUI and Javascript for the service-side. Can I use Java for service-side and HTML+CSS for the GUI? I experienced with develop Android and desktop...

How to show revmob ads in my air for android app

android,flash,air,adobe,revmob
I'm making an android app with flash cs6, and I want to put some ads in it. I've found that revmob comes with the most specific guide I could find. http://sdk.revmobmobileadnetwork.com/air.html#download In the android bit it says: 'Add the required permission in your AndroidManifest.xml file by putting the following code...

fit adobe air app on smaller screen

flash,air
I inherited an Adobe Air project where almost all the UI is created via action script code. The projects dimensions are 1920x1080. When deploy this app to my first generation Galaxy Note 10.1, parts of the screen is cut off because my tablet has a resolution smaller than 1920x1080. Is...

Instagram Filters RGBA Values

ios,actionscript-3,image-processing,air,instagram-api
I need to add image filters to an iOS app that is being developed using Adobe Air. To be more specific, i need to apply the following filters (or similar): Nashville Hemingway Jarques Cross Process Hazy Days You can use this page as a reference http://techslides.com/demos/canvas/instagram.html I know how to...

How to know fast if another computer is accesible in AS3 (Adobe Air)

file,actionscript-3,air,lan
I'm using FileStream to read files in two computers that are connected in a Local Area Network (LAN). I have no problem to read the files when the others computers are connected. I'm checking if the directory exists before writing the file I'm checking if the directory AND the file...

AS3 LocalConnection: function is not firing

actionscript-3,flash,air
I'm building an AIR app that sends text string to a swf-file. When I export the sender and reciever apps to swf and run them in Flash players, everything works well. But when publishing the sender app to AIR things don't work anymore. I think the connection works, because there...

Broken Adobe Air Installers, Do I Need a Certificate

flash,air,certificate,publishing,signing
This is a multi-part question, but all to resolve the same issue. I'm trying to publish a project I've been working on but get intermittent problems with .air files that are generated. I always get the following warning when publishing my project: "There was an error connecting to the timestamp...

Adobe Air stagewebview not using useNative browser

actionscript-3,flash,flex,air,stagewebview
Hi I am creating a desktop flex application with a stagewebview that will not use the native browser instead of the old webkit. The documentation says to specify useNative as true in the first parameter like below. Anyone have an idea? I am building on windows with Air 17 and...

ActionScript 3 Error when dynamically playing audio

actionscript-3,flash,actionscript,air
I am writing a game for Air iOS. I have an audio file, saved in the same directory as my .fla file. Here is the code I am using to play it: import flash.net.URLRequest; var snd:Sound = new Sound(new URLRequest("507560_-BlastProcess-.mp3")); snd.play(0, 40); This is the error I get when testing...

How to enable iOS Adobe AIR app for TestFlight testing under iTunes Connect?

ios,air,app-store,adobe
Recently I tried to publish my Adobe Air based app for iOS. I created the neccessary stuff like distribution certificate + provisining profile. Then I packed the app using adt -target ipa-app-store... I uploaded the ipa by using the Application Loader from within OSX virtual machine. I see my app...

call Win32 API in flex to set Window Display Affinity

winapi,flex,air
I have created a Flex Desktop Application with Adobe Air. I need to protect the application from being captured. By changing the window display affinity of the application, the application can be protected from being captured. How to use win API in flex? Is there any other way to protect...

Adding testers using iTunesConnect TestFlight

ios,air,testflight
I have been developing apps for iOS using Adobe Air SDK and have been using testflightapp.com for adding testers. But now that testflightapp.com has been moved, I am having issues adding testers through iTunesConnect test flight. I upload the app to iTunesConnect using Application loader app. But even after uploading...

Reload AIR application remove Skin and background image in flex

actionscript-3,flex,air,flex4.6
I am working on AIR application. In which i Put refresh button to refresh the application. When User click on Refresh Button following code refresh my application. protected function onRefreshClickHandler(event:MouseEvent):void { var app:WindowedApplication = WindowedApplication(FlexGlobals.topLevelApplication); var mgr:ProductManager = new ProductManager("airappinstaller"); mgr.launch("-launch " + app.nativeApplication.applicationID + " " + app.nativeApplication.publisherID); app.close();...

Can I use Unity in Flash?

actionscript-3,flash,unity3d,air
I know Unity does not support Flash anymore. Recently I've been trying to bring Unity in Flash. But I'm stuck now. So I would like to ask about if it can be done. Development environment: Tool: Flash CC Language: ActionScript 3.0 SDK: Adobe AIR 17 Platform: Windows OS...

Writing in txt file on AS3 - 1120: Access of undefined property FileMode

actionscript-3,flash,air,file-writing
I am trying to write in .txt file using AS3, but unfortunately I can't compile the code. I followed several tutorials and I couldn't fix my problem. If it's possible help me. import flash.events.MouseEvent; import flash.net.URLLoader; import flash.filesystem.File; import flash.net.URLRequest; import flash.filesystem.FileStream; stop(); myButton.addEventListener(MouseEvent.CLICK, loadComplete); function loadComplete(event:MouseEvent):void { var file:File...

'Access is denied' error for HTTP get request in Adobe Air App using IE

angularjs,internet-explorer,webview,air,xmlhttprequest
I have an angularjs application that runs in a webview that is meant for a Windows Surface device (I am also using IE 11 instead of Adobe AIR webkit). I want to load a local XML file from the app and I am using $http.get() for that. The request is...

Detecting iOS/Android native accesibility features via Adobe AIR

android,ios,actionscript-3,air,air-native-extension
I'm looking to implement some custom functionality in my Adobe AIR mobile app, for users requiring accessibility features. I understand that there's little to no crossover between native accessibility features and the AIR runtime, and this is actually fine - what I'd like to do is simply detect whether or...

Air for android application runs slow after a while, what to do?

android,actionscript-3,flash,air
I'm making an app in flash Professional. It's basically an advanced avoider game, with some objects being spawned and shooting after the character and so on. When i open the app on my mobile, it runs smoothly as it's supposed to, but after a while, it runs noticeably slower, not...

Reliable video loop for Android (Flash)

android,flash,video,air,stagevideo
What I am looking for is very simple, but I have yet to find a solution - hopefully someone here can help! I am creating a public kiosk for an android tablet (HP Slate 17) using Flash CC-2014 Pro, and the screen saver is a short video. All I need...

Updating AIR application with embedded runtime?

actionscript-3,flash,air,native
I'm writing a AIR application with an embedded runtime (.app) and am having trouble finding a way to update it. I need to somehow download a new .app off a server and overwrite the existing file, and promptly restart the application. I'm clueless on how I'd achieve this. Any ideas?...

Deploy Adobe AIR app in to iOS simulator

ios,actionscript,air,adobe,ios-simulator
I'm trying to run a simple test app on a iOS simulator but I'm getting this error: Error occurred while packaging the application: [Fatal Error] :1:1: Content is not allowed in prolog. java.io.IOException: PLIST generation failed due to SAX error:org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog....

Error hanlder for FileStream - AS3 AIR

actionscript-3,flash,air,filestream
I'm saving an object to a file using FileStream. The object I'm saving has variables in it: var saveObj:Object = new Object() saveObj['FirstName']="Georges" saveObj['LastName']="St-Pierre" MY question is this: How do I make an error handler for a variable missing when I load the File? For example 'Firstname' is missing. How...

Difference between a Flash SWF file and a Flash SWF compiled for use on iOS

ios,flash,air,swf
SWF files compiled for the Flash & Air (desktop) can be easily de-compiled with off the shelf software. However, SWF files compiled for iOS are different. The header is FWS, yet the data in the file wont de-compile in any de-compiler. I am guessing that something happens during compilation for...