air

Could not resolve <s:Sequence> to a component implementation after adding AIR 3.6

☆樱花仙子☆ 提交于 2019-12-19 03:09:40
问题 Since changing to the AIR 3.6 I'm getting many errors such as: Could not resolve <s:Sequence> to a component implementation. If I switch to the built in Flex SDK 4.6.0 it works fine. I'm using Flash Builder 4.6. UPDATE I think that this is because there is a new compiler for ActionScript and that new compiler is included with the SDK and that is causing problems for Flex projects. I read this on the AIR SDK download page (which I did not notice before): Note : Flex users will need to download

Detect AIR versus Flash Player from an actionscript library

独自空忆成欢 提交于 2019-12-19 02:38:14
问题 I have an swc which needs to operate slightly differently depending on whether it is being hosted by AIR or not. I've seen two suggestions on the internet: Test Application.application for WindowedApplication. Test Security.sandboxType for Security.APPLICATION. However, these don't seem to work in my .swc as the compiler can't find WindowedApplication or Security.APPLICATION. My library doesn't need any other AIR features so I assume it's not being linked to the AIR libraries, and I assume

Multiple file uploader in HTML5 — browser support?

心已入冬 提交于 2019-12-19 02:27:43
问题 I read that the HTML5 spec introduced the ability to select multiple files in an upload form. What browsers currently support this? Does Adobe AIR support it? Bonus question: Is there a JavaScript library that takes advantage of this functionality? 回答1: Firefox 3.6, soon to be released, will have it as well, along with some other file-related goodies: http://hacks.mozilla.org/2009/12/multiple-file-input-in-firefox-3-6/ It is also supported by Chrome 3. I have no info on Adobe Air, but it

Properly preventing orientation change in Flex Mobile app

≡放荡痞女 提交于 2019-12-18 17:29:47
问题 Is anyone able to actually make it work properly in Flex SDK 4.6? Here's a short snippet : <?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" addedToStage="onAddedToStage(event)" title="Title"> <fx:Script> <![CDATA[ private function onAddedToStage(event:Event):void { if (stage.autoOrients) { stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGING, orientationChanging, false, 0, true); } } private

Adobe Air ios packager

筅森魡賤 提交于 2019-12-18 13:38:21
问题 There seems to be a lot of confusion regarding deploying Adobe Air apps to ios after the restrictions were lifted. Before apple lifted the restrictions you had to go through the process documented here: http://blogs.adobe.com/cantrell/archives/2010/09/packager-for-iphone-refresher.html using the Packager for iPhone. But now that the restrictions have been lifted and the Air 2.7 update we can use the same ADT tool in the flex SDK that we use with all air applications. My understanding is that

The Difference Of Location Storage File in air

非 Y 不嫁゛ 提交于 2019-12-18 11:58:01
问题 I want to ask the difference between air.File.documentsDirectory.resolvePath, File.userDirectory.resolvePath, air.File.applicationDirectory.resolvePath.. Can anybody explain when does the file will be store..... especially in windows 回答1: AIR's applicationStorageDirectory will automatically target these locations depending on which OS the application is running: Windows 7 / Vista: c:\users\USERNAME\appdata\roaming\APPLICATIONNAME Windows XP: c:\Documents and Settings\USERNAME\Application Data

How to add third-party jar files into my android application jar file?

无人久伴 提交于 2019-12-18 07:19:54
问题 I have an Adobe AIR application for Android. Using for this AIR 3.0 and Flash Builder 4.6. I need to make MyANEFile.ane - which must include 2 external .jar files: Flurry.jar + Tapjoy.jar. But when I made .ane file - it does not work. How can I add this 2 jar files to my main application jar file to make .ane file properly? Thanks. It shows me such errors in dalvik: *01-31 21:37:37.046: I/dalvikvm(12983): Could not find method com.amobee.agency.tracking.AmobeeReceiver.amobeeTracking,

airlines/aviation company list - Henley Air (Pty) Ltd

人盡茶涼 提交于 2019-12-18 06:16:13
ONEflight International, Inc. | airlines/aviation Chicago Jet Group | airlines/aviation Albinati Aeronautics | airlines/aviation Desert Jet | airlines/aviation Global Jet Concept | airlines/aviation Sunwest Aviation | airlines/aviation HeliCentre | airlines/aviation Skyway Aviation Services, Inc. | airlines/aviation Revolution Aviation | airlines/aviation Mountain Ridge Helicopters | airlines/aviation Heliflight bv | airlines/aviation Future Air | airlines/aviation Helilagon | airlines/aviation Classic Helicopter Corp. | airlines/aviation Southern Skies Aviation Ltd | airlines/aviation

Get the current logged in OS user in Adobe Air

北城以北 提交于 2019-12-18 05:43:43
问题 I need the name of the current logged in user in my Air/Flex application. The application will only be deployed on Windows machines. I think I could attain this by regexing the User directory, but am open to other ways. 回答1: There's a couple of small cleanups you can make... package { import flash.filesystem.File; public class UserUtil { public static function get currentOSUser():String { var userDir:String = File.userDirectory.nativePath; var userName:String = userDir.substr(userDir

IsAuthenticated works on browser - but not with Air client!

时光毁灭记忆、已成空白 提交于 2019-12-18 04:23:27
问题 My login code, after authentication: var authTicket = new FormsAuthenticationTicket( 1, userName, DateTime.Now, DateTime.Now.AddMinutes(20), // expiry false, roles, "/"); var cookie = new HttpCookie(FormsAuthentication.FormsCookieName, FormsAuthentication.Encrypt(authTicket)); Response.Cookies.Add(cookie); and, thanks to Darin Dimitrov, I have a custom Authorize attribute: [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, Inherited = true, AllowMultiple = true)] public class