Quantcast
Channel: Adobe Community : All Content - Adobe Animate CC - General
Viewing all articles
Browse latest Browse all 13519

Stage Dimensions not correct when the browser is zoomed in

$
0
0

Hi there,

 

I have an AS3 SWF (testing in FP 11) which acts as a preloader. The movie displays a progress bar while loading all the necessary extrnal assets.

 

The movie's dimensions are 200x200 and the div containing the movie is 200x200 too.

The progress bar is positioned in the center of the stage.

 

The problem is that when the browser is zoomed in (e.g. 200%) the stage dimensions (via stage.stageWidth and stage.stageHeight) are 400x400 and the progress bar is positioned incorreclty (half of the preloader is out of the stage).

 

Any ideas?

 

Thank you


Viewing all articles
Browse latest Browse all 13519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>