Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | FLASH: FS command problem |
| From: | RobS |
| Date: | Tue, 21 Dec 1999 22:48:54 GMT |
I'm having trouble with the FS command... I pretty much copied the
code from the online tutorials but it doesn't work...
this is the Javascript code:
function lp_DoFSCommand(command, args) {
if(command == "openwindow") {
openNewWindow(args, "display");
alert(args);
}
}
function openNewWindow(docURL, windowName){
nwin = window.open(docURL,windowName,"height=375,width=585")
//nwin.location=docURL;
}
and the plugin code:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version
=4,0,0,0"
ID=lp WIDTH=585 HEIGHT=200>
<PARAM NAME=movie VALUE="lp.swf"> <PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#CCCCCC> <EMBED name="lp" src="lp.swf"
quality=high bgcolor=#CCCCCC swLiveConnect="true" WIDTH=585 HEIGHT=200
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1
_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
and I put the necessary command in the Flash animation... but
whenever I cick on the button for that command it doesn't execute...
any1 know what could be wrong?
thanks,
rob
aaress
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

