Skip to main content
Participating Frequently
August 2, 2015
Question

Browser zoom and Stage3D

  • August 2, 2015
  • 2 replies
  • 691 views

I noticed new Flash player versions (since 18 I think) works differently with browser zoom. Before, a zoom action (Ctrl+- in Google Chrome) caused onResize event and changes stageWidth and stageHeight. Right now stageWidth is not changing and only Event.BROWSER_ZOOM_CHANGE event fired.

It's good for display list games, they looks better now. But all my Stage3D (Starling actually) games goes blurry for zoom factor more 100%.

For example I have a game 800x600px. Before for browser zoom factor 150% I have stage size 1200x900px, same back buffer size and all looks perfect. Now I've got stage size 800x600 (and back buffer size) upscaled to 1200x900.

I tried to set bigger back buffer size manually using actual stage size and Stage.browserZoomFactor, I tried wantsBestResolutionOnBrowserZoom parameter, but can't get the good quality. Looks like it can't render in bigger rectangle than native stage size. I tested Chrome, IE, Yandex browsers, Win 8.1, FP 18.0.0.209.

How can I fix this?

This topic has been closed for replies.

2 replies

Participating Frequently
September 16, 2015

Hi,

Please read following blog for new feature introduced "Browser Zoom factor feature"

http://blogs.adobe.com/flashplayer/2014/09/improved-resolution-of-stage3d-content-on-browser-zoom.html

Thanks

DiamanterAuthor
Participating Frequently
September 22, 2015

Thank you for the new feature, but I can't see the difference with parameter browserzoom: "noscale" (Chrome, default Flash Player), still always wrong stage size.

Later I will make a demo page with my problem and test it in different browsers/players.

Participating Frequently
September 24, 2015

Hi

Have you added the attribute browserzoom in param list for both object tags i.e.with classid and type.

below is the format:

<param name="browserzoom" value="noscale" />

and add below attribute to parameter list of EMBEDSWF tag:

params.browserzoom="noscale"

This way the Browser zoom feature will be disabled. If you still face the issue please log a bug with your files attached describing the issue in our bugbase:Home

Thanks

DiamanterAuthor
Participating Frequently
August 15, 2015

Ho-ho, nobody works with browser zoom )