Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 16th, 2006, 05:52 PM
Registered User
 
Join Date: Feb 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default SWF elements in DW2004 not working in FF

Hi-

This question has two parts to it...

1) I've put together a site in DWMX2004 that uses swf elements to link to different parts of the site. They load fine when I hit F12 using IE, but don't load when testing using FF (Ctrl-F12). Here's the code for one of the elements (there are 12 in total):

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="134" height="27">
    <param name="movie" value="../templates/icudevices_nds.swf">
    <param name="quality" value="high">
    <embed src="icudevices_nds.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="134" height="27"></embed>
                      </object>

Sorry if the formatting is a bit funny, I tried to clean it up a bit without much success. Why doesn't FF recognize the path for the "icudevices_nds.swf" like IE does?

2) When I copied the swf elements into the other folders (in addition to the templates folder), they load, although there is a significant (ca. 1 second) lag after the rest of the page renders.

Any ideas? Thanks in advance...
jens

 
Old February 17th, 2006, 02:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
Default

FF can't find the file because you have an incorrect path, these need to be the same. Internet Explorer uses the object tag and FF handles swf files by embedding them.

<param name="movie" value="../templates/icudevices_nds.swf">
<embed src="icudevices_nds.swf"

peace
mike
 
Old February 17th, 2006, 02:50 PM
Registered User
 
Join Date: Feb 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

mike,

thanks... your help's appreciated.

jens

 
Old February 17th, 2006, 03:03 PM
Registered User
 
Join Date: Feb 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

one more question...

this relates to the second point in my original post: although the swf elements load now (because i've added the ../templates/ path to the swf files in the <embed> tag for each <object>) there's still a significant lag when loading in FF compared to the same elements loading in IE. any idea why this is?

thanks...
jens

 
Old February 17th, 2006, 03:28 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
Default

jens
No problem. I am not sure what would cause the lag, especially not knowing what your project involves, it may be just the way the different browser are processing the file. I would suggest implementing a preloader. If you are working locally it is going to load fast and even have a little lag, once you put it live you start dealing with different connection speeds. This way the user will at least know something is going on.

peace
mike





Similar Threads
Thread Thread Starter Forum Replies Last Post
Working with array-type elements tclotworthy XSLT 2 October 11th, 2007 09:27 AM
Working with non-Default namespace Elements/Attrib tclotworthy XSLT 3 February 8th, 2007 01:40 PM
black object appears over swf in IE NOT FF crmpicco Flash (all versions) 4 November 18th, 2005 08:06 AM
fade in not working in FF but does in IE crmpicco Javascript How-To 1 November 8th, 2005 12:49 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.