air

open and display a pdf file using actionscript for mobiles (iOS)

强颜欢笑 提交于 2019-12-12 09:18:22
问题 Currently I am working with Adobe AIR and getting practice with ActionScript. My aim is to display a PDF file in a view (iPad view in specific). To do so, I was using URLRequest to specify the location of the PDF and HTMLLoader for load the PDF. However is not working, I read in the documentation the following: HTMLLoader class. AIR profile support: This feature is supported on all desktop operating systems, but is not supported on mobile devices or on AIR for TV devices. For this reason I

ADL error while loading initial content Adobe air

爱⌒轻易说出口 提交于 2019-12-12 08:03:17
问题 I am new to AdobeAir. I started with helloworld app by just following the following link. http://help.adobe.com/en_US/air/build/WS144092a96ffef7cc4c0afd1212601c9a36f-8000.html I am able to compile HelloWorld.mxml file successfully, but i am not able to run the app by following command adl HelloWorld-app.xml . the error message says .. error while loading initial content. Also I am attaching the HelloWorld-app.xml <?xml version="1.0" encoding="UTF-8"?> <application xmlns="http://ns.adobe.com

Adobe Air vs Flash Player 10.1 Runtime

烂漫一生 提交于 2019-12-12 07:37:33
问题 Adobe Flash Player is a browser plug-in that provides advantages for users and content creators in the browser, including the ability to deliver RIAs in the browser. Adobe AIR incorporates technologies originally developed in Flash Player and enables rich Internet applications on the desktop. Adobe AIR and Flash Player provide complementary deployment methods for the RIAs. as in here Here are a couple of conceptual questions : Since both runtimes consume .swf files, what is the difference?

Chromecast & Air for Android Apps (AS3)

蹲街弑〆低调 提交于 2019-12-12 06:17:25
问题 Anyone one know a simple way to use / intergrate a chromecast sender for my Air for Android Apps so they can cast directly to a TV. I've done a few successful tests on webpages. but as for intergrating the code into an entirely AS3 project, I don't know were to begin? and I can't seem to find any docs on how to do this. Thank you in advance for your help. 回答1: There in an Air Native Extension that handles this: ANE-Chromecast on Github 回答2: The ANE on Github is not a solution (line 19 of

How to get a certain path for saving and loading an mp3 (AIR for Android)

妖精的绣舞 提交于 2019-12-12 06:15:05
问题 I'm using shine mp3 encoder for saving an mp3 file. It has a saveFile method that can save an mp3 file. When that method runs (with only one argument name:String), it automatically triggers a pop up and asks the user where to save the mp3 file. How can I prevent this pop up from AIR? I need a path for saving that sound and I want to load and play that sound later. Can someone help me find a way to prevent having to get the path from the user and instead use a fixed path that I can load back

How to create a “Please Wait” spinner while data is being imported

天大地大妈咪最大 提交于 2019-12-12 05:49:49
问题 I am creating an Flex AIR app which imports data from a zip file into a sqlite db. I need to show a progress bar / "Please Wait" spinner animation so that the user waits till the operation completes. I have tried to put a pop-up spinner animation but the problem is that the spinner stops spinning as soon as the database import queries start executing. I need to run both the spinner code and the import code simultaneously rather than sequentially. Thanks 回答1: The problem you are facing here is

“error 402: Current Android sdk version doesn't support initialWindow as xml tag” despite SDK 23

浪子不回头ぞ 提交于 2019-12-12 05:29:38
问题 I have an old Adobe AIR app that is working just fine on Android, except that it comes out in portrait mode. Without changing the source, just the application descriptor, I would like to fix this. Currently I have: <application xmlns="http://ns.adobe.com/air/application/2.6"> ... <android> <manifestAdditions> <![CDATA[ <manifest android:installLocation="preferExternal"> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <supports-screens android:normalScreens="true"/>

AS3 using Workers

ぐ巨炮叔叔 提交于 2019-12-12 05:25:43
问题 IDE: FLASH CS6 Professional SDK: AIR 18 for Android I'm trying to use Workers for my app. The problem is, it doesn't work that it suppose to be. public class Main extends Sprite { private var worker:Worker; public function Main() { var ba:ByteArray = this.loaderInfo.bytes; if(Worker.current.isPrimordial){ worker = WorkerDomain.current.createWorker(ba); worker.start(); trace("Created Main"); }else{ trace("Created Worker"); } } } It should output Created Main Created Worker but i'm only getting

AIR: components in window-based mxml component are frozen

有些话、适合烂在心里 提交于 2019-12-12 05:15:09
问题 SUBJ: creating a window-based mxml component, but in design mode all components that I'm adding are not movable, why? If I create component based on group f.e., it's ok, but based on window - they are frozen. Using Flash Builder 4.6 回答1: I guess it's a bug that Adobe needs to look into. But in the meantime, you can use <mx:Window> and change them all to <s:Window> before you will finally build the release version of the project. 回答2: I am facing the same problem and it's very frustrating. I

Error ITMS-9000: "Invalid Bundle. The bundle at 'XX.app' does not contain a bundle executable

喜夏-厌秋 提交于 2019-12-12 04:58:20
问题 I'm using Application loader 2.9.1 to submit application built by adobe flash player CS 6 with AIR SDK 15 First i submit .ipa but got error: Unable to extract archive. So i searching and find way: -extract .ipa -inside payload > .zip the xx.app folder Then i send .zip file and got Error: Error ITMS-9000: "Invalid Bundle. The bundle at 'XX.app' does not contain a bundle executable Anyone know how to solve this? 回答1: Just change .ipa extension to .zip directly, then try to send again. 回答2: Well