Thanks Meester!
I've tried what you suggested but maybe I'm not putting things in correctly:
In the SWFKit initialize script everything I have is:
Code:
// Create the web browser control
var ax = createControl("Shell.Explorer.2", 0, 0, 1025, 670);
function ShowPage(url){
// this function is called from your actionscript and uses the iURL as url
ax.activex.navigate2(url);
}
// Fill the web browser control in the entire client area of the main window
getMainWnd().onSize = function(type, width, height)
{
ax.window.move(-5, 45, width+5, height+5);
}
In my Flash Movie I have (exactly what you gave me):
Code:
var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
xmlLoader.load(new URLRequest("url.xml"));
function LoadXML(e:Event):void {
xmlData = new XML(e.target.data);
ParseBooks(xmlData);
}
function ParseBooks(urlInput:XML):void {
var iURL:String = urlInput;
trace(iURL);
// call swfkit function to load the iURL in the browser
flash.external.ExternalInterface.call("ShowPage",iURL);
}
Basically the browser loads in completely empty.
Hope you can help!
Cheers