Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: FSCommands and JavaScript ?
From: Mike Krisher
Date: Tue, 15 Feb 2000 16:47:13 GMT

This is more of a JavaScript question I think. I have an FSCommand with
command=http://www.yahoo.com and args=opener, I am opening a new window with
my Flash movie that has the FSCommand, just like any JavaScript remote
control, however I am trying to use the FSCommand to load
http://www.yahoo.com into the opener. Anyone know how to do this, this is
what I have so far and it isn't working. And why can't I do this by using
GetURL?

<SCRIPT LANGUAGE="JavaScript">
<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
// atlastaxweb is the name of my movie given by Flash publishing with
FSCommand template
function atlastaxweb_DoFSCommand(command, args) {
var atlastaxwebObj = InternetExplorer ? atlastaxweb :
document.atlastaxweb;
// This is the core of the function that doesn't work right now
if (args == 'opener')
opener.window.location.href = command;
else
window.location.href = command;

}
// some more JavaScript to do other stuff goes down here


Thanks in advance,
Michael Krisher
http://www.mediumlook.com/~krash


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World’s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: Multiplayer Games Possible ov, Jason Bouwmeester
  FLASH: Anyone Up for a Challenge?, David Doggett

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]