Swf file causing rollover images not to work

I've inserted a Flash file into my webpage in Dreamweaver and it broke all my rollover images.  Even deleting the swf file and reinserting the rollover images doesn't work.  I've read a few threads on this but can't quite find exactly what I'm looking for.  I think it's something in the <head> code but I'm not sure.  Any help would be much appreciated!
<head>
<title>Matt  Relstab | Still Photography | Moving Pictures | Sound  Design</title>
<meta http-equiv="Content-Type"  content="text/html; charset=ISO-8859-1">
<script type="text/javascript">
<!--
function  MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr;  for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)  x.src=x.oSrc;
function MM_preloadImages() { //v3.0
  var  d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
     var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;  i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image;  d.MM_p[j++].src=a[i];}}
function  MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document;  if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document;  n=n.substring(0,p);}
  if(!(x=d[n])&&d.all)  x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)  x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++)  x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return  x;
function MM_swapImage() { //v3.0
  var  i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array;  for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x;  if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
//-->
<meta  name="keywords" content="natural light photography, media producer  boston, online media, photographs, sound design, audio for film, web  video, video production,
boston production, portable recorder, digital photography, digital  media production">
</script>
<style  type="text/css">
<!--
body {
background-color: #3f4450;
-->
</style>
<script  src="Scripts/AC_RunActiveContent.js"  type="text/javascript"></script>
</head>

For starters, look at the first line on your errant page, it starts out:
<meta name="keywords" content="audio reel, foley artist, sound effects mixer, audio mixer
boston, sound engineer, post production">
<html>
Thats not good.  If you look at your other pages, the <html> tag is first, the way it should be.
Switch them around, then try this, remove your <html> tag (the very first tag is where is should be) and replace it with this
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
See what that does for you.
Gary
On Edit:  I just noticed that you have
<meta name="keywords" content="natural light photography, media producer boston,
online media, photographs, sound design, audio for film, web video, video production,
boston production, portable recorder, digital photography, digital media production">
inside your js for the rollovers...Move them out of the script.
GAry

Similar Messages

  • SWF file in Dreamweaver will not indicate link

    When setting up SWF files in dreamweaver (images), I cannot
    get the arrow to switch to a hand indicating that it is an active
    link to the user. Any suggests...I think this must be a simple fix
    but cannot find it. I want the SWF picture to have a hand over it
    to indicate that it is a link.
    Dan

    You cannot apply a link to any applet in HTML. That would
    have to be done
    in the Applet's respective scripting, and in your case, that
    would be the
    Flash Actionscript. Bear in mind that you should never use an
    Applet for
    site navigation anyhow, unless you also provide redundant
    equivalent HTML
    navigation, both for SEO and for accessability purposes.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "DanofNewJersey" <[email protected]> wrote
    in message
    news:fpsb9t$ifo$[email protected]..
    > When setting up SWF files in dreamweaver (images), I
    cannot get the arrow
    > to
    > switch to a hand indicating that it is an active link to
    the user. Any
    > suggests...I think this must be a simple fix but cannot
    find it. I want
    > the SWF
    > picture to have a hand over it to indicate that it is a
    link.
    >
    > Dan
    >

  • PrevFrame() buttons in a swf file inserted in html not working in Firefox

    Hi!
    I have a very weird problem.
    I have created a photo gallery using AS3 in Flash CS5. I have used prevFrame() and nextFrame() actions for "previous photo" and "next photo" buttons as well as for "previous thumbnails" and "next thumbnails" buttons.
    All the buttons work fine when i run the swf files as well as when i run the swf files in Firefox 8.0 and IE9. However, once I insert this swf file into my html file using Dreamweaver CS5->Insert->Media->swf, the "previous" buttons dont work in Firefox 8.0! the previous image button works sometimes whereas the previous thumbnails button does not work at all!  They work fine in IE9. The next buttons also work fine in every browser. Heres my code:
    stop();
    thumbprev_btn.visible=false;
    next_btn.addEventListener(MouseEvent.CLICK, nextimage);
    prev_btn.addEventListener(MouseEvent.CLICK, previmage);
    thumbprev_btn.addEventListener(MouseEvent.CLICK, prevthumbs);
    thumbnext_btn.addEventListener(MouseEvent.CLICK, nextthumbs);
    function nextimage(event:MouseEvent):void
    if(mc_content.currentFrame==mc_content.totalFrames)
    mc_content.gotoAndStop(1);
    else
    mc_content.nextFrame();
    function previmage(event:MouseEvent):void
    if(mc_content.currentFrame==1)
    mc_content.gotoAndStop(mc_content.totalFrames);
    else
    mc_content.prevFrame();
    function nextthumbs(event:MouseEvent):void
    thumbprev_btn.visible=true;
    nextFrame();
    if(currentFrame==3)
    thumbnext_btn.visible=false;
    function prevthumbs(event:MouseEvent):void
    thumbnext_btn.visible=true;
    prevFrame();
    if(currentFrame==1)
    thumbprev_btn.visible=false;
    Please help.

    Thankyou Ned. The html file published by flash worked perfectly however the problem persisted even if i used this html file's code. But strangely, the problem disappeared after a few days! Now the original dreamweaver code is also working fine.

  • Append swf file - Spry.Utils.updateContent - not work

    I don't understand this
    When I try to add swf file to Spry Tabbed Panels content -
    everything is OK. Now - in tabbed panels content I want to insert
    data from external html files. In this external file I have swf
    file and text, and images. When I preview this html external file
    in browser - all data are displayed correctly. When I try append
    this file into tabbed panels content :
    <a href="#" onclick="Spry.Utils.updateContent('apDiv1',
    'products/products1.htm'); return false;">Append file</a>
    only swf file in a new window are display.
    If I delete swf content from external html file - everything
    is ok. But if in external append file is a swf content - IE display
    only swf file.
    Is there posible to append html file with swf file in this
    method in any way?

    Hi Elaine,
    The implementation of AC_FL_RunContent() suggests that it was
    only meant to be run *BEFORE* the page finishes loading. Because
    Spry data sets and regions load and redraw asynchronously, usually
    *after* the page finishes loading, they are not compatible. As
    we've mentioned above, if Spry triggers the call to
    AC_FL_RunContent(), it will most likely be *after* the onload event
    has fired, and since AC_FL_RunContent() uses document.write() it
    will result in the entire page being overwritten by the
    <object>/<embed> tag that it writes out.
    That all said, libraries like SWFObject were designed to be
    called even after the onload event fires, at least from what I can
    tell from their samples. If you need to extract data from a data
    set to create your SWFObject, you can simply attach an observer to
    your data set that will tell the swfobject to do what it is you
    want it to do. For example:
    <script type="text/javascript">
    var dsProducts = new Spry.Data.XMLDataSet("products.xml",
    "/products/product");
    // Register an observer on dsProducts so that any time it
    changes data or the current
    // row changes, it tells the swfobject what to do:
    dsProducts.addObserver(function(notificationType, notifier,
    data)
    if (notificationType != "onDataChanged" || notificationType
    != "onCurrentRowChanged")
    return;
    // Do something with the swfobject here:
    var curRow = dsProducts.getCurrentRow();
    // The following embedSWF call is only an example of how to
    get the "productURL" column
    // value for the current row and pass it to the swfobject.
    The rest of the args, are left as names to
    // show you what you should be passing.
    swfobject.embedSWF(curRow.productURL, replaceElemIdStr,
    widthStr, heightStr, swfVersionStr, xiSwfUrlStr, flashvarsObj,
    parObj, attObj);
    </script>
    --== Kin ==--

  • HELP-Rollover image not working

    I am having problems with the rollover image on my index page @ edzayi.com.  While the rollover images work fine on the rest of my pages it is not working on this particular page.  I have checked the code on different pages and compared it to my index page and although everything looks the same, it is still not working.  HELP!!!!

    eddem wrote:
    Thanks so much Nadia.  It was a matter of moving the meta script.  You are the best!!  Now it works the way I intended it to: www.edzayi.com
    You're welcome  :-)
    And yes, the right alignment was intentional.
    Does look a little strange though  - would look much better centered (personal opinion of course)     ;-)
    Nadia
    Adobe® Community Expert : Dreamweaver
    http://twitter.com/nadiap
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    http://csstemplates.com.au/

  • Wierd dotted line only caused by insertion of .swf file in FF, but not in IE

    Hi there,
    Can anyone explain why this only happens in FF and not in IE? I have been trying to see why it occurs under the .swf file and only in FF.
    The website does not show the dotted line in IE.
    Its as if the .swf file is 1 pixel to deep for the website in FF, and causes the line to appear.
    Doing this for a friend and any help would be appreciated.
    example: www.reapergym.com/index3.html
    Many thanks,

    Hi there,
    It must have been an issue directly associated with the SWF object.
    As the background was mostly grey, it did not present itself as the main issue other forums have discussed as being the "dreaded grey line around swf file".
    Upon closer inspection, it was there - a 1 pixel border only showing in FF.
    I followed the SWFobject solution by adding a small bit of Javascript and it vanished and looks fine.
    http://blog.deconcept.com/swfobject/
    Thats probably why it looks OK now!
    Thank you for your response, as it could have been something that I could have searched forever to solve.
    Another case of the infamous grey border solved.....

  • Rollover images not working

    I've looked through the different rollover discussion in the forum, but nothing I've found has been able to help me so far.
    I'm trying to set up a very simple menubar for my website, and have gotten the look about how I want it, but the rollover images do not display .
    The page i've been testing is here: http://www.michaelwebbdesign.com/index2.html
    Thank you for any help you can offer.

    Have a look at the following
    <li><a href="home.html"><img src="images/nav/nav1off.jpg" name="logo" border="0" onmouseover="" onMouseOut="about.src='images/nav/nav1off.jpg'"/></a></li>
    What the above tells the browser is
    link an image named logo
    onmouseover (note the absence of an upper case M and O) do nothing
    onMouseOut show the image named about
    The above should read
    <li><a href="home.html"><img src="images/nav/nav1off.jpg" name="logo" border="0" onMouseOver="logo.src='images/nav/nav/nav1on.jpg'" onMouseOut="logo.src='images/nav/nav1off.jpg'"/></a></li>
    Now we get
    link an image named logo
    onMouseOver replace the logo image with nav1on.jpg
    onMouseOut replace the logo imgae with nav1off.jpg
    Please keep in mind that the image name must be unique (appear once per document) and that it is better to have an HTML link with a dash/hyphen instead of a space or a period as in nav4_5.jpg.
    Gramps

  • Keynote Flash .swf file to IWeb does not work correctly

    I create a presentation in keynote, export to flash and save as a .swf file. I then drag it into a website that I am creating and it shows up as a text file; in other words the title of the file shows up in the box. What am I doing wrong first of all and then secondly, where do I get the HTML code from these files that I have created as I believe I could use the HTML snippet to import the code?? Please help

    This seems to be a problem before the file even reaches iWeb. I exported a Keynote presentation to SWF but when I check the file info it shows that the file is a HTML file despite the fact that it has the .swf extension. I changed the "Open With" to Flash Player but that didn't make any difference. I then tried to upload to a server and it transfers the file as text.
    It's got me buggered!
    An yideas?
    Cheers...>Scotty

  • Swf file with external video not playing properly in Captivate 5

    So I'm trying to create a captivate project using swf file that has code that loads external flv inside of it.
    It all works great when I test it in flash but once I export it and insert it in Captivate the screens don't synchronize.
    The content of the video starts playing as soon as the project starts even though it's not on that video slide and when
    I try to scroll through the project the audio of that video screen doesn't stop.
    Anyone has an idea why this is happening, could it be my code in flash that's affecting it?

    Unfortunately, no. I gave up on the idea of inserting question slides in the middle of videos. That means I no longer have videos distributed across multiple slides, which I assume was causing the problem. Now, I only insert quiz slides AFTER the video slide. Not preferred but that's what I ended up with.
    I have recently upgraded to 7.  I haven't had a chance to see if the issue is fixed in 7.  To be honest I am having many issues getting my courses to play properly on the iPad. I am using all the default functions and quiz slides, but I continue to run into problems.

  • Why are my rollover images not appearing correctly in my browser?

    I have created rollover images for some of my site navigation, and when I view it in my browser, they are not in the correct place on the page. When I click on each rollover, it eventually goes to the right place when I return to that page, but I must do this to all rollover navigation buttons in order for them to show up in the correct place. The links work fine. I am relatively new to this, so not sure if I am providing all the correct info here. My site is www.pfeiferdesign.com. I am using DW CS4. Would appreciate any suggestions!! Thanks

    Where is it you want the navigation to appear?
    Try this CSS -
    #mainnav {
    clear: both;
    display: block;
    float:right;
    margin-right:50px;
    margin-top:25px;
    overflow:hidden;
    padding:0;
    width:350px;
    Is that anywhere close?

  • Skin control in swf file created from indesign not showing online

    Hi,
    I used indesign cs5.5 interactive to create a swf file with embeded video and skin control.  When I view the video on my pc the video and skin control works but when I uploaded both the swf file and the skin control file  online to my client's server the skin control doesn't show. I suspect it has something to do with the path, is there somewhere I can specify the path to where the skin control is loaded online?
    Thanks.
    Natennove

    gp2011 wrote:
    The file does not open and asks whcih programI would like to open with when clicking the file.
    Which file - the .swf or the .exe file?
    If the .swf, you need to create a file association to the projector.

  • Swf file playback problems but not in IE, Chrome or Opera

    Anybody have any ideas on FF not playing the swf file uploaded when it works fine in the other browsers? It sits spinning as if uploading forever. This was the case with version 3.6 then I upgraded to 4.0 and the same. I have updated the flash player to the latest also and still the same.

    There's a video on the ATI/AMD site on how to uninstall old drivers in case you get stuck: http://support.amd.com/us/Pages/AMDSupportHub.aspx

  • Large number of swf files causes Flash plugin to fail

    I'm displaying up to 700 swf files on a page as links to launch an AIR app.  These appear within a worklist with one swf for each worklist item.  This causes the Flash plugin for IE to fail.  Any ideas what causes this and how it can be addressed?  We are already looking at reducing the number of swf's as a short-term fix.

    There is no limit that I am aware of, but you should keep mindful of what is reasonable. Chances are your viewer will lose focus after about 15-30 min, so anything longer than that may not have the effectiveness that you are looking for.

  • Question on PDF files with linked images (not embedded) between Reader and Illustrator

    I run into situations when I get customer PDFs that need to be edited. When they load in Acrobat Reader it works fine. However if I load it into Illustrator it asks me to point it to the linked file. The question is how does Acrobat Reader open a PDF file and show a linked file when it is not embedded? Why can't Illustrator do the same thing?
    This is more of a technical question, but any information would be helpful.  Thanks.

    For linked images, your PDF file contains a thumbnail image along with the reference or address of the actual image. Reader will display this thumbnail. Now, wanting to edit the PDF in Illustrator, it wants to enable you working on the actual image. Hence it asks you to point to the linked file.
    HTH

  • Rollover image NOT hiding

    I have a weird glitch I can't figure out with one of my rollover images. I am using a smart shape as a button and have placed a rollover image over top of it so the two together will function as a rollover button like on webpages. The 'button' is grouped with two text areas and the group is placed on slide 1 with all four objects in the group defined as NOT visible in output, timed to display for entire project, and forced to be on top so it can function as a 'lightbox' effect with a close button. When I need this 'lightbox' with the text and the 'button' (smart shape button and image rollover), I SHOW the group through an advanced action. Once shown, the button functions as expected, and the button is programmed to go to the next slide. One slide 2, there is an OnEnter Event that hides the lightbox (and button in the group), along with other graphics to reset the slide graphics. The screenshot below is part of the lightbox with the offending button. When I mouseover the black button (smart shape being used as a button with a graphic fill), it swaps to an orange color
    OK, so here's the weird part....I can open the lightbox without a problem. My 'button' shows up and the image swaps when the mouse hovers over. Beautiful. It disappears on mouseout. Perfect. I put my mouse over the button again and the image swaps to the over image perfectly again. I click the button and Captivate takes me to slide 2 and all the graphics hide (according to the OnEnter advanced action on slide 2) EXCEPT the rollover graphic. That graphic stays rendered on the screen until I go to the next slide and it gets hidden by the OnEnter advanced action for slide 3 (which is the same exact action as slide 2). The 'Next' Text is a text box with a link defined. The link has the exact same functionality defined as the button...go to the next slide. The screenshot below shows the result if I use the arrow button to go to the next slide. The orange arrow is left over from slide 1, and the black button (in the middle) is from slide 2.
    Is there a reason that the mouseover image still renders? Is it because IO have my mouse over the image so it won't recognize the OnEnter Action telling it to disappear or something? I have other buttons with the exact same functionality that work just fine from slide to slide. It's only this one particular button that does it. I have replaced the rollover image, renamed the group (in both the slide and the advanced action), and even tried to create graphics to mask the weird functionality...to no avail.
    Anyone out there have a suggestion of what to try? Oh...Using CP7, btw.

    My concern wasn't with the navbar, but thanks for the headsup.
    The problem is that the link in the upper left hand corner, Suzie's Story, is a rollover image but it does not reveal the other image when the cursor goes over it.
                            <div id="topTabs1">
       <div align="center"><a href="http://www.google.com" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('suzie','','Images/Suzie's Story Tab_light.jpg',1)"><img src="Images/Suzie's Story Tab_black.jpg" alt="suzie" name="suzie" width="75" height="45" border="0" id="suzie" /></a></div>
             </div>
    #topTabs1 {
    width: 75px;
    height: 45px;
    float: left;
    background-color: #ffffff;
    padding-left: 0px;
    padding-right: 0px

Maybe you are looking for

  • Repaired imac has come back with lion. how do I restore backed up files

    I had my iMac's hard disk replaced under warranty. I now need to restore my backed-up files from time machine. The Apple store were nice and have upgraded my OS from Snow Leopard to Lion, so I'm now confused as to how I make sure I restore the right

  • No Authority....

    I bought an external hard drive (Seagate 3TB) and to mymacbook pro it works without problems. But to my newly purchased imac (OS Lions) so it would not give me permission to read, write to my hard drive. What's wrong and what should I do?

  • Multithreaded write support in Master

    1. We have an design where in we write synchronously at the master level. Since it is bottleneck to usesynchronous write in a multithreaded environment. We have removed the synchronous write, which lead to too many DB_LOCK_NOTGRANTED Exception at mas

  • How do I change the settings so that my inbox shows last 30 emails received?

    I used to see  around 30 email or so when in my emails, but now it just shows around 10.  Usually I delete the ones I dont want and  keep the others, but I still able to see all my emails.

  • "can't load find my iphone" error message in icloud

    When I open icloud and try the "find my iphone" feature, I get this message: can't load find my iphone. This used to work 2 weeks ago but no anymore. Can anyone help?