Ok - i now have this as the coding within the flash file ....

on (release, releaseOutside ) {
   this.gotoAndStop ('buttonUp');
   getURL("javascript:window.close();");
   fscommand("closeBrowserWindow", "");
}


and i have some java in the html page like so ...


<script type="text/JavaScript">
<!--
function myFlashMovie_DoFSCommand(command, args) {
if (command == "closeBrowserWindow") {
    window.close();
   }
}


//-->
</script>

but it still will not quit the browser!! - is there some kind of security that stops code from closing browsers in flash8 created files? - i don't even get a warning dialog box to ask me if i am sure i want to close the window ... i just cannot figure this out!

Simon
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to