Skip to main content
Known Participant
March 25, 2014
Question

StageWebView website returns load error

  • March 25, 2014
  • 1 reply
  • 457 views

Hi,

I can't open the website of tumblr.com inside a StageWebView on my Windows PC - it returns a "load error". On other PC's the website works correctly.

What could be the reason for that?

Is my AIR version corrupt or does "antivir" AntiVirus tool blocking the website?

I'm using Flash CS6 and AIR 4 on Windows.

Any ideas welcome!

This topic has been closed for replies.

1 reply

User Unknow
Legend
March 25, 2014

Hi,

import flash.media.StageWebView;

import flash.geom.Rectangle;

var swv : StageWebView = new StageWebView();

swv.stage = stage;

swv.viewPort = new Rectangle(0,0,550,400);

swv.loadURL("tumblr.com");

this will return your load error.

But if you change :

swv.loadURL("tumblr.com");

to

swv.loadURL("http://tumblr.com");

it will load.