Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | FLASH: Multiple FS Commands |
| From: | Brian McHarg |
| Date: | Fri, 3 Sep 1999 10:12:32 +0100 |
Is it possible to pass more than one parameter on an fscommand (or perhaps,
parse the string of parameters that is passed to javascript).
Allow me to make this a bit clearer ...
I have a piece of javascript which opens a new window containing an html
file. The script takes three parameters - URL, window height and window
width). The code is as follows :
<SCRIPT LANGUAGE="javascript">
function launcher (wfile,whgt,wwdt) {
File=window.open (wfile,"","status=no, toolbar=no, scrollbars=no,
resizable=yes, channelmode=no, screenX=0, left=0, screenY=0, top=0,
dependent=1 width="+whgt+", height="+wwdt, wfile);
}
</SCRIPT>
When I launch this from within an HTML page, the link <A
HREF="javascript:launcher('test.htm',250,250) works fine.
All I want to do is replicate this functionality with a Flash button. The
way I see it, I either pass the three parameters from the flash movie in the
form FSCommand(command,arg1,arg2,arg3), or I pass it as
FSCommand(command,args) and then use Javascript (somehow!) to spilt the one
arg into three to then pass it on to another routine. I have very very
little Javascript experience as to how to do this, so any help would be much
appreciated.
TIA.
B
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
Replies
Re: FLASH: Multiple FS Commands, Nigel Randsley-Pena
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

