Hello,

I have a huge issue with firefox and some versions of IE.

I have a flash embedded into HTML and at some action in the flash, a javascript is called that changes the CSS properties of the div containing the flash (postion, from relative to fixed)

the problem is, when this CSS is called the flash banner reloads from the beginning.. I read about it, and it's kind of a bug in firefox.

the question is, is there a way to change the CSS without reloading the flash? do you think that jquery might help? (I am trying with it, but I have other problems with it)

thank you

How do you embed the swf?

<object id="dynamic_id" style="width:100%;height:100%;" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param value="http://path.to.com/source.swf" name="movie"><param value="param=1581212411" name="flashvars"><param value="high" name="quality"><param value="always" name="allowScriptAccess"><param value="true" name="play"><param value="false" name="menu"><param value="transparent" name="wmode"><param value="#ffffff" name="bgcolor"><embed bgcolor="#ffffff" wmode="transparent" allowscriptaccess="always" quality="high" menu="false" play="true" name="dynamic_id" style="width:100%;height:100%;" flashvars="param=1581212411" src="http://path.to.com/source.swf" pluginpage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" id="dynamic_id"></object>

Kind of like that..

Daniweb misses me my butt!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.