title: How to Calculate Scale Factor if Screen Resolution Will Change in AS3
body: <p>If i change the screen resolution then, how I will calculate the Change Scale Factor of an object :</p>
  
  <p>For example my object current this.scaleX is 0.8 , this.scaleY is 0.8 (as you know scaleX and scaleY are the properties of the Flex) and my current screen resolution is 1360*768</p>
  
  <p>Now I change the screen resolution to 800*600 ,</p>
  
  <p>Then how I will calculate the changed scaleX and scaleY of my object.</p>
  
  <p>I am using the following formula to find the changed/updated Scale Factor :</p>
  
  <pre><code>scaleX = scaleX * (768 / 1360) * (800 / 600);
  
  scaleY = scaleY * (768 / 1360) * (800 / 600);
  </code></pre>
  
  <p>But it is not giving Correct result to me,</p>
  
  <p>So please Help me to solve this problem.</p>