Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
BorisMee #1
FSCommand doesn't call vbscript in Vista IE7
Hey All,
I have web application with small flash movies which call to FSCommand though
VBScript. In IE6/7 in XP everything works OK about 2 years.
Now, we encounter with new problem that the same code doesn't work in Vista
(SP0 and SP1) IE7. The problem is that "movie" parameter is a full URL
address. When I set local file path it works fine.
Please, see attached code examples.
Just last movie is working.....
Please, help me with this issue.
Thanks
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="Css/master.css" rel="stylesheet" type="text/css" />
<script language="javascript">
function patchFixSingle(URL,widthHeight,divId, divId2)
{
sFlash = '<OBJECT ID=testmovie' + divId2 + '
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=6,0,0,0" '+ widthHeight + '>';
sFlash += '<PARAM NAME=movie VALUE="'+URL+'">';
sFlash += '<PARAM NAME=quality VALUE=high>';
sFlash += '<PARAM NAME=bgcolor VALUE="#ffffff">';
sFlash += '<PARAM NAME="wmode" value="transparent">';
sFlash += '</OBJECT>';
document.getElementById(divId).innerHTML = sFlash;
}
function testmovie_DoFSCommand(command, args)
{
alert("testmovie_DoFSCommand");
}
</script>
<script language="vbscript">
sub testmovie080107TA12_FSCommand(ByVal command, ByVal args)
call testmovie_DoFSCommand(command, args,73553)
end sub
Sub testmovie1_FSCommand(ByVal command, ByVal args)
call testmovie_DoFSCommand(command, args,73553)
end sub
Sub testmovie2_FSCommand(ByVal command, ByVal args)
call testmovie_DoFSCommand(command, args,73553)
end sub
</script>
<title></title>
</head>
<body>
<div id='container_080107TA12' name='container_080107TA12'>
</div>
<script
language="javascript">patchFixSingle('http://skins.hotbar.com/Skins/mailskins/ta
/080107/080107TA12_flash.swf','width=200 height=93','container_080107TA12' ,
'080107TA12' );
</script>
<object id="testmovie2"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=6,0,0,0"
width="200" height="93">
<param name="movie"
value="http://skins.hotbar.com/Skins/mailskins/ta/080107/080107TA10_flash.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#ffffff">
<param name="wmode" value="transparent">
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="200"
height="93"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"
id="testmovie1">
<param name="MOVIE" value="080107TA11_flash.swf">
<param name="QUALITY" value="high">
<param name="bgcolor" value="#ffffff">
<param name="LOOP" value="false">
</object>
</body>
</html>
BorisMee Guest
-
Combobox and fscommand
Hello, I'm on a CD-ROM and I have a combobox managed by xml, so far nothing bad. My problem is that I have to open a pdf / excel / word with... -
SCORM Issue, fscommand LMSGetValue call from Flash
Hi all I'm using fscommands to communicate with the SCORM 1.2 template published from Flash. I need to use fscommand because, even though I'm... -
fscommand
Hy! In many examples I`ve downloaded I often saw that the first code is fscommand ("allowscale", "false"); fscommand ("showmenu", "false");... -
fscommand HELP... for MSN banner
Hello all, I'm new to flash. ISSUE I made a banner for MSN and I'm having a problem with fscommand. I created a button then added the... -
an fscommand problem
i have an .exe file that i want to launch from a swf page, when i use the on (press) fscommand ( "exec " , " name of the file.exe ") nothing...



Reply With Quote

