0

I am working in adobe flex 4.6 AIR application. I run my main application and click on button, a window is opened which is transparent, alwaysInFront="true", width and height of the screen. When it opens, i click on another buttons in my main application. The button click perform when i click 3 or 4 times on that in MAC but when i perform this in windows it working fine on single click. If i set the alwaysInFront="false" then it works fine in windows and MAC.

Window code is below

<?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"
          xmlns:customcomponents="customs.customcomponents.*"
          xmlns:services="services.*"
          width="100%" height="100%" backgroundAlpha="0"
          creationComplete="window1_creationCompleteHandler(event)"              minimizable="false" showStatusBar="false" systemChrome="none" transparent="true" alwaysInFront="true">

<mx:Canvas id="canDesktopVideo" width="100%" height="100%" horizontalScrollPolicy="off"
    verticalScrollPolicy="off"> 
</mx:Canvas>    

</s:Window>

So any one has any idea why alwaysInFront="true" in window create problem in MAC.

  • Unsure if this has anything to do with your problem (unlikely), but you should avoid mixing `mx` and Spark (`s`) components like you are here. Mixing them can cause issues (they are two different GUI frameworks, afterall) – Josh Aug 30 '13 at 21:14
  • Thanks Josh Janusch But there is no spark canvas. Please ignore this problem my actual problem is in the below link http://stackoverflow.com/questions/18534153/swf-file-playing-in-air – BikrantSingh Sep 02 '13 at 05:38

0 Answers0