2 Replies Latest reply on Feb 1, 2007 4:49 AM by holden_teen

    Links not working

    holden_teen
      Hi, I have created a navigation bar, and I believe I have it linked properly. The file looks like:

      http://surfinthebay.net/links_a.swf

      It is streched, but you get the idea. It should open a new page when you click a link, however it goes to a page called 'undefined'. You can download the file I have created by clicking:

      http://surfinthebay.net/links.fla

      The page the file is on has been password locked, so unfortunately I cant show you exactly what it looks like on the page. If you could look at the coding, and show me where I went wrong, I would be forever greatful.

      Thanks
        • 1. Re: Links not working
          kglad Adobe Community Professional & MVP
          you need to put your page references in quotes. otherwise, flash thinks, for example, biography.html refers to an object named biography that has a html property.
          • 2. Re: Links not working
            holden_teen Level 1
            Hi, thanks! I got that part working. Now I am trying to add it to a FrontPage document. The banner is flash, and the links are flash, but when I add them singularly, both turn into the same thing (ie instead of having links, and banner - there is two banners)... I know this is a html problem, but if anyone could shed some light, that would be great.

            I am trying to use this code to not have the border appear for users with ie(new one).
            <script type="text/javascript" src="swfobject.js"></script>

            <div id="flashcontent">
            This text is replaced by the Flash movie.
            </div>

            <script type="text/javascript">
            var so = new SWFObject("flash_banner.swf", "Banner", "650", "282", "6", "#336699");
            so.write("flashcontent");
            </script>

            I inserted the navigation the same way - problem, then added it as a flash movie, with code:
            <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="650" height="282">
            <param name="movie" value="flash_banner.swf">
            <param name="quality" value="High">
            <embed src="flash_banner.swf" pluginspage=" http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="650" height="282" quality="High"></object>

            But same problem...

            Thanks...