Jump to content

Flash movie not playing


doaner6

Recommended Posts

I created a flash movie and added to my site in Dreamweaver. When I test the HTML everything works fine, the movie shows up & plays. When I FTP everything to the live site, the movie does not show up. The path name is exactly the same, I just don't know why it will not show up.Here is the code, does everything look right?<script type="text/javascript">AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','679','height','250','title','katieballoons.com','src','katie3','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','katie3' ); //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=9,0,28,0" width="679" height="250" title="katieballoons.com"> <param name="movie" value="katie3.swf" /> <param name="quality" value="high" /> <embed src="katie3.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="679" height="250"></embed> </object></noscript>Also, when the flash move plays (while testing) the CSS dropdown menu above it acts funky and is hard to view while the movie transitions - any thoughts?Thanks - any help is appreciated!

Link to comment
Share on other sites

<script type="text/javascript">AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','679','height','250','title','katieballoons.com','src','katie3','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','katie3' ); //end AC code</script>
I think you're missing a .swf here.About the second problem, embedded content always goes in front of everything else.To solve that you'll have to hide all object elements when the dropdown menu is open, by modifying the .style.visibility property of them.
Link to comment
Share on other sites

I think you're missing a .swf here.About the second problem, embedded content always goes in front of everything else.To solve that you'll have to hide all object elements when the dropdown menu is open, by modifying the .style.visibility property of them.
Thanks for the tip - but still no luck. Can you explain further about the .style.visibility property? Do I have to change the style of the nested list or the embedded content?Thanks!
Link to comment
Share on other sites

I think you also need a .swf here: 'movie','katie3' ); //end AC codeWell, what you'd do is have mouseover and mouseout events on your menu items. And you would then call these functions:

function hide() { //Call this onmouseover  O = document.getElementsByTagName("object");  for(i=0;i<O.length;i++) {	O.style.visiblity = "hidden";  }}function show() { //Call this onmouseout  O = document.getElementsByTagName("object");  for(i=0;i<O.length;i++) {	O.style.visiblity = "visible";  }}

Link to comment
Share on other sites

I think you also need a .swf here: 'movie','katie3' ); //end AC codeWell, what you'd do is have mouseover and mouseout events on your menu items. And you would then call these functions:
function hide() { //Call this onmouseover  O = document.getElementsByTagName("object");  for(i=0;i<O.length;i++) {	O.style.visiblity = "hidden";  }}function show() { //Call this onmouseout  O = document.getElementsByTagName("object");  for(i=0;i<O.length;i++) {	O.style.visiblity = "visible";  }}

Again, thanks for the help, but again to no avail. I re-published the .swf movie, relinked it in dreamweaver and uploaded the HTML, .swf & .js file but still not showing. Again, it's working in test mode from dreamweaver.Should I try inserting it in HTML using different code?Thanks!
Link to comment
Share on other sites

I created a new flash gallery that I am trying to add:

<script type="text/javascript">AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','450','height','450','title','decor gallery','src','decor','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','decor' ); //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=9,0,28,0" width="450" height="450" title="decor gallery">    <param name="movie" value="decor.swf" />    <param name="quality" value="high" />    <embed src="decor.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="450" height="450"></embed>  </object></noscript>

I loaded the flash .swf up onto the site along with the HTML, but when I go to test the live page nothing shows up. It's almost like it's not detecting the movie. I am using Dreamweaver to embed the movie in the HTML, should I be using different code to display this movie?Thanks!!

Link to comment
Share on other sites

  • 1 month later...

Ingolme,

function hide() { //Call this onmouseover  O = document.getElementsByTagName("object");  for(i=0;i<O.length;i++) {    O.style.visiblity = "hidden";  }}function show() { //Call this onmouseout  O = document.getElementsByTagName("object");  for(i=0;i<O.length;i++) {    O.style.visiblity = "visible";  }}

Can you describe adding the mouseover and mouseout functions to the menu please.Here is the CSS:

.suckertreemenu ul{margin: 0;padding: 0;list-style-type: none;font-family:Arial;font-size:12px;font-weight:bold;}/*Top level list items*/.suckertreemenu ul li{position: relative;display: inline;float: left;background-color: #ff0000; /*overall menu background color*/}/*Top level menu link items style*/.suckertreemenu ul li a{display: block;width: auto; /*Width of top level menu link items*/padding: 6px 8px;border: 0;border-left-width: 0;text-decoration: none;color: white;}	/*1st sub level menu*/.suckertreemenu ul li ul{left: 0;position: absolute;top: 1em; /* no need to change, as true value set by script */display: block;visibility: hidden;}/*Sub level menu list items (undo style from Top level List Items)*/.suckertreemenu ul li ul li{display: list-item;float: none;}/*All subsequent sub menu levels offset after 1st level sub menu */.suckertreemenu ul li ul li ul{ left: 159px; /* no need to change, as true value set by script */top: 0;}/* Sub level menu links style */.suckertreemenu ul li ul li a{display: block;width: 120px; /*width of sub menu levels*/color: white;text-decoration: none;padding: 6px 8px;border: 0px;}.suckertreemenu ul li a:hover{background-color: white;color: red;}/*Background image for top level menu list links */.suckertreemenu .mainfoldericon{background: transparent;}/*Background image for subsequent level menu list links */.suckertreemenu .subfoldericon{background: transparent;}* html p#iepara{ /*For a paragraph (if any) that immediately follows suckertree menu, add 1em top spacing between the two in IE*/padding-top: 1em;}	/* Holly Hack for IE \*/* html .suckertreemenu ul li { float: left; height: 1%; }* html .suckertreemenu ul li a { height: 1%; }/* End */

and here is the HTML:

<div id="suckertreemenu"><div class="suckertreemenu"><ul id="treemenu1"><li><a href="http://www.katieballoons.com/test/index.html" style="border-left: 27px solid red">Home</a></li><li><a href="http://www.katieballoons.com/test/balloons.html">Balloons Galore</a>  <ul>  <li><a href="http://www.katieballoons.com/test/balloons-corp.html">Corporate Balloons</a></li>  <li><a href="http://www.katieballoons.com/test/balloons-shows.html">Balloon Shows</a>  <ul>    <li><a href="http://www.katieballoons.com/test/balloons-shows.html">Family Balloon Shows</a></li>    <li><a href="http://www.katieballoons.com/test/balloons-corpb.html">Coporate Balloon Shows</a></li>    <li><a href="http://www.katieballoons.com/test/balloons-burlesque.html">Balloon Burlesque</a></li>  </ul>  </li>  <li><a href="http://www.katieballoons.com/test/balloons-fahion.html">Balloon Fashions</a></li>  <li><a href="http://www.katieballoons.com/test/balloons-sculpture.html">Balloon Sculptures</a></li>  <li><a href="http://www.katieballoons.com/test/balloons-twisting.html">Balloon Twisting</a></li>  <li><a href="http://www.katieballoons.com/test/balloons-decor.html">Balloon Decor</a></li>  </ul></li><li><a href="http://www.katieballoons.com/test/videos.html">Videos</a></li><li><a href="http://www.katieballoons.com/test/booking.html">Booking</a></li><li><a href="http://www.katieballoons.com/test/more.html">More Than Balloons</a></li><li><a href="http://www.katieballoons.com/test/press.html">Press</a></li><li><a href="http://www.katieballoons.com/test/testimonials.html">Testimonials</a></li><li><a href="http://www.katieballoons.com/test/aboutkatie.html">About Katie</a></li></ul><br style="clear: left;" /></div></div>

I got the flash movie working (also from this help thread).I removed the <embed> tags for the flash but it still displays over top of the dropdown menu.Any suggestions?Thanks!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...