air

“application descriptor not found” with Flash Professional project in Flash Builder 4.6

我是研究僧i 提交于 2019-12-13 07:34:49
问题 Environment: Flash Builder 4.6, Flash Professional CS6, AIR 15, OSX 10.9.3. AIR 15 is installed for both Flash Builder and Flash Professional. I am trying to get Flash Builder 4.6 to run/debug an .fla/AIR desktop project. I am able to edit code in Flash Builder and run the project in Flash Pro but I would like to use Flash Builder exclusively, aside from .fla tasks. I built a barebones test project in Flash Pro, set the properties to 'AIR desktop" and published an AIR-with-captive-runtime app

URL Loader class in Air application not returning results

假装没事ソ 提交于 2019-12-13 06:31:18
问题 I am using the class URLLoader in my air application and if i used parameters in url , flex showing an error #2032. if the same code used in web application, that is running in web browser, returning proper results. I didn't get a proper solution yet. Is there any way to return results in my air application? I used a web debugger fiddler, to check whether data is returning from server or not. Data is returning properly from the server, but it is not showing in air application. here is the way

Embedding swf into flash builder— “Type was not found”?

心已入冬 提交于 2019-12-13 05:59:52
问题 I am developing mobile app in ActionScript. Im importing .swf file but get error: Type was not found or was not a compile-time constant: MySwf. Here is my code: package { import flash.display.Sprite; import flash.display.StageAlign; public class gyyyyppp extends Sprite { [Embed(source='assets/g1.swf')] public static const MySwf : Class; public function gyyyyppp() { stage.align = StageAlign.TOP_LEFT; var p3:MySwf= new MySwf(); addChild(p3); } } } What I am doing wrong? (p.s. my swf file is

Change server HTML app into self-contained desktop app

谁说我不能喝 提交于 2019-12-13 05:39:11
问题 I wrote a simple web server that takes the public link to a google document containing image urls and names and outputs a print-friendly HTML photo directory with its contents. I created it for a volunteer organization that I will no longer be able to stay involved in. I need to pass on the ability to generate that directory to my successor. I'm not confident that I can trust myself to maintain that web application for the long term the organization needs. I'm hoping that instead I can change

Is it possible to load a local file without having to ask the user to browse to it first in an AIR Application?

浪子不回头ぞ 提交于 2019-12-13 05:32:43
问题 I'm writing a small application for myself and instead of using a database I'd like to just use Excel to store the small amount of data I have on my local file system. I want to be able to load that data without having to use the typical FileReference browse() method as it would just be annoying to do every time I use the application. The code below seems to find the file fine as the file.exists method below and most of the other attributes seem to be correct but the file.data is always null.

How to get ability to start up multiple same Adobe Air applications?

丶灬走出姿态 提交于 2019-12-13 05:08:12
问题 How to be able to start up same Adobe Air applications multiple times? How to make it to my app? 回答1: Multiple instances are not supported, but you can work around it. If you want the feature to support being run multiple times, you can respond to the InvokeEvent.INVOKE event dispatched by the NativeApplication. You can then open a new window and make it appear that the application is running multiple times. Alternatively, if you are simply trying to run the application multiple times to test

how do I open a newly written file from application storage directory in as3 / flex mobile?

放肆的年华 提交于 2019-12-13 05:03:59
问题 Im working on an app (flex 4.12 sdk, using flashbuilder 4.5, creating an app for ios and android, testing on an android htc one primarily)... and am using the camera to capture a file... Im then saving that image to the application storage directory, and I want to open the image in the default web browser or trigger a native dialog (android users) to choose the web browser of their choice... how it opens isnt really important right now -- Im mainly trying to just 'access' it with the device

Adobe Air video player blank video on iPad

狂风中的少年 提交于 2019-12-13 04:53:44
问题 Any idea why this simple piece of code wont work on iPad mobile? This works great on Android tablets, the desktop version, web version, etc. On iPad, the video is blank <?xml version="1.0" encoding="utf-8"?> <!-- controls\videoplayer\VideoPlayerEvent.mxml--> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <s:VideoPlayer source="rtmp://fmsexamples.adobe.com/vod/mp4:_cs4promo_1000.f4v" width="500"

GPU vs CPU render mode Adobe AIR

夙愿已清 提交于 2019-12-13 04:34:33
问题 I had the following question: BitmapData lock and unlock not working on android Now, encountering that issue, reading about render mode, I'm very confused how a script that simple fails in GPU mode,but is very fast on CPU mode. So the question is, how GPU mode works and how CPU mode works for adobe air? And why on GPU most of the stuff works better, but not that script Note: Base bitmap size should be bigger than 1400x1400 回答1: There are some limitations on GPU render mode. Adobe recommends

Windows sendTo Context Menu for Adobe AIR?

孤街醉人 提交于 2019-12-13 04:34:01
问题 I would like to know, if there is any way to enable the following (at least in windows): right-click on any file in local filesystem, choose sendTo and send the file to an adobe air application (for upload purpose for example). AIR can handle that via INVOKE Event, but how can I achieve this from the windows side - how can an AIR application register itself as a sendTo Option? any chance to achieve this? thanks! 回答1: I believe the way to do this would be to write a bat file that modifies the