Join a global community of Adobe Air users and developers.
Als letztes aktiv
Hi all,I've been battling with input TextFields on iOS for a few days now. Maybe someone here will have some insight!This happens using AIR4.0 and AIR 3.9 (haven't tested older) on iOS7 (iPhone 5) and iOS5.1 (iPad 1) (haven't tested others).I create an input TextField and place it on the stage, then set focus to it like this (some setup code ommitted for visibility):_inputTextField = new TextField();_inputTextField.type = TextFieldType.INPUT;addChild(_inputTextField);_inputTextField.addEventListener( FocusEvent.FOCUS_OUT, loseFocus );_inputTextField.addEventListener( KeyboardEvent.KEY_DOWN, keyDown ); _inputTextField.addEventListener( Event.CHANGE, inputChanged );stage.focus = _inputTextField;_inputTextField.setSelection( _inputTextField.text.length, _inputTextField.text.length ); // Place cursor at end_inputTextField.requestSoftKeyboard();Here is what happens on iOS:1) If there is text in the textfield, this code works perfectly.3) If the text field is empty, the problem below o
Hello all,I have an air app/badge install setup. The badge install is very significant because it passes data from browser to the air app. Recently the app is being blocked on OSX Mountain Lion, and up, due to GateKeeper restrictions which flags it as "from an unknown developer". This is because the app is not signed with Apple's "Developer ID Application" certificate. I bought the cert from Apple and now I am stuck on how to sign the .air app with it. I did try to export it to p12, and was able to sign it, but the app fails to install and has the famous errorID 5022 and the app exits with code 7. There are no other installation of the same app on the system, and signing it with another cert works but its blocked by gatekeeper in the badge installation process.Is there a specific way to sign the .air package with apple's cert? Are there any alternatives to the .air package that would still permit the badge install?Thank you in advance for all your help.
Dear all,We have our own app which is bult on Flash and it needs installation of Adobe Air on tablet. I already read those posts about 4.0 Air is not supporting P5210 as the x86 chip.One of our clients who purchased a few 5210 and updated Adobe Air on one tablet in last December - then he reported our app is not working as giving him the error -42 while installing Adobe Air. However, he advised that for those tablets are still sitting version 3.9.0.138, our app still working fine. I again checked with the module and Android version and the below is the reply:Not working tab isSamsung Tab 3 model GT-P5210Android version 4.2.2Working tabModel GT-P5210Android version 4.2.2The only one difference is the Adobe air version as I know.My question is, I tried to get him to install the previous Adobe air version however he received error while installing. Is there a way to revert back to an old version and satisfy him as well as other tab 10 users?Cheers,L
Hello to community!I am having problems of memory leaks with an app I had build. After using it for 30-40 min it begin to go slow and slow.The app show images as a catalog, but when I push and pop the views my memory rise a lot.I think I am deleting all my oibjects setting them to to null and disposing all de bitmapdata that I use so I think that the problem should not be there.I have 3 views in my app menuView.mxml,categoriesView.mxml and productsView.mxml.My App begin in my pc (not in tablet) with TotalMemory: 47Mb and Private Memory : 88 MBAfter pushing and poping the views for 5 times I get TotalMemory: 61Mb and Private Memory : 101 MBImagine if I do this for 20 times, all the app begin to go very slow in my Ipad or my Samsung Galaxy Tab.Why is this happening? I have no idea how to solve this.Thanks a lot!!I put some code below.Whe I am in menuView i use the following code to push the view from menuView to categoriesViewprotected function button3_clickHandler(event:MouseEvent):void
I'm using FlashBuilder 4.7 and the release of AIR 4 on Windows 7 to package for iOS...As soon as I include 3 or more ANEs I can no longer compile to iOS (and also use the new "useLegacyAOT no" command). When I try I get an error "The input line is too long. Compilation failed while executing : compile-abc"I found a couple other similar issues. One post suggested instead of pointing to individual ANEs (in Package Contents) to point to a folder instead--but this doesn't fix the Another post for a slightly different problem said it was fixed in the release of AIR 4.Any ideas? I wonder if I move my AIR SDK to a simple path (like "c:\air\adt.jar" instead of "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\lib\adt.jar") if it'd help. Thanks in advance!
Hi all,I've never had this problem before, and been developing AIR apps for mobile for some time (with this exact same code). It may be due to AIR4.0 BETA, which I am using for this project.On iPhone 5, the following code will tell me that the stage size is 960 x 1524:// Scaling and positioningstage.scaleMode = StageScaleMode.NO_SCALE;stage.align = StageAlign.TOP_LEFT;stage.quality = StageQuality.HIGH;// Screen sizescreenWidth = stage.stageWidth;screenHeight = stage.stageHeight;However, after a rotation event, the stageWidth/stageHeight is reported as 640 x 1136, which is what I've always had in the past. This is also the value I would expect from the code above (which is run directly on start-up of the app).I can't ask my users to rotate their phone every time they start the app, so does anyone know a way to get the correct stageWidth and stageHeight from the start?Cheers,Peter
I did some comprehensive testing on various Android Versions regarding Asian/Arabic Fonts. It seems that less and less fonts are displayed correctly towards the newer Android Versions. I made tests for spark label, textarea and button. You can see the results here: I marked with green and red, correct and wrong display of the text. The problem with Arabic is the text direction. Below is the code used. Compiled with Flex 4.11 and Air 3.9. I played around with a few other SDK versions but basically with same result. I think this needs urgent attention, especially as more and more updates for Android 4.3 and 4.4 will come out soon. I will post the same at the Apache Flex forums as I am not sure who is responsible for fixing this. <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" &nb
Hi,After Adobe Reader and Acrobat updated to v11.0.06 I've started getting the following error message when I try to load PDF file into my AIR application on Windows (Vista and 7) machines: "There was an error opening this document. This file cannot be found."I'm loading PDF just like it's been described in Flex/AIR documentation. HTMLLoader loads html that looks like: <html><body><object id="PDFObj" data="app:/pdfs/test.pdf" type="application/pdf" width="100%" height="100%"></object></body></html>The file is in place and I've tried opening it from the Reader itself without any errors. When I uninstall Reader XI and install Reader X instead everything comes back to normal and the file is opened without an error.What was changed in the Acrobat/Reader 11.0.06 that it prevents PDFs from being opened from AIR application? Or was it changed even before 11.0.06?Kind regards,Roman
We develop an AIR application which runs both on Windows & Mac.Distribution is done using a signed AIR package.Installer can be downloaded from www.genomecompiler.comSince Apple released Mountain Lion, gatekeeper prevents our installer from running and we must instruct our users to change their security settings - Allow applications downloaded from anywhere.Additional information from apple: http://support.apple.com/kb/HT5290I purchased an apple developer license and should have all the information needed.What should I do in order to sign an AIR package using an apple developer ID?Thanks,Roy
Hi there,we try to make a mobile app in which the user should be able to record a sound and after that it should automatically play that sound.This should be possible but we want to transform the sound so the voice is "sweeter" (higher).Is this possible?Has anyone already made some experience with this?Bestomi
For ages now I have messages on the screen to ask me update Adobe Air. I try to do this following the instructions but all get is this "error please contact your administrator" I have Windows 7. What is going on?
Hi,i want to zoom in into a movieclip.The zoom should zoom in the area where the gesture was taken.In this moment i scale the movieclip and set the new x and y coordinates by myself.This one works not as i wish.Any ideas?Best regards
Hello,I'm using the GameInput class on OUYA to use the controllers. When calling GameInput.numDevices, I get 1 (for the controller I have connected), but when asking GameInput.getDeviceAt(0), I get a null.I've tried with AIR 3.7 and 3.8 beta. Is there anything I can do to fix this?Thank you in advance!
Hello everybody!Firstly, Sorry for my poor English.I am doing an air for android app, and I have a problem when I try to load a video included in my apk.When a mobile phone try to load the video, the screen is black for one second.I would like to know if It is posible to make a preloader or any solution to avoid the black screen.Here you can see the situation: www.youtube.com/v/KoJ2D2eHknUAnd here my code:var mNetConnection:NetConnection=new NetConnection();mNetConnection.connect(null);var mNetStream:NetStream=new NetStream(mNetConnection); video.attachNetStream(mNetStream);mNetStream.client=this;mNetStream.bufferTime=0; mNetStream.play("video/angela.f4v");mNetStream.addEventListener(NetStatusEvent.NET_STATUS, onNetStreamStatusEvent);function onNetStreamStatusEvent(event:NetStatusEvent😞void { if (event.info.code == "NetStream.Play.Start") { trace("NetStream.Play.Start");
I'm running into a bottleneck with this app I'm working on and I'm hoping the bottleneck is happening with some raw number crunching on the file loader... since I do that number crunching in a Worker on desktop and it works fine there (though it might be for other reasons too...)So I'm thinking of writing a native extension which will load a file and pass some data back when it's ready, in chunks, via a thread that won't interfere with the main swfA couple questions1) is that possible2) I'm lost with Objective-C... I'm happy to learn the syntax and whatnot, but figuring out the whole ecosystem there is a bit daunting just to do this. Any idea where to look for some boilerplate code that does the following, all in a separate thread:A) Wait for 4 different types of commands from main swf: Set file path, Set Position, Read next N bytes, Close fileB) When Read next N bytes is called, it sends it back via an event or something that won't tie up main swf.Thanks!Similarly, are native ex
I am noticing that on some devices, requesting a context3D ( via stage3D.requestContext3D( "auto", Context3DProfile.BASELINE ) ) can be particularly slow ( like: 15 secs on the Nook Color ! ). This is just for requesting the context. Uploading textures to the GPU, afterwards, is nearly instantaneous by comparison.What I would like to do is give the user a hint that the app has not crashed and is still initing ( 15 secs is a long time to wait when nothing is happening! ). Unfortunately, I have determined that while the context is being requested, no screen refreshes occur ( no enter_frame events ), so I can't even do a little loading gage animation.Instead of using an enter frame handler to animate my loading gage, I also tried using a timer with timerEvent.updateAfterEvent(), but that didn't force any refreshes either while the context was being requested.Any ideas?
Hi,I'm testing touch input control on a Samsung Smart PC Pro (ATIV Tab 7) running windows 8 and air 3.9 (overlayed in flash pro).I can successfully listen for TouchEvents (though having the reported issue of not getting a TOUCH_MOVE) and GestureEvent.TWO_FINGER_TAP.I do not get any TransformGestureEvents, although Multitouch reports pan, rotate and zoom as supported.Can someone point me towards what i'm missing here?Thanks a lot!
Hey Guys,SOOMLA is looking for Adobe AIR devs to create more value for AIR game developers. If you want to help us give more to developers out there please contact us at: refael@soom.laCheers!Refael
Hi,I am creating a desktop AIR application and a mobile "helper" application running on iPad.I would like to be able to send messages from the desktop app to the iPad app and vice versa. I have looked at different options but can't seem to get this to work.Using AIR 3.8 I have tried:- ServerSocket / socket => Able to setup the server socket on my desktop but the iPad can not connect to it (IO_ERROR)- P2P: Using netconnection rtmfp but though both desktop and ipad successfully connect the members count for the netGroup is always 1 and I get no neighbour connected event.How should I do this? Is it even possible?If I click a button on my desktop app I would like the iPad app to respond by showing a URL which is passed.Just spend hours on this without any luck. How to connect via the Wifi network without knowing any IP addresses?Here is my desktop code:private var server:ServerSocket;
Happy to announce the release of our new iOS title "Bardbarian" which is built using Starling and Spriter:http://www.bardbarian.comIt's currently featured by Apple in the main "Games" section, and just received Game of the Week from TouchArcade!!http://toucharcade.com/2014/01/17/toucharcade-game-of-the-week-bardbarian/Go Flash! Thanks to the Adobe Runtime team for all their hard work and such an amazing product. Keep up the good work!
I'm at the hair-tearing out end of stuck. Any help would be greatly appreciated.I've developed an app using Flash CC configured to deploy on AIR 3.8 for IOS. Now I'm stuck on the final hurdle: submitting the app to iTunes connect.I successfully uploaded the application - aside from some warnings about icons of size 120, 76 and 152. And then, immediately after I get an email that reads as follows: -Invalid Signature - Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target.I've checked, re-checked and doubl
Using ADT, can a DMG file be created on a Windows machine?When I try, it creates a file but on a Mac it comes up as image not recognised.
I'm working with another developer who builds native iOS apps and I wanted to provide some functionality that Air has as part of an app they are building. Is this possible? Would it need to be done the other way around? The Actionscript 3 library I'm hoping to get access to from the native app is Away3D.
HI,As you may know, with AIR4 it is now possible to massively reduce the packaging time by including the -useLegacyAOT no tag.Would anyone know if it's possible to use this when packaging through Flash CC?Thanks,Mark
I am using NativeProcess and am required to include <supportedProfiles>extendedDesktop</supportedProfiles> in the app descriptor.This works fine in the debugger but when I go to export a release build, I get the following error:'Error creating AIR file XXX-app.xml: eror 306: Descriptor must support one of the following profiles: desktop, mobileDevice, extendedMobileDevice, tv'If I use <supportedProfiles>extendedDesktop desktop</supportedProfiles> as suggested here: http://forums.adobe.com/thread/699165..then NativeProcess is no longer supported in the Export Release.
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.