Join a global community of Adobe Air users and developers.
Als letztes aktiv
Hi,Sorry for my bad English, I'm French !I'm making an iPad game with Flash and Air. You can see the flash here : http://thomas-ruffier.com/divers/lebebepoulpe/The home screen is in French, and i want to translate in many languages. But how can I get the device language ? I want to change the homescreen for an English/German iPad.Is it possible ?Thanks a lot.
HelloI'm building an iPad project with Flash CS6 + Air 3.4 for iOSIn the "Air for iOS Settings" box I've set the path to the iOS Simulator as:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdkThe app is published for iPad only in the 'Device' dropdown.When I debug the app using the iOS simulator it brings up the iPhone simulator instead of the iPad one.I'm guessing the problem is...1. I need to do a special download from Apple to install the iPad simulator2. There is a bug in CS6 that launches the iPhone sim even though it's an iPad app3. Some setting I'm forgetting aboutThanks for any hints!
Our application downloads and renders external, custom content which includes custom, proprietary fonts. For web, desktop, and Android we simply use external SWF files that have the fonts embedded. It makes technical sense why this method wouldn't work for iOS, but I haven't been able to find any alternatives. Is this simply not possible? I hope that's not the case as it would mean our application isn't possible for iOS using the AIR mobile technologies.Eric
Got the following error in our system. Is anyone else seeing a similar problem?Our test platform details are: AIR 3.1.0.557Android Version 3.1XOOM----------W/ProcessStats( 146): Skipping unknown process pid 17925E/AndroidRuntime( 681): FATAL EXCEPTION: mainE/AndroidRuntime( 681): java.lang.IllegalArgumentException: pointerIndex out of rangeE/AndroidRuntime( 681): at android.view.MotionEvent.nativeGetPointerId(Native Method)E/AndroidRuntime( 681): at android.view.MotionEvent.getPointerId(MotionEvent.java:1522)E/AndroidRuntime( 681): at android.view.ScaleGestureDetector.onTouchEvent(ScaleGestureDetector.java:213)E/AndroidRuntime( 681): at com.adobe.air.AIRWindowSurfaceView.onTouchEvent(AIRWindowSurfaceView.java:623)E/AndroidRuntime( 681): at android.view.View.dispatchTouchEvent(View.java:4609)E/AndroidRuntime( 681):&
hello there im working on air for ios project and ive got some touch and drag contents using as3 using this code i can drag a moviclip file up and down on screen of any device how ever , when dragging lets say the end of moviclip was on top of the edge of screen if you keep dragging moviclip will go over the screen and cant touch it no more . can any one help me to set an x y value where at certain point dragging goes off , ummm like if you drag up when the end of the movieclip will stop at middle of the screen and you cant drag up no more , the opposite if you drag down. var ease:int = 6;var targY:int = dragMe.y;var drag:Boolean = false;var ptY:Number = 0;dragMe.addEventListener(Event.ENTER_FRAME, dragHandler, false, 0, true);dragMe.addEventListener(MouseEvent.MOUSE_DOWN, downHandler, false, 0, true);stage.addEventListener(MouseEvent.MOUSE_UP, upHandler, false, 0, true);function dragHandler(e:Event):void{ if (drag) { &nb
I have a StageWebView displaying a webpage containing ads that are coming in from AdMob (due to their current lack of support for AS3 and AIR for Android).However, when a user clicks on the ad, the linked page opens in that small window, so the content is barely even readable. Is there a way to make the browser open the intended link in a new window, seperate from my app?Obviously AdMob ads were not intended to work this way, as both the user and the adveriser are getting cheated here (due to AdMob's current lack of support for AS3 and AIR for Android).Thanks!
I'm using Air 3.4 and 3.5 and I trying understand how to get the same app to be the same scale as the iPad 1 on the iPad 3. The tried using stage.stageScale = StageScaleMode.SHOW_ALL, it's not scaling. Is there something else I need to do to get this working?
Problem: Bad click and touch event performance on s:Label.I use the newest air version and Flash Builder 4.6 to develop a mobile app.This is the code:<s:Group horizontalCenter="10" top="200"> <s:VGroup> <s:VGroup id="wortundtafelstriche"> <s:HGroup id="wortalign" > <s:Label id="wort1" visible="false" textAlign="center" width="43" color="0xffffff" /> <s:Label id="wort2" visible="false" width="30" color="0xffffff" /> <s:Label id="wort3" visible="false" width="30" color="0xffffff" />  
So I'm trying to pull off something similar to the example here: http://cookbooks.adobe.com/post_Create_a_basic_web_browser_with_StageWebView-18850.html. Basically, a native browser view with a few Flex controls over top. Problem is, I've been running into a lot of display problems on Android 4 devices specifically. As far as I can tell, the StageWebView seems to be preventing the button overhead from being rendered in part or *at all* - as in, the button doesn't show up at all. It's just black.See for yourselves. Here's a screenshot (the test page has a yellow background):If I touch the screen or the web view, the button will (usually) abruptly show up above the page, where it's supposed to be:Anyone else seen anything like this before? Any ideas what it could be? ***Additional information for those who might want it:- Project is being developed in Flash Builder 4.6 with the 4.6 SDK. Screenshots are from a Google Nexus 7 tablet (Android version 4.1.2, Adobe AIR version 3.4.0.254). - t
Hello folks,I have been developing a mobile game with Adobe AIR and Starling Framework.The game works fine in most devices that i could test (Android and iOS).But in a especific tablet model it's happening a strange behaviour in standard diplay list render. In Stage3D it's all right.I can't explain the problem with words but I attached some images about a simple test on device.The problem is solved when i change the render mode to "cpu" or "auto" but the Stage3D doesn't work.Anyone ever seen this problem?Runnin the SWF in PCRunning in tablet (same code)Game running in tablet
HiI'm trying to implement rich text editor. I tried to use TextArea and RichEditableText. TextArea doesn't support rich text on mobile, and RichEditableText doesn't show keyboard on iPad(e.g. it's not possible to enter any text). Is there reasonable way to edit rich text on iPad using adobe AIR at all???
Hi,I'm struggling with a text editor issue in iOS. My customer uses RichEditableText in a web project and wants to use the same in iOS, but there is no softKeyboard support in iOS for this.I've tried cobbling together something to act as an alias, but that doesn't request the keyboard either.So it looks as if I am limited to either TextArea or TextInput for request of soft keyboard? But that can't be right, surely?There must be a way to get the requestSoftKeyboard() function to be respected in iOS. Please provide any pointers you can!G
I'm building an ios app with Flash CS6 / AIR3.4. (...) private function geoUpdated(e:GeolocationEvent):void { latitudeField.text = e.latitude.toString(); longitudeField.text = e.longitude.toString(); altitudeField.text = e.altitude.toString(); hAccuracyField.text = e.horizontalAccuracy.toString(); vAccuracyField.text = e.verticalAccuracy.toString(); timestampField.text = e.timestamp.toString(); headingField.text = e.heading.toString(); }(../...)When
When renderMode is set to "direct", UIBackgroundModes doesnt work properly. Music remains playing. The GPS arrow is still displayed at the status bar, BUT, no function will be fired. If you have a loop function, for example, to make the music play again after it finishes, it will not play again until you come back to the app.As soon as I change the renderMode to gpu, everything works fine.<renderMode>direct</renderMode><key>UIBackgroundModes</key><array><string>location</string><string>audio</string></array>
Where do I start... I have been trying to tackle this issue for quite some time now and every time I think I have the answer something else comes along to crash the party.I am in the process of building a multi-screen AIR mobile application with the AIR 3.0 SDK that records geolocation updates as they are sent from the device.Everything works fine on Android but when I test on iOS here are my findings...Geolocation updates work fine while the app is active.In order for you app to be eligible for background services you need to set the UIBackgroundModes in your app-xml file for the service you would like to enable... in my case 'location' (which I did)I found that doing this alone will not allow you to receive the location updates when the app is in the background. As soon as the app is "minimized", it goes into a suspended state and no code is being executed until the app beomes active again ...therefore none of the location updates are received.I found that setting the 'audio' AND 'lo
We develop our mobile air apps at two resolutions, 960x640 for phones, and 1024x768 for ipads. For non-retina phones we scale down, and for retina ipads we scale up. We observe that scaling the content is worse performance than using requestedDisplayResolution = standard on ipad3. (Stage scaling SHOW_ALL being somewhat better than parentClip scaling 2x) Our rendermode is ‘direct’, since ‘gpu’ caused problems for our content.Presumably it is being faster to render to the smaller background with hardware on requestedDisplayResolution. That would be okay, except there’s no different requestedDisplayResolution between ipads and iphones. Setting the configuration to standard means we drop our 960x640 resolution setting on the phones. It’s that, or lose the universal app and have to ship separate builds, which is something we’d very much like to do… Is there a way to make a universal app that is retina at 960x640, but not 2048x1536???
Problem Description:When I set camera mode to 2592*1944(5M), the view on screen is stretched.The Issue is occurred in Flash 11+ and Air 3.0+ , and it's NOT fixed in the new release 3.2It was worked well in Air2.7 and before, or set the resolution down to 1600*1200Steps to Reproduce:var cam:Camera = Camera.getCamera();cam.setMode(2592,1944);videoDisplay.addCamera(cam);Expected Result:It should be same as setMode(1600,1200);https://bugbase.adobe.com/index.cfm?event=bug&id=3044808This is 2592*1944 , see the iphone. !!!1600*1200 good
Hi allDo you think it's possible to make an app with AIR that is Airplay compatible like this one?https://itunes.apple.com/it/app/pilots-path/id537251466?mt=8&affId=1507406&ign-mpt=uo%3D4In Phonegap is possible because you can set the second native view to a standard webViewhttp://www.tricedesigns.com/2012/01/12/multi-screen-ios-apps-with-phonegap/#comment-2210but what's for AIR? I think it's impossible to do but I want to be sure that I don't think wrong.Thanks
This question was posted in response to the following article: http://help.adobe.com/en_US/air/extensions/WSf268776665d7970d-2e74ffb4130044f3619-8000.html
For an Air for Android app, how do you get a link in an email to give the user the option to open an app?I have looked at: http://www.riaspace.com/2011/08/defining-custom-url-schemes-for-your-air-mobile-applications/but it does not work.Maybe things have changed since then? If it still does, does anyone have a complete -app.xml to show?Also, a link which opens the app.Otherwise, what is the method?Ideally, if the app is installed, the link would open it and pass parameters.If the app is Not installed, it would link to the installer.Thanks in advance.
Hi all,I have been dealing with a user who is unable to install to his Windows XP x86 machine.The specific error returned is as follows:[ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1625" errorID=5009]We've tried uninstall reinstall (with revo and microsoft fix-it), Running as administrator, creating a new Administrator account, trying to install older Adobe AIR verions (2.7 and 3.0), and nothing has worked so far.Any help would be appreciated Cheers,Tomps. Here's the entire install log:[2012-09-17:12:25:45] Runtime Installer begin with version 3.4.0.2540 on Windows XP x86[2012-09-17:12:25:45] Commandline is: -playerVersion=11,0,1,152 -sandboxType=remote -securityDomain=airdownload.adobe.com -https=false -fromUserEvent=false -- -x1 http://download.marketsamurai.com/MarketSamurai.0.92.12.air -- "installed from web"[2012-09-17:12:25:45] No installed runtime detected[2012-09-17:12:25:45] Invoking Application Installer for combined install[2012-09-17:12:25:45]
Hi,On Android with AIR 3.4, netstream freezes between 110 and 240 secondswith videos in http://xxx/..../video.mp4 format.For more details, see bug:https://bugbase.adobe.com/index.cfm?event=bug&id=3323362Each video freezes at the same time on 3 different devices:- Asus Transformer TF101 on ICS 4.03,- Samsung SG2 on ICS 4.03- Nexus 7 on Jelly Bean 4.1.1If I use StageVideo, I have the same problem.If I use AIR 3.5 beta (Sep 26, 2012), I have the same problem.Is there a workaround for this problem ? Philippe
I have had some of my apps fail approval for the new nook HD because I do not allow orientation changes in them. It didn't stop them beign approved for the normal nook, but there you go.On iOS I use this code to only keep orientation to portrait. But this doesn't work on andorid, what other solution is there to fix it so you get no landscape orientation on an android device?var startOrientation:String = stage.orientation;if (startOrientation == "default" || startOrientation == "upsideDown"){ }else{stage.setOrientation(StageOrientation.DEFAULT);}stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGING, orientationChangeListener);function orientationChangeListener(e:StageOrientationEvent){if (e.afterOrientation == "rotatedLeft" || e.afterOrientation == "rotatedRight"){e.preventDefault();}}
After some limited success with getting my app on iOS, I have hit a roadblock. At first, I was publishing my app and it was working great. All of a sudden after fixing some issues, it no longer works. I reverted back the changes but no success. It works in desktop and on Android just great. Here is what I am seeingworks (kind of)- If I use low res iphone size it works (but looks terrible)- If I use high res iphone or ipad with CPU, it also works but looks terrible and is poor performance (also the native extension alert does not work)doesn't work- If GPU is on, there are just some wierd shapes on the screen (but mostly black)What doesnt work was actually at one point working great with great performance (including the native extension). The remote debugging shows no errors. Hopefully this is something someone has seen and an easy fix but it is driving me crazy.
I have an ANE that currently has a specific implementation for Android and a default implementation. Packaging up the .apk for android works fine on my android devices and packaging up a windows destop version (I created a separate desktop air application to do this) that uses the default ANE implementation works fine.The problem is when trying to packaging the ipa for iOS that uses the ANE. I get the following error when I try a "Export Release Build" of my mobile app for iOS. It should be using the default ANE implementation.Error occurred while packaging the application:Warning: Using default implementation for native extension '<my ane extension id here>'unexpected failure: nulljava.lang.NullPointerException at com.adobe.png.PNGUtils.updatePNGMetadata(PNGUtils.java:60) at com.adobe.air.ipa.IPAOutputStream.addFile(IPAOutputStream.java:557) at com.adobe.air.ADTOutputStream.addFileFromStream(ADTOutputStream.java:299) &nb
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.