Join a global community of Adobe Air users and developers.
Recently active
Hi all,I am developing in AS3 AIR for Android in the flash cs5 IDE.I want to develop an app that on click logs the users lat, lon, elevation, angle, and direction the phone's camera is pointing. I know that the there are accelerometer and geolocation sensors in flash.sensors, but i am unclear as to if the accelerometer and geolocation can give me all the data i need. I know i can the lat and lon with geolocation.. i don't know how ever really how to interpret the data of the accelerometer, let alone how to determine the direction (n,e,w,s etc..) of the phone..also, i am not sure i am running the most up to date AIR for Android extension but my extension manager doesn't seem to prompt me for an update..Erik
Hi, I've recently discovered I'm unable to use Touch Points and Gestures at the same time on mobile apps. I would rather use Gestures so I'm wondering if anyone can help with making buttons respond to the user when they are touched. Here's what I'm trying to do but the buttons are not changing alpha values:mainMenu.menuPres.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);mainMenu.menuPres.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);function mouseDownHandler(event:TouchEvent):void {TweenLite.to(mainMenu.menuPres, .2, {alpha:.5});}function mouseUpHandler(event:TouchEvent):void {TweenLite.to(mainMenu.menuPres, .2, {alpha:1});}Is there another way I can do this or can this method be refined?Thanks
Hi all,I use flash CS5 to publish my apps for Ipad, the application runs quite smooth.But when I use flash CS5.5 to publish my apps for Ipad, the application turns to be jerky & lagging.Can I know what setting to use when i exporting my apps?I set the rendering as GPU.Bruce
I am calling a StageWebView to play an MP4 video in my Flash Air for iOS project. The video plays great, but when I tap done, it does not remove the video from the stage to let me go back to the application. Am I missing some additional code? Thanks.
Hi, first of all my English is very poor... sorry. I try to improve.I can´t watch mpeg-4 in stagewebviews but I can hear it. I read:"In Android 3.0+, an application must enable hardware acceleration in the Android manifestAdditions element of the AIR application descriptor to display plug-in content in a StageWebView object." So, unsuccessfully I followed the steps trough this page: Enabling Flash Player and other plug-ins in a StageWebView object.My problem is when packaging, the error is:Exception in thread "main" java.lang.NoClassDefFoundError: org/jf/baksmali/main at com.adobe.air.apk.APKOutputStream.addClassesDex(APKOutputStream.java:708) at com.adobe.air.apk.APKOutputStream.addApplicationDescriptor(APKOutputStream.java:249) at com.adobe.air.ApplicationPackager.addSpecialFiles(ApplicationPackager.java:242) at com.ad
here is the code :_size = 256;_camera = Camera.getCamera(); if( ! _camera ) return; _camera.setKeyFrameInterval(24); _camera.setQuality(0, 0); _camera.setLoopback( false ); _camera.setMode(_size, _size, 12, false); _video = new Video( _camera.width, _camera.height ); _video.attachCamera(_camera); addChild( _video );I tried all possible configuration cpu/gpu - portrait/paysage/both -I need to use Video since i have to look for a QRcode.The device is a galaxy S2 Does anyone knows a trick / solution ?Thank's
Hi guys,When I publish my app with "Quick publishing for device debugging" enabled and start the app on the iphone, the screen goes black and nothing happens.
Hi all.I want to close my app in ipad.So I use a function - NativeApplication.nativeApplication.exit()- but it doesn't working in ipad.How can I do to this?thanks.
Hi,I am creating a cross-platform mobile app which uses Camera.getCamera() to capture image.Is there a way I can zoom while taking the image from a distance? Please help.ThanksMonika
I have been at this for a bit, going as far as needing to redesign my app to fit the iPad dimensions, and it's driving me nuts! Can anyone tell me what the iPad stage settings should be? I have set up a new AS3 project in Flash AS3 - Stage Size: 1024x 768 Publish Settings - Air For iOS, Aspect Ratio - Landscape, Rendering - CPU, Resolution - Standard.However when I publish, and deploy the app to the iPad, I get 2 white bars (stage is white) on either side in landscape orientation. They are about 50px wide. What am I doing wrong here. If I rescale my content to let's say, 1156 * 768, The content fills the screen. Every book, blog, and forum always publishes 1024x768. I am following the e-book iOS "Development with Flash®"Has anyone else run into this issue with the iPad 1 or 2?(I am using an iPad 1 with iOS 4.3.1..? to test with)
Hi,I've been doing some performance testing and luckily I have an Asus Transformer to do so. Unfortunately there seems to be a problem with that device. It occurs when I use cacheAsBitmap in GPU renderMode. It's hard to describe but the graphics are all screwed up, for more details I've attached a screenshot.Here is a screenshot with cacheAsBitmap = falseUsing CABM looks just fine on the Nexus One, iPad and iPod Touch.You can test this for yourself with the app from this site http://labs.byhook.com/2011/01/13/digital-sheep-air-for-android-drawing-performance/ and using GPU version and Sprites.I alse filed a bug which can be found here https://bugbase.adobe.com/index.cfm?event=bug&id=2913545.Is anyone else having the same issue? Am I just missing something?I think ths could be related to this http://forums.adobe.com/message/3768578#3768578
I have been on porting a flash project on the iOS platform. At first I was able to convert small files to iOS without any error. But when i started compile a big file (fla of around 5-6 MB and 100-120 .as files) for the same it gave me an error.Error creating files.ERROR: formatting double using non-ecmascript rules. Please if anyone knows why this happens please let me know. I have been behind this file for a while now. Thanks in advance.
Hello everbody,at the moment I am evaluating the realisation auf a radioplayer using a rtmp stream for android devices.There are two question for which I could not find any advices or resoltions.My questions are:1.) Is it possible to play/continue an audiostream, even if the app itself is pushed into background?2.) How are updates handled for apps in Android-Store? Is it the same as with the updateroutine for AIR on Desktops?Thanks in advance for your answers.Regards,wman
Hi Everbody,I would like to know whether itz possible to create a profile and certificates which is able to distrubute in all Ipad/Iphone devices.I will explain it more:In our concern we were developed an elearning project in flash AS3 for desktop and now it is converted for Iphone/Ipad supporting format ipa from flash cs5 and going to deliver this ipa to the client. but the problem is, when the client want to install this ipa to several customers. Is this possible to install the ipa on the customer devices without any dependency on new certificate and provision for every client devices. Please provide a detailed concept on distributing the ipa to several deveices without any dependency.Hope you will help on this! Otherwise the development will be converted for browser based which will make the twice work bcoz the packaging ipa formats were already completed. I'm Struggling on distributing the app.Thanks in advance.
Is there a way to choose whether the audio played by an AIR application will be played using the telephones earpiece, instead of the speaker ?This would make "telephony" (voip) applications so much more useful
I'm building an iOS app using Flex v.4.5.1 and AIR 2.7, and I would like to access the user's iOS Calendar database to:Retrieve appointments within a date rangeReceive notifications when appointments changeLet users create and edit appointmentsApple provides the "Event Kit" framework for doing this in Objective-C.http://developer.apple.com/technologies/ios/data-management.htmlhttp://developer.apple.com/library/ios/#documentation/DataManagement/Conceptual/EventKitProgGuide/Introduction/Introduction.htmlAnd of course, changes made to the Calendar with Event Kit are automatically synced with the appropriate calendar (Exchange, CalDAV, etc).Is there anyway to do this in iOS using Flex/AIR? Or any plans to do this in the future??(It would be cool if the solution worked for Android as well...)Cheers,Matt
Hi!If I launch a native process from my air app..I wonder if there is some way to suspend and resume that native process.So the steps would be:1) air app launch a native process2) process starts writing to stdout (that i'm reading from air)3) at some moment the air app detects that has recieved enough data and wants to suspend the process for a while.4) air app suspends the process.5) at some other point in the future the air app wants to resume the previously launched process.thanks in advanced.Polaco
I made an app for both Iphone and Ipad.What size should the Default.png be.Or I should I include 2 different .png's or what?
Hii want to add a multiplayer feature to my app. For this - i need to open a socket for "listening" (or any other solution) so one device will act as the host.Cant find any way to do this in Flash. Is it really missing?
I just got cs5.5 I'm looking for a very simple camera roll hello world type example where i can just press a button to load the camera roll and add an image into the app.Does anyone have one or know of one?Once it is in the app can you use a shared object to save the image for the next time the app loads?
Hi, Has anyone tried to run an Air 2.7 application on a 3rd Generation iPod Touch? The requirements seems to have changed between Air 2.6 and 2.7. Thanks, /Andreas
Hello,This is confusing me allot.This work:<s:List itemRenderer="com.soueidan.itemrenderers.AlbumAndSongItemRenderer">This DOES NOT work:_list.itemRenderer = com.soueidan.itemrenderers.AlbumAndSongItemRenderer;Error: Description Resource Path Location Type1067: Implicit coercion of a value of type Class to an unrelated type mx.core:IFactory. ShowArtist.asWhat's happning?Please help Thanks.
Hello,I'm trying to create iphone app.When I try to load xml url from desktop emulator it works like a charm.But when I debug on the iphone device it throws error.Error #2032I have setup a crossdomain.xml file but that doesn't fix the issue.I have no idea what to do from now?I'm using the latest flash builder 4.5.1 and air 2.7 sdk i think.Hope someone knows what to do Thanks.
From the Release notes of AIR 2.5:"AIR supports only low resolution video recording using CameraUI"This has the effect that on a Android 2.3 device the AIR application can only record a 176x144 (h.263 + aac) trough the CameraUI class, but this file is not playable by the AIR itself.We searched for a solution and asked lot of wise people to overcome the default video setting, but as it seems with AIR 2.7 this issue is unresolved, so currently (2011.07.01) the video recording is useless in AIR on Android.Any ideas for local video (with audio in sync) recording on Android 2.3 is welcome.
Hi just wondering if anyone has had the issue where certain movieclips aren't visible in GPU mode but can be seen when compiled as CPU.No filters are being used but these two movieclips that aren't being shown are background landscapes for a game and are being moved gradually across the screen with some actionscript.Been testing on Android so not sure if this issue occurs in IOS.Thanks
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.