Flasher Archive

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


Subject: FLASH: RE: FLASH: � FS Command �
From: Jason Bouwmeester
Date: Thu, 4 May 2000 21:38:53 +0100

Damien,

I believe I addressed this before. Where you have this:

function img/DamienLogo_DoFSCommand(command, args) {
var img/DamienLogoObj = InternetExplorer ? img/DamienLogo :
document.img/DamienLogo;

as well as in this:

document.write('Sub img/DamienLogo_FSCommand(ByVal command, ByVal
args)\n');
document.write(' call img/DamienLogo_DoFSCommand(command, args)\n');

change ALL instances of img/DamienLogo to DamienLogo or img_DamienLogo... I
think that the / is confusing the javascript.

HTH,
jb


-----Original Message-----
From: Damien Junqueira Fazio [damienatflipflop [dot] com [dot] br (mailto:damienatflipflop [dot] com [dot] br)]
Sent: Wednesday, May 03, 2000 8:37 AM
To: Flasher L
Subject: FLASH: � FS Command �


======================================================
Dear Friends,

The FS Command it�s the only way to use Flash with JavaScript ???

I�m getting an error when Flash creates the HTML page. Something like
an ")" missing !!!

This is the code:



<HTML>
<HEAD>
<TITLE>img/DamienLogo</TITLE>
</HEAD>
<BODY bgcolor="#000000">
<SCRIPT LANGUAGE=JavaScript>
<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function img/DamienLogo_DoFSCommand(command, args) {
var img/DamienLogoObj = InternetExplorer ? img/DamienLogo :
document.img/DamienLogo;
//
// Place your code here...
//
}
// Hook for Internet Explorer
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 &&
navigator.userAgent.indexOf("Windows") != -1 &&
navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('<SCRIPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('Sub img/DamienLogo_FSCommand(ByVal command, ByVal
args)\n');
document.write(' call img/DamienLogo_DoFSCommand(command, args)\n');
document.write('end sub\n');
document.write('</SCRIPT\> \n');
}
//-->
</SCRIPT>
<!-- URL's used in the movie-->
<!-- text used in the movie-->

codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0
,0"
ID=img/DamienLogo WIDTH=250 HEIGHT=70>
<PARAM NAME=movie VALUE="img/DamienLogo.swf"> <PARAM NAME=loop VALUE=false>
<PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM
NAME=bgcolor VALUE=#000000> <EMBED src="img/DamienLogo.swf" loop=false
menu=false quality=high bgcolor=#000000 WIDTH=250 HEIGHT=70
swLiveConnect=true
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash"></EMBED>
</OBJECT>
</BODY>
</HTML>







Thank You All, fou your attention

My Best Regards

DamienJF
=====================================================

=================
Damien Junqueira Fazio
www.djf.hpg.com.br
damienatflipflop [dot] com [dot] br
=================



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


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