Adobe-Runtime-Support
Adobe-Runtime-Support copied to clipboard
[Feature Request] Extend minimum/maximum `StageWebView::viewPort` values
Feature Description
StageWebView::viewPort minimum/maximum values should be extended to support output to big videowalls.
Right now maximum value 8191 and minimum -8193. If you try to set up viewPort out of this range you will get ArgumentError.
var stageWebView:StageWebView = new StageWebView(true);
stageWebView.loadURL("https://airsdk.harman.com/");
stageWebView.viewPort = new Rectangle(0, 0, 8192, 620);
cause
ArgumentError: Error #2006: The supplied index is out of bounds.
at flash.media::StageWebView/set viewPort()
Related issues: https://github.com/airsdk/Adobe-Runtime-Support/discussions/3011 https://github.com/airsdk/Adobe-Runtime-Support/issues/2687 https://github.com/airsdk/Adobe-Runtime-Support/issues/2318 https://github.com/airsdk/Adobe-Runtime-Support/issues/2163 https://github.com/airsdk/Adobe-Runtime-Support/issues/2162 https://github.com/airsdk/Adobe-Runtime-Support/issues/2159 https://github.com/airsdk/Adobe-Runtime-Support/issues/524 https://github.com/airsdk/Adobe-Runtime-Support/issues/196
Known Workarounds
none May be write native extension with own webview implementation.
Works as expected with AIR 51.0.0.2. Waiting for fixes: https://github.com/airsdk/Adobe-Runtime-Support/issues/3083 https://github.com/airsdk/Adobe-Runtime-Support/issues/3084 and production release to close this feature request as completed.
Fixed. Tested with AIR 51.0.1.5. Thanks!