Join a global community of Adobe Air users and developers.
Recently active
I've found a little issue in Android...In my application I download some files the first time it's run. Since it takes a couple of minutes without user input, the screen turns off automatically. I've found some tablets not only turn off the screen but also interrupt the download altogether when going to sleep, so to avoid this I'm using this to prevent the screen from turning off (is there any other workaround to prevent downloads being interrupted by sleep?):NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE;Of course, I've also added the WAKE_LOCK and DISABLE_KEYWARD permissions to my app descriptor, so the above code works. The problem is that I don't want the app to stay awake all the time, so after the download finishes, I'm setting the screen back to normal with:NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.NORMAL;But after executing that, the screen goes off immediately, instead of waiting for a minute or so before dimming the sc
Hello all, This is such an old problem I'm surprised that I didn't find a thread for it (apart from mac help and I'm on windows). Anyway, the story highlights are:Windows crashes / restarts unexpectedly for whatever reason - power cut in my case,Restart windows and when BBC iPlayer pops up all 4 program windows are empty,Series record is still active, even though the programs cannot be seen in the main window as the pop-ups keep showing that new programs are downloading,Preferences shows that the repository folder still has everything you previousely downloaded, <----- I am here.So, what I'm hoping for is that there's some hidden cache file that's been buggered.... corrupted by the crash and that by deleting that file, iPlayer will magically get over it's mid-life-crisis.I seem to be having this problem so often, the curse of trying to OC various bits is that you have to accept that the system is unstable till you get all the numbers right. Whether it's because the saved programs fo
Sheesh, I have been scratching my head over this one for two days now.I launch the camera on an ipad 2 using CameraUI (MediaType.VIDEO) and I record some video no problems.Now, when I click the "use" button on the preview screen, my Flash app fires the necessary events and I can trace the path to the .MOV file as it should.I then use a Video() , Netconnection and Netstream to try and playback that newly captured video.. but it's not playing. I tried setting render mode to GPU and AdHoc deployment as I read elsewhere.. still no video.Here;s the part where I try and display the video:[as3]video = new Video();addChild(video);video.width = 640;video.height = 480;var conn:NetConnection = new NetConnection();conn.connect(null);//attach a stream to the video-objectvar stream:NetStream = new NetStream(conn);video.attachNetStream(stream);stream.client = new MobileClient();//play the streamstream.play(media); // media comes from MediaPromise -> media.file.url[/as3]Funny enough, it trace
This has to do with the league of legends client. I experience multiple crashes in the client and it always comes up with an adobe air debug launcher has crashed. The crashes occur randomly.Dropbox links to crash files:https://www.dropbox.com/s/r53qs5g9ecb00i6/LolClient.exe.2684.dmphttps://www.dropbox.com/s/5ypcnoinovfrp5m/LolClient.exe.2892.dmphttps://www.dropbox.com/s/1qhne0utuu876l4/LolClient.exe.7164.dmpLink to dxdiaghttps://www.dropbox.com/s/afbuicdew9yfhx4/DxDiag.txt
I am using the following code to allow users to save drawings to the mobile device's cameraRoll:var cameraRoll:CameraRoll = new CameraRoll();var bitmapData:BitmapData = new BitmapData(stage.stageWidth,stage.stageHeight);bitmapData.draw(MovieClip(root).stage);cameraRoll.addBitmapData(bitmapData);The code works as expected on tested devices including iOS 5 and 6 with an iPhone 4 and iPad 3, and various flavors of Android 2.x and 3. It does not, however, work on Android 4.x (tested with 4.0, 4.1 and 4.2 on a Galaxy Nexus). The results are the same compiled using Adobe AIR 3.2 and 3.4. Is there some magic code I should be using to save images to Android 4?My app is being compiled on Windows 7 using Adobe Flash Professional CS6 (12.0.2.529).
Hi,We currently use air 3.4 in order to create an application for a mobile installation. It works perfectly on our personnal devices (android 4.0.3) but when we try on our client devices, which run on android 4.0.4 and it seems not compatible with air. I searched on this forum without find any solution.Is there any solution to work with air on android 4.0.4? Have you any pre-release for this android?thank a lotAlexandre RivauxVisual & Interactive Designer
If you have a simple Air mxml main file like so<?xml version="1.0" encoding="utf-8"?><s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <fx:Declarations> &nb
My iOS app is slow. It was fine a few months ago. A few things have changed since then. I have changed some code and iOS updated to 5.1.1 So it could be one of those 2 things. I tried to compile the app with a version of the code that was nearly when the app was working but the app would still be slow.When I change the renderMode to "gpu" from "direct", the app works FINE and is no longer slow. The problem with running the app in "gpu" is that I play some videos (using stageVideo). So when i attempt to play the video on my iPad1, the app crashes. That was the behavior when the app was working a few months back but when I compiled with the renderMode set to "gpu" instead of "direct".I am using the latest version of AIR - 3.5 beta.Does anyone know if problems popped up when iOS updated? Does anyone have any suggestions on how to make the app run normally but allow it to play videos?thanks in advance!Jack
HiI am getting a ANR keyDispatchingTimedOut error from my app causing it to freeze.From reading around, it seems this is probably due to running expensive operations on the main thread. I suspect in my app this is from saving files to SD card.General Android support suggests pushing these operations into a different thread to keep it off the main thread. Does anyone know how I can do this using AIR?Thanks
Hello,I am attempting to make gui adjustments based on the values returned by flash.system.Capabilities. However when I test on the iPhone5 in portrait mode the values returned are screenResolutionX: '640' and screenResolutionY: '960'. I am compiling with air 3.5 in renderMode: 'gpu' and have set the swf metadata tp widthPercent: 100% and heightPercent: 100%. Am I doing something incorrectly?ThanksCJ
I've added a SWF file to the included files list in Publish Settings that I would like to load.Any ideas on how to get it to work?Here is my code:import flash.net.URLRequest;import flash.display.Loader;import flash.events.Event;import flash.events.ProgressEvent;import flash.filesystem.File;function startLoad(){var file:File = File.applicationDirectory.resolvePath("SomeFile.swf");var mLoader:Loader = new Loader();var mRequest:URLRequest = new URLRequest(file.url);var context:LoaderContext = new LoaderContext();context.checkPolicyFile = true;context.securityDomain = SecurityDomain.currentDomain;context.applicationDomain = ApplicationDomain.currentDomain;mLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);mLoader.contentLoaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, handleGlobalErrors);mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, on
I need to update my app but i can't publish my ipa anymore. On smaller files it seems fine most of the time but everytime i publish i get java Platfrom SE binary has stopped working. BEX error.I've disabled dep and that didnt work. My file is 35.2MB with ~7k library items and over 6k lines of code. Publishing worked fine a week ago, i've reinstalled java and flash professional but still nothing.This is extremely urgent i dont know what else to do. Is there a limit on library items or code?-Flash Professional cs6 with Air 3.4 sdk
This is a very simple question. Really looking for a yes or no answer here. Can you payback a video previously recorded on an Air for iOS app?No problems with this functionality on Android, but apparently there is no information on how to simply playback a video that you know the exact path to on iOS. I am stunned at the lack of information here.*Not interested in browsing to the Video...although I understand the CameraRoll browsing is not supported anyway.**I have the exact path the video, as provided by the mediaCompleteHandler, shown below.private function mediaCompleteHandler(e:MediaEvent):void{ //this is how we know the relative path to the recorded file (.MOV) _recordedFile = e.data.file;}The path to this file is not a question. Sucessfully getting a handle on that file is another story.example path: "/private/var/mobile/Applications/70518860-FB6D-4E99-AF4E-D2010C5B384C/tmp/capture/capturedvideo.MOV"Have tried using various combinations of Fil
Hi,I am having some problems publishing my app built with flex 4.5.1.For some reason the file libNativeABI.so is included in my .apk and this restrics my app to ARM 7 based units.My Desire Z sees the app on marketbut not my Galaxy Tab.Is there a way for me to get rid of this?I have installed the app manually on a galaxy tab, and it works fine, so it does not looks like it is a file that isneeded.regards,/Lars
I have a new install of Mac OS X 10.8.1 and cannot get Adobe AIR to install. I previously could not get it to install under 10.8 either.Logs that I've found are the following:8/30/12 4:04:47.277 PM Adobe AIR Installer[6985]: Runtime Installer begin with version 3.4.0.2540 on Mac OS 10.8.1 x868/30/12 4:04:47.277 PM Adobe AIR Installer[6985]: Commandline is: -psn_0_102343068/30/12 4:04:47.278 PM Adobe AIR Installer[6985]: No installed runtime detected8/30/12 4:04:50.900 PM Adobe AIR Installer[6985]: Relaunching with elevation8/30/12 4:04:50.901 PM Adobe AIR Installer[6985]: Launching subprocess with commandline /Volumes/Adobe AIR/Adobe AIR Installer.app -ei8/30/12 4:04:53.931 PM coreservicesd[34]: Application App:"Adobe AIR Installer" [ 0x0/0x9c29c2] @ 0x0x7fca6521a680 tried to be brought forward, but isn't in fPermittedFrontASNs ( ( ASN:0x0-0x9c49c4:) ), so denying.8/30/12 4:04:53.932 PM WindowServer[90]: [cps/setfront] Failed setting the front application to Adobe AIR Installer,
hiiam developing an arabic mobile software mainly on android , i am trying to show atabic text but it alwyas display as empty text , i tryied to do the resources thing but still got the same , is there a way to do it or anyone has an idea
I used to use Mochi Leaderbords before starting coding Adobe Air games for iPhone and Android. As the Mochi API doesn't have mobile support I had to find something else and found Playtomic. Playtomic is great and easy to use, BUT it's constantly down My players are complaing on how often the highscore server is down. For me it's like 6/10 times I try to view scores that it doesn't show.Anyone know of an alternative free highscore system that works with Adobe Air for mobile?
Noticed a strange behaviour after updating my ios app to AIR 3.5 sdk: The auto-orientation stopped working for rotatedLeft and rotatedRight, it only kept firing for default and upsideDown.Once I've removed the <aspectRatio>portrait</aspectRatio> in my app descriptor file all events fired again.Is this a bug or is it on purpose?To reproduce this just create a new project in FB 4.6 and AIR 3.5, set autoOrients to true and add or remove the aspectRatio part in the descriptor xml. With <aspectRatio> set you cannot rotate the adl preview window. Without it, you can.
I'm writing a Native Extension that will add Native UIAccessibilityElements in order to use the voice over capabilities in IOS. This is my first Native Extension and I have followed the amazingly helpful tutorial here:http://www.liquid-photo.com/2011/10/28/native-extension-for-adobe-air-and-ios-101/so I have a functioning ANE that can communicate with native code and add elements to the View. I am able to add many other objects in a custom View like a UIButton or UILabel, but when I add a UIAccessiblityElement i get this error in Flash Builder when I compile. Error occurred while packaging the application:ld: absolute addressing (perhaps -mdynamic-no-pic) used in -[MyView initWithFrame:] from /var/folders/5+/5+qCHDuCFg8yA8ob60zAZlkBXYk/-Tmp-/303a648c-adb7-4249-9173-ba802e88720e/.NativeAccessibility.a(MyView.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocsCompilation failed while executing : ld64I've seen this error referenced in
We have build a game to run on the mac desktop.The game was built using Flash Builder 4.6 on the pc, using Air 3.5 (was using Air 3.4 until a few days ago)I create the swf on the pc, and then copy it over to the mac mini - (which was running OSX 10.7 - updated yesterday to 10.8 in case that was the problem)Once on the mac mini - I use the Air 3.5 SDK for mac to build the .app using ADT/Users/macmini2/Documents/AdobeAIRSDK/bin/adt -package -keystore MM2.p12 -storepass PASSWORD -storetype pkcs12 -target bundle "../release/Megaplex2.app" Main-app.xml Main.swf AppIconsForPublish DataWhen I run the final app file on the mac mini, it runs without any problems. (OSX 10.7 and 10.8)I have also tested this app on a macbook pro without any problems (OSX 10.7)The problem results when we send the app to our distribution partner. They are reporting that the app is failing to launch: On my Mac Mini (10.6) it would never appear. On two of our Mac tester’s iMacs, the app icon appeared in the dock momen
Hi,I load 200 texts out of a database and display the texts in a s:list. I try to save the verticalScrollPosition and restore it if the view is active again.1. I send the httprequest <s:View creationComplete="srv2.send()" ....2. The data is displayed in the s:list<s:List id="list" width="90%" height="69%" top="{forButton.height+forButton.y+5}" dataProvider="{srv2.lastResult.uio.unumi}" horizontalCenter="0" labelField="text" alternatingItemColors="[#f1f1f1,#58bef2]" textAlign="center" change="navigator.pushView(ThuiDetailView, list.selectedItem)" >Problem: If I scroll the list, the list.dataGroup.contentHeight changes and so the
How can we find out which iOS SDK is being used by Adobe AIR?We're using Adobe AIR SDK 3.5 with Flash Builder.Is it possible to change the iOS SDK?The -platformsdk compiler argument shows as unsupported inside Flash Builder.Thank you.
Hi,I'm trying to get to the bottom of the text selection behaviour on my Android Xoom under different circumstances:1. In a pure ActionScript mobile app, selection and copy / paste is controlled through a floating control that appears on screen without resizing or otherwise moving anything2. In a Flex mobile app, selection and copy / paste is controlled through a UI bar that appears at the top of the screen, pushing the entire app downwards, losing focus on my textfield, ballsing up every bit of control I have in addition to confusing the hell out of my user whose finger is no longer pointing at the piece of text they wanted to select but rather at something else that is about a half-inch above that point...So...Obviously, I want to get to 1. for Flex - eg: I want to allow selection and copy / paste without loss of focus, without repositioning and without confusing the hell out of my user.Does anybody have any clues how I can achieve this?Thanks,G
Hi,OK, so I have a view based application with an underlying view containing a core module of my application that I want to keep available. Therefore, I have set destructionPolicy="never" to keep it in memory. This works.I also have a TextArea that I add to the view at various times and call TextArea.setFocus(); to draw up the soft keyboard on update complete. This works.I also have a separate view that I push onto my ViewNavigator to perform a couple of related tasks, then pop it off to return to the main view once I am done. This works.BUT...When I return from displaying my subview, focusManager will no longer respond to my TextArea.setFocus() call.EG: focusManager.getFocus() returns null no matter how often nor in what manner I call TextArea.setFocus();This means that I can no longer edit any text in my main view.Short of a (non-trivial and undesirable) workaround to replace the main view every time, which would mean re-architecting the core and unnecessarily reinitialising a number
My app is just a brochure. Users can download compatible files to view (DOC, PPT, PDF, XLS, MP4, etc). If a newer version of a previously downloaded file is available I'd just like to update the badge icon on the app to alert the user their downloaded resources have updates.So far all I see as a way to update a badge icon (outside previous ANEs that are said to be malfunctioning) is the new AIR 3.4 push notification updates. I see you can register to receive PUSH and if RemoteNotifier receives a notification event of type RemoteNotificationEvent.TOKEN it can adjust the badge?I only wish to set the app icons badge number manually from inside the app, after I determine if there's any resources that need updating. I don't need push services. Is there an easy means that I'm simply not seeing to adjust the badge, such as somehow faking a RemoteNotificationEvent.TOKEN event or any classes I'm not seeing inside flash.notifications.*?Thanks for any tips!
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.