Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

stagewebview won't show this html/ js but browser does

Community Beginner ,
Mar 26, 2020 Mar 26, 2020

is there anyway to get stagewebview to show the webpage below I suspect it does not like outside source files like

<script src="http://www.ohohmoney.com/mystuff/engine/phaser3/dist/phaser.min.js"></script>

that does't work either

<script src="engine/phaser3/dist/phaser.min.js"></script>

/////////////////////////////////////////website code///////////////////////////////////////////////////////////

<!DOCTYPE html>
<html>
<head>
<title>My Game</title>
<script src="http://www.ohohmoney.com/mystuff/engine/phaser3/dist/phaser.min.js"></script>
<script>
var config = {
type: Phaser.AUTO,
scale: {
width: 640,
height: 480
},
scene: {
preload: preload,
create: create,
update: update
}
};
var game = new Phaser.Game(config);
function preload()
{
this.load.image('logo', 'http://www.ohohmoney.com/mystuff/publicPhotos/buttons/1.jpg');
}
function create()
{
this.add.image(320, 210, 'logo');
}
function update() {}
</script>
</head>
<body>
</body>

TOPICS
ActionScript , Code
170
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation