J
Jim Aksel
I am developing a website using expressions web, for our sake FrontPage is
fine.
Part of the development includes a flash file, headerV7.swf. When I publish
the page, I must first click the flash movie before I can get the menus
(active script, embedded in the flash.swf file) to activate onthe html pages.
It then behaves as desired.
Here is my error message:
This page requires AC_RunActiveContent.js. In Flash, run \"Apply Active
Content Update\" in the Commands menu to copy AC_RunActiveContent.js to the
HTML output folder.
From Flash 8, I created the AC_RunActiveContent.js and also placed the
following in my header for each html pagen on my site:
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
The following is also in the body of each html page:
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js. In Flash, run \"Apply
Active Content Update\" in the Commands menu to copy AC_RunActiveContent.js
to the HTML output folder.");
} else {
AC_FL_RunContent(
'codebase',
'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0',
'width', '585',
'height', '321',
'src', 'headerV7',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'headerV7',
'bgcolor', '#ffffff',
'name', 'headerV7',
'menu', 'true',
'allowScriptAccess','sameDomain',
'movie', 'headerV7',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="585" height="321" id="headerV7" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="headerV7.swf" /><param name="quality"
value="high" /><param name="bgcolor" value="#ffffff" /> <embed
src="headerV7.swf" quality="high" bgcolor="#ffffff" width="585" height="321"
name="headerV7" align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
**************
So, when Flash publishes the page, it creates a file headerV7.htm which
works just fine. I copied all the pertinent parts of the file into each html
file on my site. However, I am not getting the desired behavior until I
click on the movie one time first.
What am I leaving out?? How do I correct this?? Is it something to do with
the clsid? Is it because I don't have a signed control or something??
Thanks In Advance
Jim
It''s software; it''s not allowed to win.
fine.
Part of the development includes a flash file, headerV7.swf. When I publish
the page, I must first click the flash movie before I can get the menus
(active script, embedded in the flash.swf file) to activate onthe html pages.
It then behaves as desired.
Here is my error message:
This page requires AC_RunActiveContent.js. In Flash, run \"Apply Active
Content Update\" in the Commands menu to copy AC_RunActiveContent.js to the
HTML output folder.
From Flash 8, I created the AC_RunActiveContent.js and also placed the
following in my header for each html pagen on my site:
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
The following is also in the body of each html page:
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js. In Flash, run \"Apply
Active Content Update\" in the Commands menu to copy AC_RunActiveContent.js
to the HTML output folder.");
} else {
AC_FL_RunContent(
'codebase',
'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0',
'width', '585',
'height', '321',
'src', 'headerV7',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'headerV7',
'bgcolor', '#ffffff',
'name', 'headerV7',
'menu', 'true',
'allowScriptAccess','sameDomain',
'movie', 'headerV7',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="585" height="321" id="headerV7" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="headerV7.swf" /><param name="quality"
value="high" /><param name="bgcolor" value="#ffffff" /> <embed
src="headerV7.swf" quality="high" bgcolor="#ffffff" width="585" height="321"
name="headerV7" align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
**************
So, when Flash publishes the page, it creates a file headerV7.htm which
works just fine. I copied all the pertinent parts of the file into each html
file on my site. However, I am not getting the desired behavior until I
click on the movie one time first.
What am I leaving out?? How do I correct this?? Is it something to do with
the clsid? Is it because I don't have a signed control or something??
Thanks In Advance
Jim
It''s software; it''s not allowed to win.