1 Reply Latest reply on Nov 19, 2008 12:14 PM by tzeng

    positioning items over system tray

    pyelagin
      Hi Eveyone,

      I'm working on the app where I have alert poping up over system tray... Problem is that if it runs on diffrent machine it apears much higher than on one I developed it on (due to diffrent screen rez)... Here how I calculate the screen positioning of the alert...

      var screenWidth = flash.system.Capabilities.screenResolutionY;
      var screenHeight = flash.system.Capabilities.screenResolutionX;

      alert_mc.x = screenWidth - 430;
      alert_mc.y = screenHeight - 610;

      (my alert box is 309x101) If I run the app on diffrent machine it does not calculate the position properly so alert shows up much higher... what am I doing wrong?

      Thanks,
      Peter