AIR 3.4 Bug?
When I had AIR 3.3 and compiled my project to put onto my iphone for testing, everything worked. However, with AIR 3.4, there's just a blank screen, my backround color. Anyone else experience the same thing, or have a solution?
Hi NoKap96, i have good news i found a solution.
The reason to see a blank/white screen, it is beaucse the flash player is not pointing to the right air runtime.
Follow the steps mention in the below link
http://www.jasonsturges.com/2012/08/overlay-adobe-air-3-4-sdk-in-flash-builder-4-6/
In the link, it is mentioned that you need to edit air-config.xml, but actually i update airmobile-config too.
I Run my app on the local machine and it works.
N.B Still didnt test it on a device nor a push notification. Keep u posted
Similar Messages
-
Revision: 15030
Revision: 15030
Author: [email protected]
Date: 2010-03-25 11:49:00 -0700 (Thu, 25 Mar 2010)
Log Message:
AIR Spark Window bugs when layoutDirection="rtl". On Windows only, an empty window when created, didn't maximize or resize correctly. This class maintains its width/height in bounds rather than in the super class' _width and _height variables. Need to call setActualSize() whenever bounds is set so that the layoutWidth gets set correctly if this component is mirroring.
Fix an RTE in TitleWindow that I stumbled upon. Can not access the nativeWindow displayState if the window is closed.
QE notes:
Doc notes: None
Bugs: SDK-25978, SDK-25827, SDK-25825
Reviewed By: Jason
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-25978
http://bugs.adobe.com/jira/browse/SDK-25827
http://bugs.adobe.com/jira/browse/SDK-25825
Modified Paths:
flex/sdk/branches/4.x/frameworks/projects/airspark/src/spark/components/Window.as
flex/sdk/branches/4.x/frameworks/projects/airspark/src/spark/components/windowClasses/Tit leBar.asStope
Mailing me ***
Sent from my I phone -
AIR window mode bug? How to use the mouse when transparent?
Hey there,
I'm trying to build a transparent desktop application in AIR and have set the window mode to transparent.
The mouseposition and mouseevents only work when the mouse hovers over a visible movieclip but not on the background.
How can I fix that? Or is it an bug like some people say?
Also in fullscreen mode the stage is a LOT bigger than the actual screen.. i already set:
stage.scaleMode= StageScaleMode.EXACT_FIT;
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
but it doesn't help at all.
thanks for helpingAre you attaching your mouse handlers to the stage? If not, try it -- that's the typical way to capture mouse events within the entire flash player window. I'm not 100% it works with a NativeWindow set to transparent, though, since the main purpose of transparent window background is to simulate a non-rectangle window. If you want to have a transparent background but still act like a rectangular window you can probably just add a transparent rectangle (alpha=0, visible=true) to capture mouse events.
Hope that helps.
-Aaron -
AIR 3.0 bug with native menu?
Hi
I'm working on HTML/JS AIR application.
App loads native menu from XML, which is accessed from application using nativeWindow.menu. It worked OK in 2.7 and earlier, but recently AIR runtime was updated to 3.0 version and now nativeWindow.menu==null all the time (Mac OS). Could you take a look at this problem please?
BTW, I've another problem with menu on Mac OS (... but no such problem in OS Windws). Menu I created, which is loaded from XML, contains "File" and "Edit" items, but Mac OS creates another "File" and "Edit" items in menu, so Application has 2 duplicated items in menu with different content - first one contains default OS items, but the second - items I'm adding from XML. Could you tell me how can I fix this please? Did I mii something?
Thanks in advanceSorry guys, this wasn't a bug in AIR.
It's just necessary to check whether menu is supported by nativeWindow or nativeApplication, instead of trying to access menu from nativeWindow all the time.
For OS windows - nativeWindow, but for Mac - nativeApplication. -
[AIR 3.2 BUG] flash.media.scanHardware stop working.
From the adobe air Air 3.2 release day, a lot of support calls comeing in. Customer can't see any cameras in the our software!
Today, I find the problem. Adobe Air scanHardware() function stop working!!!!!
var ar:ArrayCollection = new ArrayCollection(Camera.names);
//first call. It's fine.
scanHardware();
var ar2:ArrayCollection = new ArrayCollection(Camera.names);
//after scanHardware(), it returns ar2.length = 0;!!!!!!!
It worked well in 3.1
Could you please stop customer automatically updates to Air 3.2 until it's really tested? I also have a lot of trouble in another bug.http://forums.adobe.com/thread/981856Thanks for the heads up on the AIR 3.2 issue with scanHardware(). I've verified this with a test app. Could you please open a bug over at bugbase.adobe.com and let me know the bug number? I'll link it to my internal bug that I'll be opening shortly.
Thanks,
Chris -
We have fund a bug that only occurs on some iOS devices.
After returning back from the Camera UI the application behaves strangely. The GUI jumps back and forth and is almost unresponsive. Our camera code has been working fine for several years and has been heavy testet.
I sounds like the bugfix in the Adobe Air 17 Beta from March 24, 2015 should fix the problem:
* Stage alignment get distorted on returning back from Camera UI. (3946793)
But the problem is both in Air 17 (version 17.0.0.124) and Air 17 Beta - March 24, 2015.Hi,
Thanks for the update. Can you tell us on which devices you are finding this faulty behavior. (also iOS version)
We have tried it locally, but couldn't reproduce it with new builds.
Below are the two videos I made regarding the same.
First one with AIRSDK 17.0.0.124
Dropbox - test_with_17_0_0_124.mp4
And other one with AIRSDK 17.0.0.144
Dropbox - test_with_17_0_0_144.mp4
Can you provide a sample project as well, with which you are able to reproduce it ?
-Tushar -
To Apple: Please fix iPad Air Wi-Fi Bug
Apple,
Please fix the iPad Air's Wi-Fi bug that has been in the IOS 8 operating system. This bug is causing the iPad Air to freeze constantly inside Wi-Fi-enabled apps and Safari. It is also causing settings to freeze constantly when going to get connected to the Wi-Fi. The best way to fix the freezing and connection problem is by restarting the iPad every time it loses connection and freezes.Hi SweeseM,
If you are having issues with your iPad becoming unresponsive when using Internet applications, you may want to try some things to troubleshoot.
First, quit all running applications and test again -
Force an app to close in iOS
Next, I would try restarting and if needed resetting the iPad -
Restart or reset your iPhone, iPad, or iPod touch
If the issue is still present, you may want to restore the iPad as a new device -
How to erase your iOS device and then set it up as a new device or restore it from backups
Thanks for using Apple Support Communities.
Best,
Brett L -
Reporting: Adobe Air - Black Screen Bug Spotted
Basically, my latest android app got rejected during a certification process due to a black screen popping up after triggering the alarm.
This is my error report that I received from the store:
Black screen appears after alarm
<Procedure>
1. Launch application
2. 'Start' > Play game > Alarm show up > End alarm > Check
<Expected Result>
Black screen should not appear
So all you have to do is create a new android project in air with nothing but a white background, set the orientation to horizontal, check the full screen option, export and install the app, run the app, minimize the app and open the clock app and set an alarm, go back to the app, wait for the alarm, then cancel the alarm once it pops up, and what you get is a black screen.
Interestinly enough, the background music plays in the background, admob ads work as well, only the screen goes black, but once we minimize the app and then go back to it again, everything's fine. Moreover, when the app is in a vertical mode, the black screen doesn't appear.
Additional info: Apps developed in Flash Professional with the use of Air 4.0. Tested on android 4.3 & 4.4.
Unfortunately, I won't be able to upload android air apps until the problem gets fixed .It may well only be GPU mode that shows the problem, though I could imagine Stage3D in Direct mode would do the same. The general case is that when the AIR app goes into the background and then comes back, the GPU textures may have been wiped out by the system. If you do really go to the background, as would be the case when an alarm dialog appears, you'll get the deactivate event that you can use to know that it has happened, and you can set the stage quality on the activate event.
In the case of the ads it may not count as being a full deactivate, but there is bound to be an event from the ad ANE. Look in its documentation for what evens happen when the ad is closed, and apply the stage quality work around to that event.
There is a chance that you won't have got the deactivate event, to set the quality to something different, and then when the activate event tries to change the quality nothing happens. At least I'm thinking that may be the case. You could work around that by testing if the quality is the one you want, then go away from that and back again to force a reload. For example, if you want the quality to be "medium" while the app is running, you could do this in the activate event, to make sure that it went away from medium:
if(stage.quality == "medium") stage.quality = "low";
stage.quality = "medium"; -
AIR - File.cancel() - BUG???
I've been trying for the last 3 hours now, but it just does not work. I'm using Flash CS 6, AIR 4.0.0.1390, OS 32-bit XP SP 3.
Scenario:
Using AIR's File, copy a large file to somewhere else "Asynchronously"
Pretty simple!! Here is the BUGGY part: try to show Progress - PROGRESSEVENT DOESN'T WORK. try to listen for canel() method - DOESN'T WORK. here is very simple, straigh-forward code:
import flash.filesystem.File;
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.utils.setTimeout;
var a:File = File.desktopDirectory.resolvePath("file1.abc"); //file size: 300+ MB
var b:File = File.desktopDirectory.resolvePath("file2.abc");
a.addEventListener(Event.CANCEL, cn); //DOES NOT FIRE
a.addEventListener(ProgressEvent.PROGRESS, pr); // DOES NOT FIRE
a.addEventListener(Event.COMPLETE, cl);
a.copyToAsync(b, true);
function cn(e:Event):void
trace('operation is cancelled');
function cl(e:Event):void
trace('operation completed');
function pr(e:ProgressEvent):void
trace(e.bytesLoaded + " " + e.bytesTotal);
to make everything pretty simple, I added these two lines:
var c:uint = setTimeout(function ():void {a.cancel(); b.cancel(); trace('cancelled');}, 50); //it traces 'cancelled', I DON'T KNOW wether it really cancels that operation or no
var d:uint = setTimeout(function ():void {b.deleteFile();}, 10000); //even after waiting for 10 seconds, it still shows Error, file is in use...
Here is the Adobe's documentation regarding .cancel() function:
"Cancels any pending asynchronous operation."
Is there any way to STOP/CANCEL current File's operation (such as openAsync, copyToAsync, moveToAsync)???? What if user wants to cancel large file copy??? NO WAY??In my same project, I use FileStream class as well and it works perfectly well. But I use it sychronously (because my files are not more than 4 MB). I think I will need to use FileStream class only for this particular issue, although File class could have been short-and-sweet...
As always, thanks Colin for your help... -
Adobe air 3.6 Bug With Microphone recording
ok i just tested and i would like to know if i'm the only one.... Everything work fine in 3.5. As soon as i upgrade to 3.6... The microphone only record 1 time on 3-4. Totallly random. It doesn't record at all on IOS.
Somebody got the same problem ?
really sample to test just use the microphone and addEventListener(SampleDataEvent.SAMPLE_DATA,onSampledData);
it will work 1 time on 3-5. I need this fixed asap for my release for my apps.
sorry for double post i posted it first in multiscreen development by error.Alright, crazy:
I can ssh into the Mac, run the package script (adt cmomand), install the ipa, and the Mic doesn't work.
But if I sit at the Mac terminal (same user, same codebase, same machine), run the package script (adt command), install the ipa, and the Mic works!
Madness - is adt somehow sensitive to running headless? Is it getting confused as to whether the Mic is available on the host vs on the target?
BTW - I can't get the Mic working in Android under any circumstances... -
Adobe Air 3.5 application in iOS 5.1 can't start
Hi,
I cretated a app in App Store with Adobe Air 3.5
It worked fine in a iOS 5.1 iPad when I tested it. But now, if I download it from the Apple Store it crashed on the beginning.
I just downloaded it, click on it and crashes during Adobe Air loading screen. It's only working in iOS 6.0 and above
Does somebody had a similar problem?
thanks!Hi, please forget my last message. I was changing so many things I finished using a wrong mobileprovision. That's why I couldn't install the app in the device.
On the other hand I have found the problem. Some changes in one of our ANE were not tested in iOS 5.0.1 devices and it made the app crash because it found a Adobe Air 3.5 bug. Adobe fixed it in AIR 3.6 -
Title
Incorrect functionality of embed tag in html loader for adobe air development
Description
Problem Description: If we had loaded youtube.com video url in a view stack and navigate to other index of stack or away from we UI screen within the same native window video or embeded tag of flash player or any other embed object will be displayed on top of all screens layer in same position of where the object should be placed in side of html loader only.
Steps to Reproduce:
1) go to http://get.straweb.com/StraWebBrowser/StraWebBrowser.air download and install
2) load 2 tabs and in the 3 tab load video player of youtube.com which will a sample video
before completing the load of 3 tab which trying to load video from youtube.com, navigate to other tabs 1 or 2 in few second once the flash player of youtube.com video player is load it will display in the current tab or UI screen.
3) Try navigating to other tabs than youtube.com loaded tab you see the flash player is on top it stable.
4) navigate to 3 tab and try to navigate to other tab you can observe that so how it will not show that flash player and only visible in that 3 tab which is fine.
Actual Result: Embedded tag of html page displaying on top of all layers of Adobe air application native window
Expected Result: Embedded tag of html page should only displayed in side htmlloader
This you can replicate in any adobe air plugin update and on any Hardware and Environment.
Applicable to all sdk versions of adobe air.Adobe Bugbase: Bug 3823839 Incorrect functionality of embed tag in html loader for adobe air development
-
Squareup integration with Adobe AIR based ios Application
Hi All,
Does anyone is having any experice to work with 'Squareup' i.e. https://squareup.com/
I want to integrate it with my adobe air based ios application.Is there any native extension is available for this?
Any information will be appriciated.
with Regards,
ShardulHi, please forget my last message. I was changing so many things I finished using a wrong mobileprovision. That's why I couldn't install the app in the device.
On the other hand I have found the problem. Some changes in one of our ANE were not tested in iOS 5.0.1 devices and it made the app crash because it found a Adobe Air 3.5 bug. Adobe fixed it in AIR 3.6 -
Adobe Air Crash when try to load video
Hi,
Recently, I am trying to do an very simple application using Adobe Air that plays video when certain key pressed on keyboard. However, the adobe air crash frequently when it try to load the video. The problem seems to be Adobe Air/ Flash player bug, because when I tried to do the debug, the debug launcher crash. I have tried with both f4v and mp4 format, but the situation is still the same.
I am using up to date Flash builder 4.5 and Adobe Air 2.7.1. Tested on both WinXP and Win7 Home Premium 32bit. Hopes to get your respond as soon as possible. If the problem cannot be solved soon, maybe I have to search for alternative solution to do the project. Thanks.
Here is my working code:
Display Window:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" width="640" height="360" showStatusBar="false" applicationComplete="initConn()">
<fx:Script>
<![CDATA[
import flash.utils.setTimeout;
import mx.events.FlexEvent;
private var SWFconn:LocalConnection;
private var delay:Number = 300;
private var intervalId:uint;
protected var nWin:videoscreen = new videoscreen();
private var playing:Number = 0;
protected function initConn():void{
stage.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown);
SWFconn = new LocalConnection();
nWin.width = 500;
nWin.height = 400;
nWin.open();
public function handleKeyDown(event:KeyboardEvent) :void
if(event.keyCode==13){
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
nWin.fullscreen();
}else if(event.keyCode==27){
stage.displayState = StageDisplayState.NORMAL;
nWin.normalscreen();
}else{
if((playing==0)&&(((event.keyCode>=48)&&(event.keyCode<=57))||((event.keyCode>=65)&&(event.keyCode<=67)))){
playing=1;
SWFconn.send("swfConnection", "reset");
clearTimeout(intervalId);
SWFconn.send("swfConnection", "select", String.fromCharCode(event.charCode));
intervalId = setTimeout(sendLock,delay, String.fromCharCode(event.charCode));
private function sendLock(msg:String):void{
SWFconn.send("swfConnection", "lock", msg);
playing=1;
nWin.player.source = msg+".f4v";
nWin.player.play();
private function reset():void{
SWFconn.send("swfConnection", "reset");
public function playFinished():void{
reset();
playing =0;
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<mx:SWFLoader left="0" right="0" top="0" bottom="0" source="content.swf"/>
</s:WindowedApplication>
Video Window:
<?xml version="1.0" encoding="utf-8"?>
<s:Window xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300" showStatusBar="false">
<fx:Script>
<![CDATA[
import mx.core.FlexGlobals;
import org.osmf.events.TimeEvent;
protected function CallBack(event:TimeEvent):void
// TODO Auto-generated method stub
player.source="";
FlexGlobals.topLevelApplication.playFinished();
public function fullscreen():void
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
public function normalscreen():void
stage.displayState = StageDisplayState.NORMAL;
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:VideoDisplay id="player" left="0" right="0" top="0" bottom="0" complete="CallBack(event)"/>
</s:Window>Hi Pierre,
Would you mind adding this as a new bug report over at bugbase.adobe.com? I went to look to see if there was an existing bug already in place but couldn't find one. If you can, note this thread url in the bug and post back with the bug URL and I'll follow up internally.
In Yue's original bug, he was able to narrow this down to memory leaks in the spark component video display. He ended up working around it by using the mx video display.
Thanks,
Chris -
How do I prevent AIR privateMemory from ballooning in Linux?
Okay, so we're making an AIR 2.7 App that runs on Linux. It swaps out child swf files all the time, the same five files, all loaded into the app once and playing in sequence.
Running on a Mac, the privateMemory continually reads around 400MB, give or take. Linux... Linux is weird.
Linux will start at about 200MB, and balloon. If we're lucky, Linux will decide to reclaim some memory, and we'll go back down to 200MB. If we're not lucky, we'll escalate past 2100MB at which point the app will crash (even though the box has 4GB of RAM).
I understand that System.privateMemory and System.gc() (both called regularly) is highly dependant on the OS, that's fine. But all methods of freeing up memory on Linux have failed, including cron jobs running methods outlined here: http://www.linuxarticles.org/2010/10/release-memory-in-linux-unused-or-cached/
To be clear: there is no memory leak. We cannot reproduce the problems we are experiencing in Linux with any other setup. And Linux can decide to run for days, releasing memory, reseting to around 200MB.
Is there any way to...
Allow the AIR application to use the full amount of RAM, instead of crashing at 2GB
From AIR, explicity release memory back to the Linux OS (System.gc() doesn't work)
Via a cron command, explicity take memory from the AIR app?We tested this on a less powerful Linux box with only 2GB of RAM (compared to 4GB of RAM in our good Linux boxes). It works fine.
In the stupidest fix I've ever seen, we are now theorizing that if we either physically remove or disable all but 2 GB of RAM, Linux will be forced to swap memory more often, thereby avoiding the issue that AIR 2.7 seems to have, where it crashes itself if it begins using more than 2GB of memory.
Is this behaviour expected in AIR or a bug? Is it a failsafe or an unexpected behavior?
Logging a bug: https://bugbase.adobe.com/index.cfm?event=bug&id=3192706 (Upvote if you've encountered this as well)
Maybe you are looking for
-
I have just enrolled to study and my course is online. in order to view any of the course content, i need macromedia adobe flash paper to be able to read anything. Please help....
-
Input and output varaiables are not shown
Hi, I am using BICS connectivity to connect to a BeX query from Xcelsius. I am able to logon to SAP use datamanager conn and also able to select a query. But after that the query input and output variables are not shown. Instead all those fields are
-
System requiremen​t for Labview run-time engine 8.6
Hello is there any system requirements for LabVIEW Run-time engine 8.6? for example, same system requirements for LabVIEW 8.6? Internet Explorer 5 is fine? or Internet Explorer 6.0 or higher is fine? Does it work for Firefox on an Athena Linux mechin
-
Centering Label Text over front Panel Indicator
How can I get the Text in the Label of a Front Panel LED Indicator Control in LabVIEW 2009 to be centered over the LED? How can I change the Font an Font Size of the Text of a Label?
-
Visible/invisible subform based on choices from 2 dropdowns
Does anyone have an example of a form with subforms being visible/invisible based on the answers of 2 dropdowns. thanks for sharing