Join a global community of Adobe Air users and developers.
Recently active
Ls,Practicing OOP and trying out starling I made a small flock routine that whirls stuff around the screen.Although you can afcourse do this the easy way 1 one class with some vectors, i restrained myself and tried it OOP (patting myself on the back).However I noticed that when I use addchild in the lowest/last class Bird. It doesnt complain but also doesnt apear on screen.After moving the addChild(Image) up to the main class started by new Starling(flocky, stage) they appear?!For this I created a vector that gets filled by the bird class then i loop through it adding them to stage.I wanted to not do that for change but havent managed to get it working otherwise.I tried passing the stage (starling.display.DisplayObject.stage) thru the constructors to the bird class but that doesnt work (or I just dont know how).(for those willing to help I added some pseudo code at the end of this page)Q's:Is the main class the only place where you can add to stage?Is it possible/disirable to make stag
I'm trying to use the in-app-purchase native extension. All works well, but when I try to buy an item the transaction returned comes with null in the most of fields: date, receipt, ...I followed the apple developer guide creating a test user, but something is wrong.Please I appreciate any help.Thanks.
After install new printer, Adobe 7 and any other program I try to print from are extremely slo.Minutes between windows! Epson R2880 wants HiSpeed USB. I have standard USB and 2 GB Ram. Can the USB be the problem?All other programs work fast and my older Epson printer worked fine.
hi,i have a problem in my mobile applicationi use encryptedlocalstore to store user id and password and packaged apk with captive-runtimebut some device without adobe air, store and get data with encrypedlocalstore not workingwhen i install adobe air at this device, encryptedlocalstore working.it bug with packing apk captive-runtime?i use flash builder 4.6 and air sdk 3.1
Are you supporting clipboard on iOS ? I am really tired now in trying to code for copy/cut.
Please download the attached file to view this post
Hi guys, we just released a new app and want to share our work with the community. A special first thanks to www.milkmangames.com for providing very useful native extensions!You can download the app for free from Apple App Store and Google Play:http://itunes.apple.com/app/learn-the-words-animals/id515290154https://play.google.com/store/apps/details?id=air.com.tapptil.learnthewordsanimals
I'm trying to use Flash Pro with Air 3.2. I'm used to making apps for iOS and the orientation handling seem much more elegant. Can someone point me in the right direction for Android. There must be a magic combination of setttings to get this to work?Trying to use this with Aspect set to Landscape and Orientation set to Auto, but it really freaks out on my Galaxy tab. Keeps switching all the time and rarely matches the orientation I am holind the tablet in.stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGING, orientationChangeListener);var startOrientation:String = stage.orientation;if (startOrientation == "default" || startOrientation == "upsideDown") { stage.setOrientation(StageOrientation.ROTATED_RIGHT);} else { stage.setOrientation(startOrientation);}function orientationChangeListener(e:StageOrientationEvent) {  
Just got my game approved and listed in the app store.http://itunes.apple.com/us/app/dice-a-rama/id441585479One thing that bothers me is that my listing says that my game supports a huge array of languages, even though my game is only in English. In my descriptor, I only provided an English name and description.And I'm looking through the other AIR-written apps, and I'm seeing the same thing. Looking at the iTunes Connect listing, it appears that the supported language-list is coming from a manifest inside the game, the game itself (specifically the "iphone-bundle-localisations" identifier).Is there a way to set this in your iOS descriptor XML?
My app is crash free on iphone3Gs and up (including the supported touch devices). But, on the first generation iPad I get a lot of itermentent crashes (app closes down). Note, this not a native iPad app. I'm only supporting the smaller mobile devices, but the iPad can do its little 'iphone app simulation' and that's when this is occuring. I'm compiling with 3.2, and using GPU mode. Though, to be honest I don't think it is relevenent. From what I can tell, the crashing is occuring during Garbage Collection. I know this because (at the moment) I force System.gc at certain points (in between screen transitions). It doesnt crash all the time, but a good 50% at certain areas in which there tends to be a lot of garbage clean up going on.So, anyone running into similiar issues? Interesting work arounds? Rumors that all iPad 1st Gens are going to vanish from the earth so I no longer have to deal with this?Thanks -dis
Hello! I'm developing AIR + Flex 4 app targeted to iOs platform (actually target device is iPad 2). I use self developed native extension (with help of this extension I'm capable of choosing videos from CameraRoll and saving recorded videos to CameraRoll. I need this extension as far as standard CameraRoll and CameraUI classes aren't capable of such things (correct me if I'm wrong). It works just fine except for one thing: StageOrientationEvent is not fired when native extension is in my app's build path.Further more, it's not fired even if my extenson class isn't instantiated. Simply if I add my native extension in app's build path (in flex builder 4.6 project properties -> Flex Build Path-> Native extensions), and then mark Flex Build Packaging -> iOs -> Native Extensions -> package check box (in front of my extension) then StageOrientationEvent will not be fired.This is how I initialize my extension view:-(void) initExtensionView{ airWindow = [
Hi guys,I'm building a prototype using a Galaxy Tab and I have an issue with Screen Orientation.The thing is, the Galaxy Tab is placed in a casing "up side down". Buttons on the Left. Android OS is orientated properly.When the app starts up, the Splash Screen orientates properly, but when it goes away, the app is the wrong way round(rotated 180°). I now have to move/shake the casing to get the right orientation.In my descriptor file I have this:<autoOrients>true</autoOrients><aspectRatio>landscape</aspectRatio><fullScreen>true</fullScreen>Is it possible to change the orientation programtically? I found that setOrientation() is deprecated as of AIR 2.5Any help is highly appreciated.CheersGabor
Hi friends, I know that flex mobile projects support Apple's devices. But I want to know the devices that are available in the market and support my flex apps.
Hi,I've been developing a calculator app for iOS using Adobe AIR 3.0. I'm using the latest Flex SDK 4.6 for compilation in FlashDevelop 4.0.Everything worked great for testing purposes (using ipa-debug-interpreter and ipa-test-interpreter targets.)However, when using slow compile mode targets (using ipa-debug and ipa-test targets) and when compiling for ad-hoc or app store (ipa-app-store target), I get the following error:Packaging: dist\MetaCalcIPhone-app-store.ipausing certificate: cert/iphone_dev.p12...Exception in thread "main" java.lang.NullPointerException at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6944) at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909) at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628) at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)&nb
So I am using the native extension from http://blog.aboutme.be/2011/12/10/udp-in-air-for-ios-using-a-native-extension/It comes with a flex demo app that works perfectly on Android and iOS when built in FB. I made a small as3 app in FB and that works perfect on Android and iOS as well.I then took the app.xml from the as3 FB project and used it for my flash pro/adt project. I built the package in adt with the followingAndroid:start adt -package -target apk -storetype pkcs12 -keystore androidTest.p12 NetPRO_Demo.apk NetPRO_Demo-app.xml NetPRO_Demo.swf 72icon.png -extdir extensionsiOS:start adt -package -target ipa-ad-hoc -storetype pkcs12 -keystore Certificates.p12 -provisioning-profile CashRegisteriPad1.mobileprovision NetPRO_Demo.ipa NetPRO_Demo-app.xml NetPRO_Demo.swf 72icon.png -extdir extensionsThe Android version works perfectly, the iOS version sits at a black screen and freezes. I have spent days on this, what is wrong in my ADT packaging that is different from FB packaging that i
I have a rather hard situation trying to debug this below. When I trace currentNote it shows up as null. I am certain I have notes in the array, because if i leave off as Notein the code below I get an error telling me it cannot convert Object to a Note. I think it has something to do with the persistenceManager and how it is converting the array to an Object when I save it, but I make sure to put as Array when getting it out of the Persistence Manager.Been struggling with this for hours var currentNote:Note;pm = new PersistenceManager(); pm.load();private function getRandomNote():void{ //This stored array holds up to 4 arrays -- multidemensional var theSelectedNotesArray:Array = pm.getProperty("selectedNotesArr") as Array; trace(theSelectedNotesArray); var randomArray:int = Math.floor(Math.random()*theSelectedNote
I am having same issue installing HTC sync software - It was running fine until I updated to latest version, did you find a solution to problem? I have pu=t run log below:-[2012-04-03:17:41:42] Runtime Installer begin with version 3.2.0.2070 on Windows 7 x86[2012-04-03:17:41:42] Commandline is: -silent[2012-04-03:17:41:42] Installed runtime (3.1.0.4880) located at c:\Program Files (x86)\Common Files\Adobe AIR[2012-04-03:17:41:42] Starting silent runtime update. Updating runtime from version 3.1.0.4880 to version 3.2.0.2070[2012-04-03:17:41:43] Installing msi at c:\users\paul\appdata\local\temp\air5c61.tmp\setup.msi with guid {47FA2C44-D148-4DBC-AF60-B91934AA4842}[2012-04-03:17:41:46] Runtime Installer end with exit code 0[2012-04-09:13:01:08] Runtime Installer begin with version 3.2.0.2070 on Windows 7 x86[2012-04-09:13:01:08] Commandline is: [2012-04-09:13:01:08] No installed runtime detected[2012-04-09:13:01:11] Relaunching with elevation[2012-04-09:13:01:11] Launching subprocess wit
I am informed that to download the latest version of Adobe Air I must contact my administrator. Why? I am the administrator.
Hi....i installed adobe zeri with apache2.2 in my server and created a different bit rates manifest files using f4fpacakager.while playing the manifest file by giving a request from OSMF player as http://server ip/vod/filename.f4m its playing contents fully but while iam creating the deliver service with this server ip as content origin and i assigned a serviceengine to this deliver service with some domain name and giving request as http://domain name/vod/filename.f4m ,the player is playing the contents up to some fragments and its not playing and giving error as "stream not found "in OSMF player.....can any body pls give me the suggestion regarding this.....thanks,Ramesh.
Hello,I run out of ideas: my problem is that I have to download an image from a server in my application an then invert it and I want to do it with JavaScript. First I download the image (because using a web URL wouldn't work, just like in regular borwsers) to the applicationStorage directory, then I display it in an IMG tag, then an image manipulation library (Pixastic) is loaded. I get the same exception: SECURITY_ERR: DOM Exception 18, like if I used the original URL.var file = air.File.applicationStorageDirectory; file = file.resolvePath("test.jpg");var fileStream = new air.FileStream(); fileStream.open(file, air.FileMode.WRITE);var request = new air.URLRequest("http://blogs.adobe.com/bobddv/images/waveform.jpg"); var loader = new air.URLLoader();loader.dataFormat = air.URLLoaderDataFormat.BINARY;loader.addEventListener(air.Event.COMPLETE, completeHandler); loader.load(request);function completeHandler( event ){ $('test').innerHTML = 'Ready: ' + f
I have come to a point where I need to use trace. Well, it is not working. I enter "Debug" mode/perspective and have the following, but nothing gets traced. First time I ever use trace in flex, have used it in Flash plenty of times.<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" title="TestView" creationComplete="init()">private function init():void{ trace("working");}Thanks
I have a memory leak problem that keeps crashing my application; the application is programmed to display ten locally-stored swfs with embedded videos in rotation. Eventually, I get this error:adl(2986,0xacee52c0) malloc: *** mmap(size=3584000) failed (error code=12)*** error: can't allocate region*** set a breakpoint in malloc_error_break to debugA trace of freeMemory usually returns between 0 and 1 MB.A trace of totalMemory usually returns between 30 and 102 MB.A trace of privateMemory starts around 300 MB and crashes once it hits 1.8 GB (at least on my mac)The swfs are loaded into the app and never unloaded - we found that running unloadAndStop() would reduce the totalMemory but cause the privateMemory to escalate extremely quickly.Yes - we have been doing all of our best practices for memory management, event listeners are all removed, unused data and objects are nulled out.Is there a way to get the AIR app to return privateMemory allocated to it back to the OS? The garbage collect
UIApplicationExitsOnSuspend in AIR 2.6, this does not apply. Who can do that?
I know, if I need help I should go post on some apple board... but it's information overflow.... and I am not 100% sure it's related to the extension.Here's the problemI am creating/using an extension to open the MFMailComposeViewController.Now, I figured out how to open it and force it to landscape, but the problem is when I close the email it, my app flips upside down. (landscape left when it was landscape right before, or vice versa)My app is set to force landscape left and right... and the mail controller does open in landscape... but it's either upside down (landscape right, when the app is left, or vice versa) or when it closes, it flips the application the other way.Has anyone encountered anything like this and ideas on how to fix it?My app publish settings, I set to landscape, auto-orient is set to false and it's full screen,However, on start up in code... I am setting stage.autoOrients = true and then using the CustomOrientation.as to control the rotation (to force lands
I have already developed with flash pro for Android (Actionscript 3 - android 2.3.3 - Air 2.6). I'm trying to use Flash Builder (to have more developper's functionnalities).But with the same code (an example from Véronique Brossier Book) I can't obtain the same result.With flash pro, my three sprites are at 150, 350 and 550 pixels from the top.With flash builder, they are at above 350, 550 and 750.I'have the same result on my device (Galaxy Note) or emulated one.In flash pro I can specify height & width of the stage. I have not found same parameters in flash builder.What could be wrong in my process ?the main code is here : public function FirstApp() { // constructor code var callButton:Sprite=createSprite(0xFF3300,100, 100); callButton.addEventListener(Mous
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.