『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Join a global community of Adobe Air users and developers.
新着順
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
OS androidthe html5 audio tag works perfect in webstageview if the webpage is online, but if the html5 page is local it doesn't work.I copy all the files in File.applicationStorageDirectory;Have you any fix or information?
Hi, I am having problems with brightcove player in adobe Air development. I use AIR development for blackberry and I need to embed the brightcove player in the page.the code snippet for loading the player is given by the brightcove site which is:// By use of this code snippet, I agree to the Brightcove Publisher T&C // found at https://accounts.brightcove.com/en/terms-and-conditions/. package { import flash.display.Loader; import flash.display.LoaderInfo; import flash.display.Sprite; import flash.events.Event; import flash.events.ProgressEvent; import flash.net.URLRequest; import flash.system.ApplicationDomain;
I get this message when I try to install AdobeAir: "Unable to Install/Uninstall AdobeAir.Contact Administrator." I am the Administrator! Has anyone else got this message? My OS is Windows vista.
Hi Everyone,Reading the EXIF is not working in iOS. I managed to fixed using same classes(jp.shichiseki.exif.*) in Android.Here is my source code, import jp.shichiseki.exif.*;import flash.net.URLRequest;import flash.text.TextFormat;var cameraRoll:CameraRoll = new CameraRoll();var imagePromise:MediaPromise;var dataSource:IDataInput;var loader:ExifLoader = new ExifLoader();loader.addEventListener(Event.COMPLETE, onComplete);if(CameraRoll.supportsBrowseForImage){ cameraRoll.addEventListener(MediaEvent.SELECT, imageSelected); cameraRoll.addEventListener(Event.CANCEL, browseCanceled); //cameraRoll.addEventListener( ErrorEvent.ERROR, mediaError ); cameraRoll.browseForImage();}else{}function browseCanceled(e:Event):void{ trace
Hi, I have a pure AS3 project which uses Embed tag for iOS. I have been using 3.4 to 3.6 and 3.7 betas.Now i updated to the official release of 3.7 sdk but when i test with my project I got the Error.[Fault] exception, information=Error: Error #3747: Multiple application domains are not supported on this operating system.package {import flash.display.MovieClip;import flash.display.Sprite;public class TestAirIntelliJ extends Sprite { [Embed(source="../assets/bling.swf")] private var FaceBling:Class; public function TestAirIntelliJ() { var mc:MovieClip = new FaceBling() addChild(mc) }}}The SWF files has no AS3 code in it, it's a plain timeline animation swfWhat should i do to make it work with SDK 3.7 (I really don't want to write loads of code as I have LOTS of Embed tag in the project)
I have recently tried to download Adobe AIR and the computer reads that it was successful. However, when I try to locate the Adobe AIR application all I can find is the Installer. I tried looking in the OS, searching, basically looking everywhere and I can't find it. When I try and reinstall the program it just reads "This version of Adobe AIR is already installed on your system." But it didn't install, at least not correctly, because I can't find it. I'm not a big computer person so any help would be much appreciated!
Hello everyone,I'm developing an app (actually already developed the Android version and it's published in google play store).The mobile app was developed in Flash CS6 using several FLA files and a main swf file that loads each screen (separate swfs with AS3 code).I know there were issues with that method in the past (before AIR 3.6). But as I understood, today is possible to load external swfs (packaged within the app) using a loadercontext that is the same domain as the swf container.Like shown here:http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air-apps-on-ios/There are a few questions about iOS development:1 - how do you guys debug? I use Adobe Scout to see the trace logs but each build takes a lot of time and it's not practical.2 - How do you check for internet connection - every method I tried crashes my app3 - Any more tips to "discover" why and how the app crashes besides trace prints?In fact, when I publish my ipa file and run it (without
I'm trying to find a way to completely reload/restart my app at the end or use a seperate collection of swf files when creating an AIR iOS app in Flash Professional. I used a UIloader in flash with a simple preloader before the simple app that I've made but I get the warning "ActionScript contained in externally loaded SWF files will be ignored on iOS devices." My app works perfectly the first time through, but seems to encounter problems when played a second time, even if all the eventlisteners are removed. I'd like to completely refresh the app when it's played through a second time, either by unloading the main swf and switching to a preloader like I have previosly tried, or by seperating each scene into an easily loadable swf.Is there an AIR compatible alternative to the UIloader component, or something similar that would allow me to use external swf files with actionscript?Thanks for any help.
Hi,i got a local mp4 file in air 3.8 latest beta. when i play it with stageVideo i can't draw the stage anymore EVEN if i remove the StageVideo!![Fault] exception, information=SecurityError: Error #2123: Security sandbox violation: BitmapData.drawWithQuality: app:/yourApp.swf cannot access null. No policy files granted access.I'm fighting with this stupid issue for 1 week now and i tried everything.My path is local and relative from the app so no file://i tried removing hte stageVideo with this game. nc_stagevideo.connect(null); nc_stagevideo.close(); &nbs
Dear Developers, I was hoping you can help me out with garbage collection.During my game, I set the pauseforgcifcoolectionimminet to 0.25 just before the level is going to start, during selection of levels and at the end of a level (when statistics are appearing). During the level, while gameplay is occuring, should I set this to a high number (like 0.95)?The issue I am having is that there is a definate stutter in animation occuring during game play for as little as 2 seconds but sometimes as long as 4 or 5 seconds (not often, and has improved significantly since I started using the pauseforgcifcollectionimminent function). It is the type of thing I have seen and noticed in other ipad/android games but have not thought much of it....until it started occuring in my game. It seems to happen most with IPAD4, rarely on the mini and I have not noticed it at all on a Samsung.Thank you,JustinPS Previously I posted that I thought I had an issue with the IPAD when it ca
Hi there,we tried to submit our app to the Samsung App "AppStore".Our app gets rejected because it always crashes after some seconds on the Samsung WSVGA (1024x600) devices. All other devices seem to work.We use AIR 3.7 and the default renderMode.Any idea?Best omi
https://bugbase.adobe.com/index.cfm?event=bug&id=3594539
Within my app I have code like this:// in Item class constructorinputText.needsSoftKeyboard = true;// in ItemContainer classvar item:Item = new Item();addChild(item);stage.focus = item.inputText;requestSoftKeyboard();However, when I test on my Nexus 4 I find that while the textfield appears to receive focus (there's a blinking text cursor in it) the soft keyboard does not show up. If I manually tap the textfield then the soft keyboard appears.So, how do I get the soft keyboard to show up when I create the item?-Aaron
Hi, I have developed an android app that I wish to be execute in background but I don't now how I must configure for that. I need help please. It's possible configure the descriptor file for to be execute in background?? Thank you so much.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.