air

packaging air application with air runtime in one installer - windows .exe

有些话、适合烂在心里 提交于 2020-01-14 04:55:08
问题 I've been approved to distribute the adobe air run time. I've been able to a packaged .dmg file without any problems, now I'm trying to create a package of my application with the runtime for windows. I've followed the same instructions and the windows installer (MyApp 2.0 Installer.exe) is working properly when I double click it form the installer directory that I created. Now I'm trying to package everything from that directory into one .exe file. I've tried using the standard windows

Is it possible to record video and upload it to youtube using actionscript 3 and php?

被刻印的时光 ゝ 提交于 2020-01-14 04:33:07
问题 Can i upload videos to youtube using an as3 based Adobe Air application, record it, send it to a server and then submit to a youtube account channel? Are there any tutorials on this? Thanks in advance. 回答1: Short answer: yes. Long answer: It is going to take some effort, but you have the pieces from the sounds of it. Youtube Upload API: http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html#Uploading_Videos Flash Recording API: http://livedocs.adobe.com/flash/9.0

problems with loading embedded swf files in air app

。_饼干妹妹 提交于 2020-01-13 06:53:27
问题 I have a game file which I create using flash cs 5.5. I have another swf file which is hint file which I embedded in that game file. It works fine in pc. I got problems when I tried to load that game file with embedded swf file. I got the following error: SecurityError: Error #3226: Cannot import a SWF file when LoaderContext.allowCodeImport is false. Can anyone tell me why is this happening ? 回答1: I suppose you're working with adobe air for mobile on your android device. In air for mobile,

Relationship of Adobe AIR SDK and Flex SDK?

六月ゝ 毕业季﹏ 提交于 2020-01-12 06:53:13
问题 I'm trying to make sense of the whole mess of the Flash platform (mainly so I understand the terms being thrown around) and so far, I haven't been able to figure out how exactly the AIR and Flex SDKs are related. Without actually having looked at the SDKs, my understanding would have been that AIR enables you to develop Flash (i.e. ActionScript, and apparently also JavaScript/HTML) applications that can be run by the AIR runtime without the need of a browser (such as a pure desktop or

Using StageWebView.loadString() to display Google Maps on AIR for iOS

余生长醉 提交于 2020-01-11 14:26:10
问题 I'm trying to use a StageWebView to display a Google Maps map generated using the Javascript API. Is there a reason why it won't render on iOS? It works on Android and in the AIR simulator, but not on iOS devices. I can view the HTML generated in Safari, too, which makes it even odder. Example HTML (I am dynamically generating this in-app, not that it matters): <!DOCTYPE HTML> <html style="width:100%; height:100%; margin: 0; padding: 0;"> <head> <title></title> <script src="https://maps

Do I use AIR or native code for iOS application?

核能气质少年 提交于 2020-01-07 05:50:08
问题 I have been using Flex for desktop development for years. I'm new to mobile development and need to create an app for the iPhone 6 but have no idea whether I should be using Flex/AIR or native code. The requirements of the iOS app is as follows: Record video to local storage within app Playback video from local storage within app Pause/seek video within app Overlay controls on top of the video such as TextInput, TextArea and DropDownList so user can make notes as video is being recorded Data

Flex Webservice and Android

爷,独闯天下 提交于 2020-01-07 04:35:17
问题 I have a problem when I try to access to a webservice from a mobile application. When I try the address of the webservice on my browser, it works, when I try in my application on the emulator of Flash Builder, it works. But when I try it on my phone, it doesn't work! I have access to the web in my application. I just create the webservice in a view in MXML. <?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" title

Using SMTP Mailer but not successful yet

若如初见. 提交于 2020-01-07 03:17:10
问题 I am trying to send mail via Adobe AIR using smtp of gmail with the following code. But no success. Anybody can help pls ? Thanks import org.bytearray.smtp.mailer.SMTPMailer; import org.bytearray.smtp.encoding.JPEGEncoder; import org.bytearray.smtp.encoding.PNGEnc; import org.bytearray.smtp.events.SMTPEvent; import flash.utils.ByteArray; import flash.display.BitmapData; import flash.display.Bitmap; import flash.events.*; // create the socket connection to any SMTP socket // use your ISP SMTP

Unable to get a saved data in adobe air ELS

丶灬走出姿态 提交于 2020-01-07 02:46:07
问题 I am trying to save and get data from an adobe air application with the following code. buts its just keep alerting only undefined. Can someone find the error? function saveData(n, v){ var bytes = new air.ByteArray(); bytes.writeUTFBytes(v); return air.EncryptedLocalStore.setItem(n, bytes); } function getData(n){ var storedValue = air.EncryptedLocalStore.getItem(n); return air.trace(storedValue.readUTFBytes(storedValue.length)); } saveData('item1', 'value1'); alert(getData('item1')); 回答1: try

Can sqlite databae be used with as3 air app for android devices running 6.0+ versions?

£可爱£侵袭症+ 提交于 2020-01-06 21:39:22
问题 My App and Sqlite connection works on simulator but does not work when publishes on android device. Below are the sample codes, I have tried, all work on simulator but not on android phone // SAMPLE-1 var conn:SQLConnection = new SQLConnection(); conn.addEventListener(SQLEvent.OPEN, openSuccess); conn.addEventListener(SQLErrorEvent.ERROR, openFailure); var fileLocation:File = File.applicationStorageDirectory.resolvePath("assets/weddingsql.sqlite"); ; conn.openAsync(fileLocation, SQLMode.READ)