toonman
04-19-2002, 12:03 AM
this pops up a page from within a flash movie (button action "FScommand:openWindow")
//code in the html page containing the .swf
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function main_DoFSCommand(command, args) {
var mainObj = InternetExplorer ? main : document.main;
//
{if(command=="openWindow"){ openNewWindow()}}
function openNewWindow(){setTimeout(
window.open('d:/work/flash/php/toonman.d2g.com/mail.html','newwindow','height=220,width=220,toolb ar=no')),0}
but i need to pop up another window from the same movie (diferent button)
how can i do this?
use another FScommand (like "openNewWindow")?
how does the code check for wich command was set?
tankx
//code in the html page containing the .swf
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function main_DoFSCommand(command, args) {
var mainObj = InternetExplorer ? main : document.main;
//
{if(command=="openWindow"){ openNewWindow()}}
function openNewWindow(){setTimeout(
window.open('d:/work/flash/php/toonman.d2g.com/mail.html','newwindow','height=220,width=220,toolb ar=no')),0}
but i need to pop up another window from the same movie (diferent button)
how can i do this?
use another FScommand (like "openNewWindow")?
how does the code check for wich command was set?
tankx