Join a global community of Adobe Air users and developers.
Als letztes aktiv
AIR's error messages on runtime are very useful when developing and debugging an application, but the problem is that even on final production releases, errors halt the application as well.Once an application has been compiled as final release (IPA or APK), errors should not halt an application. At least not simple errors such as a null variable.For example, take this code:import flash.text.TextField;var tfTest:TextField = new TextField();var appendedText:String = ' World';tfTest.text = 'Hello';tfTest.appendText(appendedText);addChild(tfTest);This just makes the sentence "Hello World" appear in the screen. But imagine if the contents of appendedString came from a server, and for some reason the server outputted "null" at some time. That would cause the application to halt. Why? Just the lack of a string shouldn't halt the application!Try running this code:import flash.text.TextField;var tfTest:TextField = new TextField();var appendedText:String = null;tfTest.text = 'Hello';tfTest.appen
I am using Flash Builder 4.7 to build an Actionscript AIR project. The project embeds a number of png files from my local directory and I have been using absolute paths which all works fine.I have a laptop with which I want to start developing the same project - I set up a git repository that both the laptop and main pc can pull from and so I can get the source where I need it and push it back to the central repository.My problem is that the absolute paths for the embed commands don't work on the laptop as it has a different filesystem setup (Windows 8 with one drive as opposed to Windows 7 with a SSD and a data drive). I thought the solution would be as easy as using an environment variable to specify the path which could then point to a different physical directory on both machines, i.e:[Embed(source = "DEVELOPER_RESOURCES/graphics/are/here.png"]I did a bit of research and there was quite a lot mentioned about setting up resource directories using path variables which I w
Currently, the CameraRoll does not support browsing for videos on iOS or Android.A workaround is to use the File.browseForOpen to let users to pick the file from the storage (instead of opening the gallery), but this is only working on Android. So, currently, no workaround exist for iOS.Do you have any plan to overcome this limitation? Search the web and you will find many developers complaining about this.. the best solution would be video support in CameraRoll, but, if this is not technically feasible, could File.browseForOpen be supported on iOS to apply the workaround?Thank you very much.
iOS 7 added a new background mode "fetch" - reading the docs, the OS should periodically wake up the app and invoke a precise method to allow it downloading small chunck of data from remote servers.Any plans about supporting this feature? AIR SDK and runtime may support this by implementing the required methods and redispatching them to the app using an NativeApplication event (similar to the Event.SUSPEND strategy).A really nice addition to have would also be Flex polling channel integration, meaning that the remoting could adapt the polling channels could "poll" for new messages in this fetch window. This would allow for seamless integration between the iOS fetch strategy and the Flash/Flex remoting polling (probably this must be managed in Apache Flex channel set classes, if the runtime will provide the base integration with the iOS 7 fetch API).
i have developed an application with flash CS6 for Android devices.In this application i want to print a text in one portable printer whenever the user press one button.i use function pprescendprentfun(evt:MouseEvent){ var printJob:PrintJob = new PrintJob(); if (printJob.start()) { if (pprescprincontent_mc.width>printJob.pageWidth) { pprescprincontent_mc.width=printJob.pageWidth; pprescprincontent_mc.scaleY=pprescprincontent_mc.scaleX; } printJob.addPage(pprescprincontent_mc); printJob.send(); } }but it doesnot work does any body have solution????
I have an Air app for iOS that has always built just fine. Recently, I accidentlayy included a bad file as an ANE. I replaced it and re-entered the path, but now when I try to publish the app, I get this error:Error creating files.C:\Users\XXX\AppData\Local\Temp\nefertiti_slots_ANE_Cache\._com.milkmangames.extensions.GoViral.ane is not a valid ANE file.This happens whether or not I have the valid ANE file present and included.
Hello,I tried many time to install Air but I always failed...They keep telling me that I need administrator rights, but I have and i launch the installation with them.I tried many ways (like using this as told : http://support.microsoft.com/mats/Program_Install_and_Uninstall/en-us but it didn't work as well, the program is uninstalled - I need to install it again -, and it doesn't appear on the installation programs...) and searched everywhere but without success ; that's why I finally decided to ask here.Thank you for your help.Shisma.Here is the Install.log :[2013-10-07:23:01:32] Runtime Installer begin with version 3.8.0.1430 on Windows Vista x86[2013-10-07:23:01:32] Commandline is: [2013-10-07:23:01:32] No installed runtime detected[2013-10-07:23:01:42] Relaunching with elevation[2013-10-07:23:01:42] Launching subprocess with commandline c:\users\shisma\appdata\local\temp\air46a1.tmp\adobe air installer.exe -ei[2013-10-07:23:01:43] Runtime Installer begin with version 3.8.0.1430 on
Does anyone know of a way to see which search terms users are using to find our apps in the Google Play store and/or the Apple App Store?Thanks in advance for any input!
How much work would it be to expose the FCSH (Flex Compiler Shell) capability in the ASC2.0 command-line compiler? Obviously the functionality exists because Flash Builder uses it for fast compile times, but it's not availble from the command-line (aka, there's not an fcsh executable in the ASC2.0 compiler).Is there any chance of this happening?Thanks,-Jeff
This may be something with iOS 7, but I'm seeing our apps ask for access to the microphone at launch. What triggers this? We aren't using the microphone in the app. At least not that we are aware of.Edit: We have 12 apps in the App store. All of them launch with a warning requesting microphone access in iOS 7. You can choose don't allow because the apps don't use the microphone, but we need to figure out how to remove this. Our apps range from air 3.5 to 3.7 I believe. It's affecting all them in the same way. They all show up under the privacy tab in iOS 7 with a toggle.
I am making Air version for IPad of a Flex application. My flex application needs session from an secured enterprise proxy, without that session none remoteObject requests can pass the proxy and reach blazeDS. My solution for flex works fine: calling an enterprise servlet at application´s startup to obtain a cookie session. I use a POST call to the servlet using URLRequest (sending the user and password parameters), the servlet responds with a message with a session cookie, and from that point, without me having to code anything more, my flex application get that cookie with the session that automatically is loaded in my browser cookie stack, and that transparently is used from all my subsequents remoteObjects calls in the flex application.In my Adobe Air Ipad version, this just does not work, the session or is not storaged or is not attached with subsequent remoteObjects requests. - I´m forcing request.manageCookies = true- I´m working with the IOS simulator (Is there any
Is it possible to detect the total amount of device memory without a native extension on Adobe AIR Mobile? Hoping to detect low memory devices and turn certain features on/off.I am aware of System.totalMemory and System.freeMemory but that only give you what is already allocated to Flash and I want to know what the device itself has.Thanks!
When I check this box and publish .. at the very end of the compile I get an error saying to check if there is enough free space on the device. There is 20+ GB free space.
I do not know how to reach a forum where I can enter my question - I would be grateful if someone could direct me how to do this, please!My question is:-I keep getting a popup that I require to install Adobe Air. I have researched Adobe Air, and I do not use any of the Programmes or actions which Adobe Air is supposed to emhance. How can I stop this popup appearing, it is quite annoying!Thank you for any asistance.CxZAR
Hello guys, I'm pretty new in developing for Android via Flash and Air. I was used to using Flash on Actionscript 2.0 so now I'm facing some troubles readapting to the new AS3.I created an app for both desktop and Android which uses a form sent via PHP. On the desktop it's working OK, but on Android no data is sent.Here is the code used:submit_btn.addEventListener(MouseEvent.CLICK, sendMessage);function sendMessage(e:MouseEvent):void{ var my_vars:URLVariables = new URLVariables(); my_vars.senderName = name_txt.text; my_vars.senderEmail = email_txt.text; my_vars.senderPhone = phone_txt.text; my_vars.senderAge = age_txt.text; my_vars.senderParent = parent_txt.text; 
Hi,With 3.9, I am suddenly seeing "iPad"+wireless signal, time and battery status displayed across the top of my app in black (see screenshot cutout below).Is there a way to turn this off? Is it a bug?G
Ok this one is weird:I have an app, and at runtime I load a swf (out of possible 2) based on the hardware (iPhone vs iPad). When I run a debug build on the device, both devices work. When I make Final Release It only loads the iPad swf. When run on the iPhone it just stops at ~93% when loading and does nothing; no error event, no throws. This is what my dir structure is like:bin-debug -main.swf -assets -iphone -mySWF.swf -ipad -mySWF.swfNow for the punchline: if I rename the "iphone" directory to "i1phone" so that it is listed above "ipad" folder (because iOS sorts it alphabetically, or whatever) the iphone swf now magically runs! And yes, you guessed it, it stops wor
Whenever I close the target window in flash and open it again it jumps back from my selection "iPad" to "iPhone and iPad" I build it and grab the build command from the console and pass the edited content through terminal. I'm not sure if I just need the valid syntax for the app descriptor xml for iPad only. I'm also not sure if iPad only is baked in to the other files any idea? Finally when submitting to the store the binary fails and I get the email for iPhone 5 Optimization Requirement asking for the 568h size modifier eventhough this is not an iPhone app I have no idea what to do.Thanks,Brian
Hi all!I have a problem that I can't seem to solv. The user copys an image from the camera roll to the applicationStorageDirectory: function browseTexturesClicked(){ textureFile = new CameraRoll() textureFile.browseForImage(); textureFile.addEventListener(MediaEvent.SELECT, onTextureSelected);}function onTextureSelected(evt:MediaEvent):void{ loadPreset = false var promise:MediaPromise = evt.data as MediaPromise; textureFile.removeEventListener(MediaEvent.SELECT, onTextureSelected); mobileTextureLoader = new Loader(); mobileTextureLoader.contentLoaderInfo.addEven
Hello all,we are developing a multi-platform offline business-to-business app in AIR. The 1.0 version is currently in the Apple AppStore: https://itunes.apple.com/nl/app/efashion/id659451223?l=en&mt=8We are working on the 1.1 update, but when we compile with AIR 3.8, we run into some unexpected behaviour that doesn't happen in AIR 3.7. The scenario is like this:- when a user logs in for the first time, the app downloads a large XML database (database.xml). When complete, the file is stored in the local filesystem.- then, a second XML file is loaded, containing a stock update for the database (stock.xml).- in AIR 3.8, when we start loading the second file (_loader.load(request);), the first XML is modified unexpectedly. Whole XML chunks disappear, tags disappear, XML chunks pop up elsewhere in the tree, etcetera, rendering the database.xml file completely unusable. In AIR 3.7, everything is fine.I've tried reproducing this bug in a simpler project, but haven't been able to do so yet
Anyone getting this error message after the iOS 7 is updated to our iDevices?I am unable to push my apps onto devices now to test after the iOS7 patch. =/
I was having issues with installing my app on iOS 7 and after researching for 3 days within the forums, I realized that one of my folder in the project is named 'resources', which caused the issue where the files are unable to package into the ipa.Just sharing here in case anyone has the same problem too!An shoutout to sinious with his further explanation : Just like AS/AIR has reserved keywords, there are reserved file and folder names. One of which is as pointed out, 'resources'. Where megapixel_sg is mentioning this is located is in the files you tick off to 'package' with your app. Make sure you have no folders named 'resources'. A couple other obvious folders are 'META-INF', '_CodeSignature', 'en.lproj' and anything else you'd see auto-generated. Chances are low on the latter named folders or files like 'MainWindow.nib' or 'ResourceRules.plist' but to know all of them, just make a brand new AIR for iOS app and export it directly to IPA (no code, nothing) and see the files/folders
Seeing some regular enough crashes on 2 Nexus 7 tablets running Android 4.3.The stack trace from the Google Player crash reporting is below.Reproduced by watching a video for a few seconds backing out of it and entering a new one.Not 100% reproducable but have seen it a number of times.java.lang.NullPointerException at android.widget.FrameLayout.onLayout(FrameLayout.java:400) at android.view.View.layout(View.java:14289) at android.view.ViewGroup.layout(ViewGroup.java:4559) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:14289) at android.view.ViewGroup.layout(ViewGroup.java:4559) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525) at android.widget.LinearLayout.onLayout(LinearLayout.java:1434) at android.view.View.layout(View.java:14289) at android.view.ViewGroup.layout(ViewGroup.java:4559) at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
Hi all!I'm having a problem and I hope someone can help me. I would be so grateful.I have a desktop app where the user can upload a texture to a model (using away3d). I'm saving this texture so the user can load it at a later time. My problem is when I try to publish to ios. I have change file to cameraroll, so browsing for the image works. The problem appears when I try to save and apply the texture, I think the problem is when I try to create the ByteArray. Here is the code that works for the desktop (iv'e added some code to the final function so the texture that is uploaded doesn't have to be aspect 1:1):function browseTexturesClicked(){ textureFile = new File(); textureFile.browseForOpen("Open", [new FileFilter("JPG", "*.jpg")]); textureFile.addEventListener(Event.SELECT, onTextureSelected);}function onTextureSelected(evt:Event):void{ loadPreset = false textureFile.addEventListener(Event.COMPLETE, textureLoaded); textureFile.load(); textureFile.removeEventListener(E
I am exporting a game for IOS in Flash CS6.I have isolated classes, except a framework for static utilities that do not clash, but I still get this message when exporting for IOS.AIR for desktop, even with ApplicationDomain.currentDomain works and does not give any error. Same on android.When I export the same exact project for IOS, it triggers that error randomly in different parts.All related with a call to a method on superclass, the instantiation of an internal class, or of a Vector typed to a custom internal class.TypeError: Error #2007: Parameter Possible symbol clash in multiple swfs, abcenv must be non-null.The line that triggers the error:return new RouletteChoserItemDev(num, data); Any help is appreciated.UPDATEI have changed the code into:var item:RouletteChoserItemDev;var MyClass:Class = RouletteChoserItemDev;item = new MyClass(num, data); Now I get this funny error:Error #1034: Type Coercion failed: cannot convert device.plugins.rouletteLobby::RouletteChoserItemDev@6284bc9
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.