Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

Displaying HTMLloader into a div

$
0
0

I have the following code:

 

$(document).ready(function() {
            var page = new window.runtime.flash.net.URLRequest("http://www.example.com");
            var html = new window.runtime.flash.html.HTMLLoader();
            html.addEventListener(air.Event.LOCATION_CHANGE, changedLocation);
            html.width = 600;
            html.height = 400;
            html.load(page);
});

 

As you can see when the page loads, it loads a domain into a HTMLLoader object.

 

All I need to know is how to get this object to display on my page, for example inside a DIV (e.g <div id = "webpage"></div>)


Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>