Copy link to clipboard
Copied
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>
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now