Skip to main content
Known Participant
Mar 25, 2014 2:11 PM UTC
Question

StageWebView website returns load error

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 is closed to new replies. Start a new post to keep the conversation going.

1 reply

User Unknow
Legend
Mar 25, 2014 10:35 PM UTC

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.

Translate