|
-
This is probably going to make me look really dumb.
I've been trying to open a pop up window from within movie loaded into level 2 of the main timeline. I used the script below which works fine from the main movie but not from within loaded ones.
Does anybody know if it's possible? or how todo it?
Any comment would be really helpful.
Flash action:
on (release) {
getURL ("javascript:launchwin('map/map.html','pop','toolbar=no,location=no,status=no, menubar=no,scrollbars=javascript:launchwin('map/map.html' , 'newwindow' , 'height=150,width=300");
}
And this in the HTML:
<script language="JavaScript">
<!--
function MM_checkPlugin(plgIn, theURL, altURL, autoGo) { //v4.0
var ok=false; document.MM_returnValue = false;
with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
ok=(plugins && plugins[plgIn]);
} else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
else ok=autoGo; }
if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}
//-->
</script>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|