firegambler
Technical User
hi,
for a website i needed a popup.
here is how i did it:
i put this on the main timeline:
then i used this script on the button that should open the popup:
the problem is:
it works perfectly on my computer but on some others i get a "this site cannot be displayed"-error.
can anybody tell me why?
here you can see the case:
thanks in advance
(ps: both, calling a javascript function from the html-site
and the fBrowserWindow from flashcomponents.net resultet in the same error - but not necessarily on the same computers)
regards
for a website i needed a popup.
here is how i did it:
i put this on the main timeline:
Code:
Object.prototype.flashworker_popup_v2 = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL ("javascript:newwin = 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/1.5+"))+',screenY='+((screen.height/2)-("+h/1.5+"))+',left='+((screen.width/2)-("+w/2+"))+',screenX='+((screen.width/2)-("+w/2+"))+'"+"');setTimeout('newwin.focus();',900);void(0);");
};
then i used this script on the button that should open the popup:
Code:
on (release){
//url,†winName,†width,†height,†toolbar,†location,†directories,†status,†menubar,†scrollbars,†resizable
flashworker_popup_v2("[URL unfurl="true"]http://www.weinbau-neumayer.net/florian/index3.htm","BirthdayOfMusical",750,425,0,0,0,0,0,0,0);[/URL]
}
the problem is:
it works perfectly on my computer but on some others i get a "this site cannot be displayed"-error.
can anybody tell me why?
here you can see the case:
thanks in advance
(ps: both, calling a javascript function from the html-site
and the fBrowserWindow from flashcomponents.net resultet in the same error - but not necessarily on the same computers)
regards
