Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

Webview2 not working with runtime 97.0.1072.69 with version 94 no problem

Open win3k opened this issue 3 years ago • 2 comments
trafficstars

Windows 10 SDK 33.1.1.743

Problem Description

Error when loading stagewebview

Error: Error #1001: The method StageWebView is not implemented. at flash.media::StageWebView/init() at flash.media::StageWebView() at Webview_win10_fla::MainTimeline/frame1()[Webview_win10_fla.MainTimeline::frame1:12] at runtime::ContentPlayer/loadInitialContent() at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at ADLAppEntry/run() at global/runtime::ADLEntry()

Steps to Reproduce

var webView : StageWebView; webView = new StageWebView( true ); webView.stage = this.stage; webView.viewPort = new Rectangle( 0, 0, 1024, 768 ); webView.loadURL("https://google.com/");

Known Workarounds

Just in case others run into this – do you happen to know of a workaround? Otherwise, just remove this section altogether.

win3k avatar Jan 22 '22 20:01 win3k

This is likely to be the same issue as was reported for other Windows versions, basically Microsoft updated their installer such that it's providing a per-user installation of the WebView2 component rather than a per-machine. Which also means that their documentation is wrong in terms of what registry entry we need to look at to find the install location....

We have a fix for this that will be in the next release. Or if you're able to get their installer to run with elevated permissions, it should then install in the per-machine mode and add the correct registry entry...

ajwfrost avatar Jan 22 '22 20:01 ajwfrost

@win3k, you could check with latest AIR 33.1.1.856. My similar issues gone with it. https://github.com/airsdk/Adobe-Runtime-Support/issues/1565

itlancer avatar May 26 '22 00:05 itlancer