Forum Moderators: open

Message Too Old, No Replies

Swf file does not loop in firefox

         

SilverLining

11:19 am on Feb 22, 2006 (gmt 0)

10+ Year Member



Swf file only loops in IE, but not in Firefox. Extract of some of my code, which caters for both IE and FF. Please note this is not the full JavaScript&VB Script.


var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
+ '<param name="movie" value="blah.swf"/>'
+ '<embed src="blah.swf"'
+ '<\/embed>'
+ '<\/object>';

Any ideas?

SilverLining

11:21 am on Feb 22, 2006 (gmt 0)

10+ Year Member



Checking for version 7
var requiredMajorVersion = 7;

Richard_N

11:36 pm on Feb 22, 2006 (gmt 0)



have you put a gotoandPlay() call at the end of the animation? Do not assume it will loop on all machines.

Have never used javascript to insert flash, I either use the flash satay method if compliance is needed or jus the good ol macromedia way for fll page flash sites.

SilverLining

12:24 pm on Feb 23, 2006 (gmt 0)

10+ Year Member



thanks Richard_N. So am i correct in understanding the problem is in the action scripting? I will have to send it back to the designer, as I only have the swf file.

Richard_N

2:45 pm on Feb 23, 2006 (gmt 0)



Possibly I would give the standard macromedia embed tag a try first see if its OK in that and then go from there, it may not be the flash file but the JS....