air

Play MP3 in AIR app for iOS and Android

两盒软妹~` 提交于 2020-01-06 08:15:26
问题 I was wondering if someone could shed some light on the best method to embed, select and play audio files in an AIR app built for iOS and Android? I have an app where a user can select a file to play from a list of 10 audio files. These are selected when a slider moves left or right. I currently would create 10 individual embed snippets and classes [Embed(source="assets/audio/file1.mp3)] public static const file1:Class; [Embed(source="assets/audio/file2.mp3)] public static const file2:Class;

adobe air with flex, file new, open and save for Desktop software program

醉酒当歌 提交于 2020-01-06 04:29:27
问题 I already have a headache from all the searching. I cannot believe this to be such a confusing topic as every software program we create must be able to save user input, right. Here is the problem: Novel writing software program Main window has tabnavigator with four navigatorcontent pages 1. characters, 2. worlds, 3. objects, 4. Editor Each navigatorcontent page has user input fields in the form of textinput component, textarea component, richtexteditor component, etc. problem 1: The user

Problems with https on iPad from Air app

旧城冷巷雨未停 提交于 2020-01-06 02:31:10
问题 I have developed an in-house Air app for the iPad that tries to connect to a jetty web server via SSL (https) using HTTPService. Even the simplest GET returns error #2032 (runs OK with plain http). I have checked the obvious things: URL is correct, certificate is correct and correctly installed, I am using the right port, which is open. As a matter of fact, the URL can be accessed from Safari on the iPad without problems. It also runs correctly on adl. I am using an iPad 2 with iOS 5. The

Problems with https on iPad from Air app

走远了吗. 提交于 2020-01-06 02:31:06
问题 I have developed an in-house Air app for the iPad that tries to connect to a jetty web server via SSL (https) using HTTPService. Even the simplest GET returns error #2032 (runs OK with plain http). I have checked the obvious things: URL is correct, certificate is correct and correctly installed, I am using the right port, which is open. As a matter of fact, the URL can be accessed from Safari on the iPad without problems. It also runs correctly on adl. I am using an iPad 2 with iOS 5. The

AIR Application written using Singletons needs to spawn multiple instances of app

自作多情 提交于 2020-01-05 12:13:20
问题 I have an AIR application that uses Singletons to manage global state throughout the application. Works great for what it does (manages a network appliance). But now the client wants to spawn multiple application instances from the first instance so they can manage multiple hardware devices at the same time ... kind of like a dashboard but lots bigger. As you can guess, I coded myself into a corner with the singletons so if I refactor the application to have a bootstrap class that launches

AIR Application written using Singletons needs to spawn multiple instances of app

青春壹個敷衍的年華 提交于 2020-01-05 12:13:13
问题 I have an AIR application that uses Singletons to manage global state throughout the application. Works great for what it does (manages a network appliance). But now the client wants to spawn multiple application instances from the first instance so they can manage multiple hardware devices at the same time ... kind of like a dashboard but lots bigger. As you can guess, I coded myself into a corner with the singletons so if I refactor the application to have a bootstrap class that launches

How to play youtube videos on IOS using Actionscript 3

瘦欲@ 提交于 2020-01-05 10:16:09
问题 I am trying to fetch youtube playlist and play videos on IOS. My app works fine on Android and Flex simulators but does not work on IOS. Looks like there is a limitation on loading swfs in IOS here. I am using as3-youtube-data-api for the purpose. Can anyone guide me on how can I embed or play youtube videos using as3 (Flash Builder 4.5) on IOS or is there any other way available? Note: There is "Cisco Technical Support" app in app store, which plays youtube videos embedded in the app. Update

adobe air: how to embed air runtime or simply distribute air applications?

限于喜欢 提交于 2020-01-05 08:45:18
问题 My question is quite simple: I want to create an adobe AIR application for desktop (windows). What if an user does not have AIR runtime installed ? Does newest version of AIR come now with EMBEDDED AIR runtime, so it works even for people that do not have AIR runtime installed ? if not, what would be the simplest way to distribut my AIR application and make sure people that do not have air runtime will be able to run it ? regards 回答1: With the Release of the AIR 3.0 SDK you are now able to

ActionScript 3 AIR — Video make blink jump

邮差的信 提交于 2020-01-05 04:17:05
问题 I make an application for iOS and Android using ActionScript 3 and Adobe AIR ( 3.7 ) to build the ipa and apk. In this application, I load a Video from an FLV and add it in the scene. The problem is, on the emulator or the Flash view, all is ok, but, on the iPad ( test on iPad 1, 2 and 3 with same results ) the video makes shorts jumps ( like a sudden freeze follow by a short jump into the time-line ) every 2 secondes, approximately. Of course, I make sure that the video wasn't under other

Connecting lines (while dragging) in Flex/Actionscript

若如初见. 提交于 2020-01-04 17:29:48
问题 I have a mx:Canvas element that contains several mx:Panel elements. I want to be able to draw a line connecting two such mx:Panel's in such a way that the line continues to connect the two mx:Panels when one or both get dragged around. It seems like something that should be trivial to do, but I haven't been able to figure it out. In effect, this is the problem. alt text http://img150.imageshack.us/img150/5656/ishot1eu3.jpg Since the updates only occur when the Panel reaches it's final