Join a global community of Adobe Air users and developers.
Als letztes aktiv
I've been developing a mobile application for a while now. It runs on iOS and Android as well as on the desktop as an AIR app. This is great and I'm very excited about it. However, last week I was asked why I couldn't export a version of the app that ran within a web browser. I said that I assumed I could and that I would look into it.But why would you want to run mobile code on the desktop?A couple of reasons:Greater re-use of code. This doesn't make sense in all cases but it does in many cases. (I won't elaborate because I think this is self-evident. If you disagree I'd be happy to talk about it but I'd rather not clog this description with it.)Quicker/easier client demos. Rather than having to install an apk or an ipa on a mobile device, I can just send a URL.So what have I found? Well, from what I've tried so far.. it.. doesn't work. Or rather I haven't been able to make it work.I started by creating a Flex Library project for all shared code. Then I created 2 application projects
I'm playing a .mp4 video using StageWebView, Air 3.0 for iOS, iPad 2. With the latest software version for the iPad2, when I dispose of the StageWebView instance, the .mp4 doesn't seem to close.Well, at minimum the video's audio continues to play. Anyone else encountered similar issues after the latest software update?
HI,I have a followed adobes stageWebView example that loads a local html file in a stageWebView, I am using the code to show admob ads...Well, the project works fine on Android, but on IOS (ipod touch) nothing happens? the stageWebView is just a white rectangleI am debugging using remote debug, and everything seems fine, the local file url is resolved fine, but after calling the loadurl method nothing happens, I am not getting any events or errors?I am listening for the following events:ErrorEvent.ERRORLocationChangeEvent.LOCATION_CHANGINGLocationChangeEvent.LOCATION_CHANGEEvent.COMPLETEI have allso tried with loading a online file, but with the same result...Again, I will mention that the code works perfect on android (HTC Desire). where do I set the app permissions similar to the android permissions? (I am working in Flash CS 5.5)Brian
Hi all,I am hoping somebody can give me an opinion or idea about how the GPL license applies to Adobe native extensions.I converted a GPL'ed library into a IOS native extension for use in my Flex mobile application. I'm very sure I need to publish the source code of the revised GPL'ed native library (including the ActionScript part of the ANE) as required by the GPL license. What I am not sure of is if I am required to publish the full source code of my application (the ActionsScript part that usees the native extension). Looking at the ANE architecture, it seems that the ANE is separate from the main application.I posted the question to the developer's forum but I am not getting any response. Any reply will be greatly appreciated.Tahnk you!
Okay, so we're making an AIR 2.7 App that runs on Linux. It swaps out child swf files all the time, the same five files, all loaded into the app once and playing in sequence.Running on a Mac, the privateMemory continually reads around 400MB, give or take. Linux... Linux is weird.Linux will start at about 200MB, and balloon. If we're lucky, Linux will decide to reclaim some memory, and we'll go back down to 200MB. If we're not lucky, we'll escalate past 2100MB at which point the app will crash (even though the box has 4GB of RAM).I understand that System.privateMemory and System.gc() (both called regularly) is highly dependant on the OS, that's fine. But all methods of freeing up memory on Linux have failed, including cron jobs running methods outlined here: http://www.linuxarticles.org/2010/10/release-memory-in-linux-unused-or-cached/To be clear: there is no memory leak. We cannot reproduce the problems we are experiencing in Linux with any other setup. And Linux can decide to run for
i can't use flash player on my blog, i used many flash player wordpress plugin but can't used flash player for watching video. can anybody help me? my blog: http:musicbold.com
Please take a look at below coding. If I choose Frank and click button “age<5", the damn Frank stays still rather than the first column. What else should I do after refreshing the data list?Best Regards,<?xml version="1.0" encoding="utf-8"?><s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView"> <fx:Script> <![CDATA[ import mx.collecti
Hi,I am in need of a solution that can handle a lot of menuitems on a mobile device.My vision:At the bottom of the screen there is always a Menu button. When clicked a list pops up above it and the background fades.Looking for something like the windows start menu but when clicked the active screen fades. (Like an alert popup does in a regular air desktop application)What is the best way to achieve this?one of my thoughts;- click on first tabbar menuitem with the name Menu- take a snapshot of the current screen- launch a new view- put the snapshot as a faded background in the view.- above the first item in the tabbar (menu) draw a list with other menu item buttons that lead to other views when clicked.I'm building my first mobile app.. so exiting.. but a bit of a pain to get the right help.. Is there a page with help on only the things you can use on a mobile project? And skinning... what about that?? Flex 3 was so easy to layout the look and feel of your application.. ----------------
Hi all,Comments on overheads (memory/performance) on the following techniques?These are overly simplified, but you get the idea?Bitmap.visible// Assume we have a bunch of sprites already in memory as bitmap datavar spriteData : Vector.<BitmapData>;// Now we create a sprite for each 'frame' of animationvar bitmaps : Vector.<Bitmap> = new Vector.<Bitmap>();var bitmap : Bitmap;for (var i:int=0; i<spriteData.length; i++){ bitmap = new Bitmap( spriteData ); addChild(bitmap); bitmaps.push(bitmap); bitmap.visible = false;}// Now when we animate we simply set bitmaps visiblitypublic function gotoAndStop( frame : int ):void{ bitmaps[ currentFrame ].visible = false; currentFrame = frame; bitmaps[ currentFrame ].visible = true;}BitmapData replacement// Assume we have a bunch of sprites already in memory as bitm
I've run into a huge problem on MacOS (10.6) while developing a MIDI based ANE.Wherever CoreMIDI is used, the app (ADL) crashes during shutdown. This happens regardless of dispose() being called on the extension. I've tried this with both the 3.1 and 3.2 SDKs, and with both C and C++ implementations (both under Xcode).I've narrowed it down to something with the runloop being (perhaps) over-released.The simplest test case to reproduce the bug is to include this code in your initializer. This creates and then immediately releases a MIDI client:MIDIClientRef midiClientRef;MIDIClientCreate( CFSTR("MIDIClient"), NULL, NULL, &midiClientRef );MIDIClientDispose( midiClientRef );midiClientRef = NULL;After this is executed, the parent AIR app will crash when shutdown.Strictly speaking, the call to dispose the MIDI client is not required. MIDIServices sticks around (once the client is created) and is cleaned up by the CoreMIDI framework when the app closes:https:
Hi there,I've just tried to run an air app on iOS 6 but all the vistual elements doesn't render properly, e.g. the tab view cannot render tab icons/tab bar, the action bar cannot render anything at all plus all other components...Please let me know if you have any idea about that.Many thanks.
Dear all,I am developing a writing notes application in Flex Mobile Apps for android and ios.How can i allow use to print out the notes written?Anyone can guide me how to achieve the printing to the printer?
Hi All,I have created new android app using flex4.5 air, it look like education use. i would like to implement payment gateway for some portion like image's, audio's,video's,etc.. when user click this feature, user need to pay. what are the steps need to prepare for this implementation. Thanks for your attention, Jai.
I've suddenly run into a problem (new machine/install) where testing an AIR 3.3 for iOS app via the desktop simulator is impossible. SimController launches as expected and then simply locks-up eventaully forcing me to quit the application. The compiled app works just fine on actual devices, I just can't seem to get the simular working. Any thoughts as to what might be going on?- Flash Professional CS6- AIR 3.3.0.3650 for iOS - Mac OS X 10.7.4- 2.7 Ghz Intel Core i7
Hello everyone, thanks for reading this and I hope you could help me with this issue.I'll cut to the chase. I am currently working on a Flex mobile app for both Android and iOS and the app needs to make make some HTTP requests and retrieve some information from a server, that some teammate is developing.Everything had being working fine until we decided a couple of days before when we integrated a self-signed SSL certificate in order to make the connections more secure, etc. On the app side, this change, just ment to change the url from http to https and it seemed to work just fine, or that's what we thought.Testing on the simulator or on an Android device worked ok, it just showed the expected warning about accessing a server that had an untrusted certificate that could be ignored with no problems. But when we tried to test a release build on an iPhone device, it just wouldn't work anymore. Everytime a connection is tried to be establish with the server a flash 2032 error is raised an
Hi guys, I've been working for a while with Starling framework on mobile, it works really good in all platforms except ipad1, I am afraid I won't be able to carry on working with it if I can't manage to make it run properly on ipad1, unfortunatelly ipad1 is still so important, there are still lots of users using ipad1. I might have to go back to cpu mode on ipad1.it is really sad, i am soooooo happy with air 3.2 (Starling framework) running on different androids, iphone 4s and ipad2, it runs at solid 60 fps, no delays, so smooth.. problem is when I try exactly the same .IPA on ipad1, god! it is really bad, about 5 times slower, it runs even worse than Amazon Kindle Fire how come!?any ideas? has anyone dealt with similar problems on ipad1?thanks.
Hi,I want to create a good class for this as I know I will use it alot. So I want to get it right!...I want to create a script that will allow a user to scroll through a list of items on there phone.My script is missing some inertia, but it works....If any one can improve and is willing to share please post.package com { import com.* import flash.display.MovieClip; import flash.geom.Point; import flash.ui.Multitouch import flash.events.TouchEvent import flash.events.GestureEvent import flash.events.PressAndTapGestureEvent import flash.ui.MultitouchInputMode; Multitouch.inputMode = MultitouchInputMode.GESTURE; &n
Hi all,I have an Android app that handles activate and deactivate events by saving state and pausing all the amimation and sound on the deactivate event and resuming on the activate event. This works fine, except that if the device has a lock screen enabled, what happens is this:Game is runningDevice goes to sleep - game pauses, saves state and shuts upUser wakes device - lock screen displays - while lock screen is up, app starts up again - playing sound and such BEHIND the lock screen - user unlocks the screen - adnd we are good.Is there a way to tell when the app does not have focus - as in the lock screen is frontmost? I know you can in pure Android development. I believe it invoves knowing the current "active window".
Why is DatagramSocket not supported on mobile devices?I'm currently working on a project that will not work without UDP. TCP as a connection-oriented protocol is not an option for me in this particular case.Please add it in the next releases of AIR.Thanks.
I have an issue with a game I've been making for Android in Flash. The app orients itself correctly (staying in landscape) up until I lock the phone I'm testing with and then unlock it. When the phone unlocks, the app will then be in portrait mode (it should always be in landscape).In the descriptor xml file I have set fullscreen to true, aspect ratio to landscape and auto orient to false, but this doesn't seem to affect the app when being locked and unlocked (it works perfectly in any other scenario). It will become portrait again and not move back to landscape when unlocked (so auto orient being false definitely isn't being meddled with).This issue only triggers when you're running the game and lock the phone and unlock. If for example you were to press the home button so the app is no longer in focus, then lock and unlock and get back into the paused game it will still be in landscape.I've never had this problem on devices with android 2.3, but after the update to the ICS, I can't f
Hi All, We are developing an AIR mobile application targetted for Android 2.2 or above. One of the requirement is to play H.264 videos on the mobile from the Assets folder (local file system). We have run in to a show stopper while trying to implement this feature, here are the details -1. We are using OSMF that comes bundled with Flex Builder 4.62. Using Adobe AIR 3.1 and Flex SDK 4.6When video of quality H.264 MPEG4 1280*720 30FPS with input bit rate 2000 is being played on the mobile device (android), the video frame rate is choppy however on the desktop it plays out fine... StageVideo is something I would like to try however, at this moment I have no access to Android 3.0 which is required for StageVideo...What are we missing? Is AIR 3 not capable to play H.264 videos on android, though the Android native video player plays it out just fine?RegardsBaliga
Hey,My husband and I updated to adobe air a few weeks ago and since then, our computers have been crashing on/off. His started shortly after the update and mine just started recently but no new programs have been started/removed, etc. since the update. We need to know in case we have to send back either or both computers. Is anyone else having this problem?Thanks!
Hello, Juste have a basic question. I would like to compile with IOS SDK 5 in order to get the full display capacities of an iPad 3 retina. But if I submit this app to the app store, how will devices running on iOS4 will react ?Do I have to developp 2 apps, one for iOS5 and another one for iOS4 ? Then, how the appstore will make the difference ?Thanks for any help
Hi,I have an app that I am migrating from web to mobile and I have recently encountered an issue where it will crash on load, but _ONLY_ when packaged for release and only on iOS.EG:1. For Android, works in - emulator- USB debug - release compile modes2. For iOS, works in:- emulator- fast compile USB debug- standard compile USB debugDOESN'T work in:- ad hoc compileI initially thought it was due to loading SWF with ActionScript, but even after replacing those files with static JPEG, it still crashes.I have commented out all traces, following another forum report that listed traces as a problem with ad-hoc compile.I have tried moving resource bundle strings out of the problem view as these strings don't display in the problem view (but do elsewhere).In all cases, the result is the same:View loads, then freezes before it gets far enough to set navigatorContent property (declared in MXML) so it just hangs with no labels visible.Have tried any number of things to debug this, and at twenty+
Hi,I am using Flash CS6, Android setup, 3.0 ASI have a Galaxy Tab, ICS 4.0 for a deviceI can read & write a text file perfectly fine on my PC.But, when I upload to my Galaxy Tab 2 (7")....1) I get a generic dialog that displays my path (/mnt/sdcard/) ... And it also displays "Audio, Image, Video" options. It says "Download" as a diaglog title.I can save the file perfectly fine.2) When I try to open, it only displays the "Audio, Image, Video" options BUT DOES NOT allow me to open the file I saved.SO, HOW DO I GET A DIALOG THAT ALLOWS ME TO BROWSE TO THE FILE I SAVED??Here is my code...package com.adobe.examples{ import flash.display.Sprite; import flash.filesystem.*; import flash.events.*; import flash.system.Capabilities; &
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.