Greetings,
Although this seems to be a common theme, I have yet to find a solution. I
have created a Flash animation (a map with rollovers at certain areas). I have
inserted the published swf file into a page created in Dreamweaver. In preview
mode, everythng works fine. To get this page on the internet, I then have to
open Frontpage and import the folder that contains my DW page and supporting
files. There are 6 computers in my Graphic Section that have the Adobe CS3
suite on them. When I open the page in IE on any of these computers, the page
displayes fine (the swf file works). When I open the page on any other computer
in my company, the page displays fine EXCEPT for the swf file, which displays
as a white box. All of the other computers in my company just have Flash player
v8 on them. The kicker: If I make a page and just put a link to the swf file on
it, when the link is clicked, the swf file opens in the browser on these
computers! What gives?!!! My organization has at least 7,000 computers
connected to the network, so whatever the fix is, I can't go to each one of
them and correct it. BUT I have a very high suspision that the solution is on
the creation-end. Any suggestions? I am the only one in my organization who
uses DW.
Thanks!
|
I solved my problem!!!
I generated a html file containing my swf file in Flash and it opened in the
browser. I tried the same thing in Dreamweaver and alas, no cigar.
Comparing the code from both files revealed minute code differences between a
Flash-generated html file and a Dreamweaver-generated html file.
I simply replaced certain variables (size, filename), copied the Flash code
from <script ... /script>, and used it to replace the <script ...
/script> code
in my Dreamweaver file.
Works like a charm!
I have attached a file with both sets of code in it.
Good luck!
bhull3
Flash-generated code
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase',
'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0
,0,0',
'width', '550',
'height', '580',
'src', 'OhioConProjects2008web',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'OhioConProjects2008web',
'bgcolor', '#ffffff',
'name', 'OhioConProjects2008web',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'OhioConProjects2008web',
'salign', ''
); //end AC code
}
</script>
DreamWeaver-generated code
<script type="text/javascript">
AC_FL_RunContent(
'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=9,0,28,0',
'width','550',
'height','580',
'align','middle',
'src','OhioConProjects2008web',
'quality','high',
'pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Vers
ion=ShockwaveFlash','movie','OhioConProjects2008web' ); //end AC code
</script>
|