Click to See Complete Forum and Search --> : Flash buttons in Dreamweaver
Lori9
05-13-2003, 08:57 AM
Hi all,
I am designing a navigation bar that features buttons using the "insert Flash button" feature of Dreamweaver (Win). When previewing in IE 5, the page looks great, except none of the links work (document-relative paths and saved to the same local directory as the site pages, as recommended by DW) . The error "The page cannot be displayed/currently unavailable" appears.
However, when previewing using Netscape 6, all work beautifully. Is there something I have done incorrectly, or is this yet another browser-incompatibility issue?
Thanks,
Lori9
:confused:
Try saving it and opening it without previewing it.
Lori9
05-13-2003, 11:38 AM
I tried that as well. Still stumped... why would the paths work fine in one browser but not another? There are no frames.
Lori9
You probably already did this, but, make sure that all of the files are in the same folder--including graphics and .html files. Then, make sure all anchors (links), imgs (graphics), and other references (.css, .js, etc. files) are referencing the same folder. E.g., <a href="file.html">, <img src="graphic.gif">, <link rel="stylesheet" href="style.css">
Lori9
05-13-2003, 11:52 AM
Thanks for the suggestion... just tried that as well. The &%$#@ Flash buttons still don't work in IE. I'm using DW4, BTW.
Lori9
I don't have Dreamweaver.
tobyw_1969
05-13-2003, 12:09 PM
Stupid question, but is the Flash button link being driven by the .swf itself, or by a link in Dreamweaver? If embedded, have you checked it's correct from Flash's point of view?
I'm no expert, but if you post up the DW4 file and the buttons I would happily take a look. Might just be a case of two pairs of eyes being better than none.
Lori9
05-13-2003, 12:59 PM
The buttons were added using the "insert Flash button" feature in DW's Objects panel. The path was specified wthin the dialog box. Since I wasn't able to attach the file, here's the code for one of the objects:
<div align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
<param name="BASE" value=".">
<param name=movie value="nav_youth.swf">
<param name=quality value=high>
<param name="BGCOLOR" value="#CCCCCC">
<embed src="nav_youth.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#CCCCCC" base=".">
</embed>
</object></div>
Thanks,
Lori9
I'm not sure, but I think this:
<param name="BASE" value=".">
Should be:
<param name="BASE" value="/">
And this:
bgcolor="#CCCCCC" base=".">
should be:
bgcolor="#CCCCCC" base="/">
Try that. ;) (If it doesn't work, just turn the value to base="")
Lori9
05-13-2003, 01:17 PM
Well, I tried your suggestion, re-saved and opened the file in IE (not previewed). Netscape is still perfect, IE remains problematic.
I don't know if it's an IE thing or just Flash. I might end up having to manually create the buttons and attach behaviors instead... I appreciate your trying to help.
Lori9
:rolleyes:
khaki
05-13-2003, 02:01 PM
hi Lori...
well... since it works in one browser and not the other...
we know that the link/path would not be causing the problem...
and if we assume (uh-oh) that DW's WYSIWYG code is correctly creating legitimate code...
maybe it's time to look at the browser itself.
what version of IE do you have?
if you don't know how to figure-out your browser version:
from the browser's HELP menu...
select ABOUT INTERNET EXPLORER (or anything that resembles that)...
the version will be listed on the pop-up.
i tried to mimic your problem (although i have never used flash buttons before)
and i got even my buggy IE5.0 to display my test button.
maybe you have IE6?
(i notice that 6 acts differently than the previous versions... sometimes.
but maybe this is one of those times :confused: )
and finally....
which button did you use from the list
(and did you test it without altering any of the other options)?
also...
any chance that you could post a link (or is it only available locally)?
let me know...
;) k
Lori9
05-13-2003, 02:09 PM
Hi Khaki,
I'm a Jersey girl too... :D
I'm using IE5 and Netscape 6. I'm attaching a graphic file of the home page so you can eyeball the buttons. I just began designing the site, and have no Web host as of yet, so there's no link...
Lori9
khaki
05-13-2003, 02:46 PM
hi Lori...
i was able to create the same button... (i used my "eyeballs" to figure it out. lol)
but i had no trouble viewing it in either IE5.5 or N7.0
so... i don't really know what else to tell ya.
sorry :(
(and by the way... i'm probably about an hour or so north of you... in Bergen County :) .
and i'll be passing your way pretty soon on my way to LBI. so i'll wave to ya as i pass! lol)
(actually i usually take 1&9 or the parkway... so you might not catch my wave... lol) ....
;) k
Lori9
05-13-2003, 02:51 PM
Khaki—
Not surprised... Flash and I have a love/hate relationship.
I'm down around the Princeton area. I'd have a better chance of spotting your wave had you decided to hit the Turnpike... :D
Anyway thanks to you and everyone who responded for taking the time here... back to the drawing board!
Best,
Lori9