PDA

View Full Version : Help on FS command


Schultz2001
10-18-2001, 09:00 PM
Please, could someone tell me how exactly do I use the FS command ? I just need to control a SWF movie from the HTML code (sending/recieving variables, changing playhead position, etc.) I tries your tutorial but it's a litle unclear and hard to understand for a newbie. Thanks !:)

orox
10-20-2001, 04:58 AM
when puplishing movie choose template Flash with FScommand
ex.:
inflash on(press) {fscommand ("sender", "asasasas");}
in html file:

<SCRIPT LANGUAGE=JavaScript>
<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function Movie2_DoFSCommand(command, args) {
var Movie2Obj = InternetExplorer ? Movie2 : document.Movie2;
if (command == "sender") {
alert(args);
}
}
</SCRIPT>

RanTen
10-22-2001, 08:12 AM
Hi Schultz,

Check out these threads:
http://64.224.111.148/forums/showthread.php?threadid=88300
http://www.were-here.com/forums/showthread.php?threadid=53676
http://64.224.111.148/forums/showthread.php?threadid=62885
http://www.were-here.com/forums/showthread.php?threadid=63000

cheerio