Hello everyone
I´m loading html content like my ownforum,own chatroom weblog etc scripted with cgi-php into my flash site as they´re called by different buttons, I have some AS around just like this:
buttom event (not on the main timeline)
on (release) {
address = "[http://www.mysite/cgi-bin/webchat.php.cgi?nopopup=1](http://www.mysite/cgi-bin/webchat.php.cgi?nopopup=1)";
target_winName = "chatroom";
width = 650;
height = 420;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
ActionFrame(not on the main timeline)
this.openWinCentre = function (url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL ("javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open('" + url + "','" + winName + "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar + ",location=" + location + ",directories=" + directories + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + ",top='+((screen.height/2)-(" + h/2 + "))+',left='+((screen.width/2)-(" + w/2 + "))+'" + "')}else{myWin.focus();};void(0);");
}
Ok ok, it works fine actually but my questions is: is it possible to pre/load these external html content? I ´d like to get this content using my generic preloader, yes the same one that preloads all my external swf´s into a Container MC
any sujestions and help are welcome:cool:
Thx in advance