air

Adobe AIR 3.2 Glitch

我只是一个虾纸丫 提交于 2019-12-25 08:24:18
问题 I just finished a successful build of my program last night. Then, I get up this morning, and after an update fro Adobe AIR 3.1 to AIR 3.2, I find THIS bug! The same build under 3.1 works perfectly. However, as soon as 3.2 is installed, the following code after stopDrag fails silently. Mind you, it only fails in the packed and installed AIR application. It works perfectly when I test it inside of Adobe Flash Professional CS5.5 WHAT is going on? Here's the code I'm dealing with. Again, this

Getting the bit rate of a externally loaded mp3 in the flashplayer

◇◆丶佛笑我妖孽 提交于 2019-12-25 07:59:47
问题 does anyone know if this is possible? much appreciated, 回答1: Using the native flash sound class, you can read the id3 metadata property of the sound object, however this depends on the software that encoded the mp3 putting the encoding information in the metadata. there's nothing inherent to the mp3 itself that reports this to the sound class, and the metadata is often missing or unreliable. http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/media/Sound.html#id3 alternatively

how to add google admob ad in flash for ios?

做~自己de王妃 提交于 2019-12-25 07:07:54
问题 I am try to add admob ad to my flash for ios application.I have install the admob ane(https://code.google.com/p/flash-air-admob-ane-for-ios-and-android/) add the follow code in timeline import so.cuo.platform.admob.Admob; import so.cuo.platform.admob.AdmobEvent; import so.cuo.platform.admob.AdmobSize; var admob:Admob=Admob.getInstance(); admob.setKeys("ca-app-pub-17380930385764784/6322941144","ca-app-pub-17380930385764874/4846207943"); admob.showBanner(Admob.BANNER,AdmobPosition.BOTTOM_CENTER

Desktop Air Application Accessibility

冷暖自知 提交于 2019-12-25 07:05:04
问题 I'm trying to add accessibility to my application. I still can't figure out exactly how accessibility works in spark components. I'm on window's platform with the narrator function enabled. All I want to do is to name the three fields with a different name for accessibility so the user knows what to do. I tried to just use declaration to define the accessibility properties but it seems like it will always only speak out one name of the button. Thus, I took another approach and tried to create

What are some methods that Flash apps can communicate with each other?

十年热恋 提交于 2019-12-25 06:56:11
问题 I'm developing an interactive system where two client flash apps will talk to a third server app. The clients will be sending some status information to the server. I think I need two way communication...haven't decided whether the server needs to send back any acknowledgements yet. These will be applications and not .swfs that run in a browser. So far the only method that I see are to make the server an AIR app (b/c AIR has a Server Socket class) and make the clients Flash projectors (b/c

Performing an auto-save with Adobe AIR with out a popup save box opening

爷,独闯天下 提交于 2019-12-25 06:51:05
问题 I've an AIR app that I'd like to implement a auto-save functionality. Currently I have a service that uses a timer to check the status of the current active file in my app, then if the file changes to a new file, the service checks the current file name if that has changed then the file has changed. When this happens I want to perform a auto-save, which I can do but the problem is that the save popup save box opens when the save is called, this is how I call the save function: var file:File =

Adobe Air : StageWebView inside MovieClip

巧了我就是萌 提交于 2019-12-25 06:48:09
问题 I have a simple question. I want to have a StageWebView inside a MovieClip so if the MovieClip is moved, the Stage is moved to. var view:MovieClip = new MovieClip(); view.y=50; view.x=10; view.height=stage.stageHeight-50; view.width=stage.fullScreenWidth; addChild(view); var webView:StageWebView = new StageWebView(); webView=new StageWebView(); webView.stage=view.stage; webView.viewPort=new Rectangle(0,0,stage.fullScreenWidth,stage.stageHeight); webView.loadURL("http://www.google.com/"); Even

AS3 browse and load video

戏子无情 提交于 2019-12-25 05:44:23
问题 I'm currently working on a AS3 AIR project which involves allowing the user to browse a video file and load that same video onto the stage. I've managed to allow the user to browse for a video file type and according to my traces it completes loading the video but this is as far as I've got. There is plenty of tutorials which involve how to load video files from local sources or external links but nothing to show me what to do with a browsed file to display it on the stage. Here is the code

AS3 browse and load video

北战南征 提交于 2019-12-25 05:44:01
问题 I'm currently working on a AS3 AIR project which involves allowing the user to browse a video file and load that same video onto the stage. I've managed to allow the user to browse for a video file type and according to my traces it completes loading the video but this is as far as I've got. There is plenty of tutorials which involve how to load video files from local sources or external links but nothing to show me what to do with a browsed file to display it on the stage. Here is the code

AS3 Air 3.3 app on Android always crashes after 4 seconds

自作多情 提交于 2019-12-25 05:14:33
问题 I'm testing on an HTC Sensation, running android 4.0.3. I'm publishing using FlashDevelop 4.0.3 and using the Air Mobile AS3 App template. All the application does is display a Rectangle using: this.graphics.beginFill(0x00FF00); this.graphics.drawRect(0, 0, 100, 100); Just so I can see that its actually publishing something. The app runs correctly if I publish to the desktop, however when I switch to publishing it to the phone, the problem I'm facing is that the application publishes and runs