air

AIR Android force Numeric Text Input

Deadly 提交于 2019-12-12 21:50:12
问题 In as3, is it possible to force the numeric keypad entry to show on a textfield instead of the standard keyboard? I have a textfield that the user will enter a price with, and it would be a nicer user experience. I know i can restrict the textfield input but would like that actual numeric pad to appear. 回答1: First, see a follow document. http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/StageText.html#StageText%28%29 http://blogs.adobe.com/cantrell/archives/2011/09

AS3 fileStream appears to read the file into memory

送分小仙女□ 提交于 2019-12-12 18:29:27
问题 I am writing a process where users will need to select a file that far exceeds their availble RAM and have that file broken up into small chunks (for upload). I'm able to create a File reference to said file, but when I try to pass it to the fileStream, it appears to try to read the thing into memory before acting on it. Is there a way to get fileStream to just take the reference to the file and then utilize readBytes the way it's documented? Here is my code... it's called when the user

Adobe air mobile - softKeyboardType is not working when using skinClass to allow scrolling?

流过昼夜 提交于 2019-12-12 18:16:21
问题 I am trying to set the softKeyboardType to email but when ever i use skinClass="spark.skins.mobile.TextAreaSkin" it doesn't change it but when i take off skinClass="spark.skins.mobile.TextAreaSkin" it does work. The problem is i need the skinClass="spark.skins.mobile.TextAreaSkin" class to allow my application so scroll with out it the text does not stay with in the bounds of the text input boxes. Has anyone seen this problem or another fix the the scrolling problem? Code examples <s

AS3/AIR Mobile Click and/or touchevents on moving objects

孤街醉人 提交于 2019-12-12 18:06:58
问题 few weeks ago i asked a question about a similair issue, but within the Starling Framework (Starling TouchEvent on Sprite) Now, i am working on another mobile app/game with Away3d. I seem to have the same problem touching/tapping a moving sphere or box. When the sphere is not moving, i can just tap it exactly at its position, but when it rotates, the click-event doesnt fire very accurate. this only happens on Mobile (tested on Android 4.2.2: Nexus7/Galaxy S2 and iOS: iPad2/iPad Retina)

Create a Notification window in Adobe AIR Application

余生颓废 提交于 2019-12-12 15:52:25
问题 I want to create an AIR application in which i need to show the notification that when AIR application is minimize then at some interval of time message shows from the system tray similar like giving information. I have visited this LINK, its a nice component but tutorial is not that much good as component. I need to create a component like that or source is available from this site so modification in this component will also be acceptable. so please help me. EG: When you minimize the Yahoo

Where does the Adobe AIR Browser store it's cache?

拜拜、爱过 提交于 2019-12-12 15:41:56
问题 When you create a AIR app with an embedded web browser, where does it store it's cache? How can I clear this cache? 回答1: On my WinXP machine, AIR apps cache such data into C:\Documents and Settings\username\Local Settings\Temporary Internet Files . So while I don't have any other systems to hand, it would appear AIR uses what it considers to be the platform-specific system temp folder. (As for how you clear it, in my case you can do so through IE settings dialogs or other "clean up unused

Can I embed a sqlite database in an Air application?

旧城冷巷雨未停 提交于 2019-12-12 13:06:17
问题 Is it always necessary to create a database for the user in an adobe air application or can you ship an empty database as part of the distributed app? 回答1: Look up the section 'Distributing a pre-populated database' in Flex 3.0 documentation. From the documentation: [...]As an alternative to creating the database, structure, and data programmatically, you can distribute a pre-populated database with your application. To distribute a predefined database, include the database file in the

How can I nicely animate between viewstacks

亡梦爱人 提交于 2019-12-12 11:34:41
问题 I have a little Adobe Air app and I want to have several 'views' within it. I can achieve these views using a ViewStack but am having difficulty finding a nice way to animate between them. This is what I have tried and although it works, one view disappears before sliding into view when what I want is more like the DestroyTwitter app where the view and all controls slide out of view nicely: <?xml version="1.0" encoding="utf-8"?> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml

Application Loader: Apple's web service operation was not successful

瘦欲@ 提交于 2019-12-12 11:31:43
问题 I'm trying to upload an app with Application Loader but I get following error : Apple's web service operation was not successful Unable to authenticate the package: 54005906.itmsp An unknown error occurred. (2010) What is the problem? I really can't find any info. 回答1: Its was problem with Apples process. Worked the day after! 回答2: I would check following 1. Profile, username, password, certificate 2. Clean Build and Try again. 回答3: I kept getting it for several days until I changed

AIR/as3 stage keylistener overriding input textfield

*爱你&永不变心* 提交于 2019-12-12 10:06:27
问题 I'm building a mobile AIR app (Android & IOS) with Adobe Flash Builder 4.6 and I'm having this annoying problem. Because I want to 'catch' the back-key on Android devices I added the following code to my main class: stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDown); private function keyDown(k:KeyboardEvent):void { if(k.keyCode == Keyboard.BACK) { backClicked(); // function handling the back-action, not important k.preventDefault(); } Now somewhere else - nested in some classes - I've