Join a global community of Adobe Air users and developers.
Recently active
where can I download version 2.5.1.17730?/ thank you
Has anybody successfully implemented the new "GameInput" class in an AIR project yet?http://www.adobe.com/devnet/air/articles/game-controllers-on-air.htmlDespite including the SWC provided, I'm getting "Class flash.ui::GameInput could not be found" on AIR 3.8.Was I naive to think I could test this on Windows? Although I don't yet own an OUYA, I was hoping to get some response from an Xbox controller.
i'm developing an app for tablet pcs ,i have been confronted with adt code many time when i search solutions.but i dont know what is it, i dont know where to write these codes. is it only for flex? i dont find any guidence, please help
We have an app for browsing a catalog that streams content from a web server. There is an image for each product, some in JPG format and some in PNG format. Our server is fast and reliable so everything has been running smoothly so far, but we'd like to give users the option of saving the data to their device so they don't have to stream every time. I've only worked with SharedObjects before, which are capped at 100kb and won't be useful in this situation.What would be the best approach for storing the images, and keeping them from being overwritten during updates? Saving an uncompressed Bitmap will use too much storage space. Adobe's JPEGEncoder class is completely useless as it takes 10-30 seconds to save a moderately-sized image on a typical device. It also doesn't make sense to re-encode the JPGs, and we need to preserve the transparency in the PNGs.Right now we're using a Loader to retrieve the images and using loader.content to access the image data in code. Is it possible to sav
I have problems with HTTPS requests on android. Works fine in iOS and desktop. Android does not seem to get connection.Does anyone have any idea or input about this problem? Would really appreciate it!
The latest Adobe AIR 3.8 SDK seems to break apps on the Kindle Fire. On launch I see a black screen. When I touch the screen I see the UI for a split second, and then it does black again.The same app works fine when compiled with the last release 3.7 SDK.Pls investigate ASAP and let me know if you have trouble reproducing this in-house.Thanks,- Abey
I have fixed this, thanks. It's because this:<mxmlc file="${SOURCE_DIR}/${APP_NAME}.${APP_EXTENSION}"output="${OUTPUT_DIR}/${APP_NAME}.swf"static-rsls="true" It's the problemaccessible="true"configname="air"debug="${DEBUG_FLAG}"failonerror="true"fork="true"maxmemory="512m">Hi, nice guysThanks for your time to watch my proble!I'm develop IOS App by AIR 3.7. I have seen this about load swf http://blogs.adobe.com/airodynamics/2012/11/09/packaging-and-loading-multiple-swfs-in-air-apps-on-ios/ . Everything works fine in debug mode, but when I release it , everything is gone.I'm using AIR 3.7 in GPU renderer mode, and load SWF with some code. I have add LoaderContext.var l:LoaderContext=new LoaderContext(false, ApplicationDomain.currentDomain);l.allowCodeImport=true;When I debug in Fast mode, everything is ok, in Standard mode package get the Errors:Error occurred while packaging the application:java.lang.NegativeArraySizeException &
Hi there,I have a text file that packaged up in my app. It opens an reads just fine, however when I try to query the modification time on it I get "Error #3003: File or directory does not exist". It looks like this bug has been happening for a while (http://forums.adobe.com/message/4938225). Do I need to add an additional permission to access this info in the application.xml file perhaps?Thanks!
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 have an AIR 2.7 application on windows platform with few performance issues especially around db interaction (running sqlite queries by using flash.data.SQLConnection and flash.data.SQLStatement classes).After upgrading to AIR 3.0 I’ve noticed some big improvement around this areaLooking at the AIR SDK 3 release notes I found no reference about what exactly was fixed/improved. Anyone know or can point me to the right direction around what exactly was changed?Anyone from Adobe who can help here ????
This page says:"ActionScript 2.0 Compiler: The Actionscript Compiler 2.0 has been incorporated into the AIR SDK 3.8 (named 'AIR SDK 3.8 & Compiler') and retired as a separate download from Adobe Labs on March 14, 2013."I'm working on an AIR Mobile project where we would probably be saved about 6 months of intensive work if some of our legacy AS2 code could be compiled and run in AIR Mobile for iOS. So if there is actually an "ActionScript 2.0 Compiler" in AIR SDK 3.8, that would be fantastic to hear.However I suspect that this note has nothing to do with actually "compiling ActionScript 2.0 code"; I suspect this simply refers to version 2.0 of the "ActionScript Compiler". (Which is of course the same as the old "Flex Compiler." Which of course had nothing to do with the "Flex framework".)Clarification would be appreciated!
On Adobe's website, I can find the info that AIR 3.0 supported Android 2.2, and I can find that AIR 3.7 and 3.8 only support 2.3 and up, but nowhere can I find which version was the last to support Android 2.2; every old version's release notes link to the most recent system requirements. I need to support an Android 2.2 device which I don't have available for testing, and AIR 3.7 apparently crashes it instantly (NOOK Color.) Does anyone know the most recent version I can safely use on this device? (captive runtime, of course)
Hey how would I install Adobe Air SDK 3.7 for Flash Pro CS5.5 and Flash Builder 4.6?
How can I change the x and y paramaters of a stageWebView once it has been defined ?var socialWebView:StageWebView;socialWebView = new StageWebView();var path = "http://www.google.ca" as String;socialWebView.stage = this.stage;socialWebView.viewPort = new Rectangle(0, 42, 1024, 728);socialWebView.loadURL(path);How come this wont work ( socialWebView.x = 10 ) ????Any help is appreciated
Hi,We have a desktp application which incorporates an HTMLRichTextEditor (implemented in HTML/JS and loaded into AIR).We have run into a big problem with text selection though. It seems that the both the HTMLLoader and the StageWebView are passing wrong mouse coordinates to the WebKit when the cursor is outside of the component.I've created a sample application which uses mx:HTML (which is a wrapper of the HTMLLoader) and a WebView class (a wrapper aroun StageWebView reference to which is given here).The application is located here in Dropbox. The source code of the app is here.The app was built with Flex 4.6 and ran in AIR 3.7The sample app has a WebView which loads loremipsum and HTML loading some dummy local HTML page. The HTML page uses the JS->AIR bridge to report the mouseevents to a function in AIR. In the snapshot below the selection was started from the first row and then slowly continued to the left. As soon as it reaches the green area the selection changes unexpectably.
is it possible to build a simple local "web server" to handle http response (GET or Post) on Android and iOS using server socket in AIR 3.8? Suppose html/javascript page running in stageWebview, post a request and receive a response from this local AS3 "web server" ......thanks in advance!!!!Jackie
HelloKindle fire only supports AIR 2.7 and I'm trying to export a build release in Flash Builder 4.7 with the AIR runtime included (captive build). Whenever I build I get the following error:SDK component at air/android/device/Runtime.apk is out of dateI tried running the updater and it said I'm up to date. I did download the SDK and put it in my home folder but I can't seem to change the SDK reference in the preferences.(I had another java out of memory error including my ANE file but I turned it off just to get a build out. Not the focus of this discussion)It would be nice if flash builder just let me reference my freshly downloaded SDK but instead I have to sift through their document structure guessing where I should be updating the Runtime.apk that SHOULD be up to date already.I have had to go in to the package itself and modify the ini files and over-write the adb files from the fresh download of the SDK before.I'm guessing there is a way to update the Runtime.apk but i have so m
Testing my android app with Flash CC and the icon is shrunk down. Is there any way to manually add the 96 & 144 icons?
I'm having a problem with an Air database when there's no data in the table. The "if (result2 != null) {" statement always evaluates to true and then when I ask for the length on the next line I get the null object reference. I would think the if statement would be false because there was nothing to search and therefore nothing was found. All my problems go away once there's some data in "result2". What am I doing wrong? This result!=null code is the code I see in the database literature.This is what I get when I run this (making sure there's no db file...i just keep deleting it):[SWF] databaseTrial01forForum.swf - 35852 bytes after decompressionC:\Users\Jeff\AppData\Roaming\databaseTrial01forForum\Local Store\DBSample.dbError message: Error #1009: Cannot access a property or method of a null object reference.Details: undefinedTest Movie terminated.import flash.data.SQLConnection; import flash.data.SQLResult; import flash.data.SQLStatement; import flash.errors.SQLError; import flash.ev
Hi there,we had to install Windows 64 Bit for the better performance with the Flash Builder 4.7.So we also had to deinstall Flash Builder 4.7 and install it again.Now we have about 50 projects and we don't want to import each individually.Is there a possibility to import all the projects which are in the workspace folder or do we really have to add one after the other?Best omi
Hi,I am trying load a font as swf for IOS application.i tried load to it from both application directory and application storage directory.but it always throws the following error.Fast debuging mode everything works fine.Air Sdk 3.8Flash Builder 4.7swf version 20Error 3747: Multiple application domains are not supported on the operating system.Code i used to load the swf.var context:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain,null);var loader:Loader = new Loader();loader.contentLoaderInfo.addEventListener(Event.COMPLETE, fontLoadComplete);loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);var strPath:String = "assets/fonts/font.swf"var urlReq: URLRequest = new URLRequest();urlReq = strPath;loader.load(urlReq, context);please correct me if i am doing any thing wrong in loading swf with as3 code.Regards,Saravanan
Hi GuysI've got a game where the final .apk file size is around 6MB and it was taking anywhere from 10 to 25 seconds to load after initial installation with the user seeing nothing but a blank screen. In fact Android sometimes complained that game was taking to long and asked if I want to force close it !I've tried adding a very small splash .swf (less than 4KB !) which then loads the main swf and images but the loading time is still around 10 seconds ! (if the user has the game in memory it does load immediately so that's something!)So my questions are(A) Is the android Air runtime loading the whole .apk file before displaying anything onscreen ?(B) Is it possible to get large (5 to 10 MB) AIr apps (AS3 not Flex) to load with a splash screen appearing immediately? if so what's the basic technique (C) is it possible for one APK to call another apkThanks in advance guysOpps - I should also say that the same game on the iPhone and on a PC has a splash appearing straight away
Hello everyone. I've recently developed an app that is near the release deadline and I've ran into the problem of low resolutions icons. All of the troubleshooting I've done has claimed I'll need to manually package the app through the command line to do this. I have never done this before so I'm having some trouble. I've downloaded all of the required files I believe and have reached the correct bin folder, I'm completely clueless as to what syntax I need to type in from this point though. I've gotten as far as "adt -package" which then outputs that I'm missing additional information, but as I said, I haven't used command promt much and I have no idea how to format the rest of the information I need to put in or how to attach my current app.xml file to it.Any help would be appreciated.Edit: Nevermind everyone. After a lot more time spent researching I've managed to piece together how to do it and actually understand it as well.
I have been working to create ANE looks like ad-mob. Java's WebView displays on air-android-environment for showing and rotating Advertising.I succeeded to draw Java's WebView on air. What I really need to do is when activity goes behind, I need to notify deactive-event to ANEAdjarExtensionsContext, when activity goes in front I need to notify active-event. Otherwise "ANEAdjar_Adjarsdk" keep working if it is behind. If somebody know how to do please teach me.admobのようなwebviewを使った広告表示をANEを使って行っています。ANEにair上のactive,diactiveを通知したいです。もしくは、java側でactivityのonPauseとかonResumeを取れれば問題ないのですが・・・。画面が後ろに隠れた時、また前に戻って来たときの動作を指定したいです。public class ANEAdjarExtensionsContext extends FREContext{private ANEAdjar_Adjarsdk adsdk;@2226279public void dispose(){ Log.v("OREDOKO","dispose called"); try{ adsdk.onDestroy(); this.dispatchStatusEventAsync("onDestroy called", "fromNative"); &
Hi,I need to pass parameters to a URL and read the cookie info that is returned. I understand how to pass the parameters, but how can I read the cookie info returned by the server?Thx
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.