Skip to content
April 9, 2010 / edeustace

Firefox reloads swf if you manipulate the DOM with JS.

I have a bug – that has been closed as not a Flash player bug in bugs.adobe.com: https://bugs.adobe.com/jira/browse/FP-4158.

If you manipulate the dom in firefox with javascript, the swf reloads.
The expected behaviour is that the swf resizes.

Here is the Firefox bug for it:
https://bugzilla.mozilla.org/show_bug.cgi?id=90268

Their example:
https://bugzilla.mozilla.org/attachment.cgi?id=410850&action=edit

Here is an example of it – run it in FF and compare with other browsers:
http://ed.eustace.net/reloadissue/ScrollbarPageReloadIssueSwfObject.html

Anyone have a workaround?
Also be sure to vote for it in bugzilla.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: