Skip to content

Commit

Permalink
This fixes some random errors while using this.toElement() (getting a…
Browse files Browse the repository at this point in the history
… reference to the swf object).
  • Loading branch information
fabiomcosta committed Jun 11, 2010
1 parent c755be3 commit b359d5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Utilities/Swiff.js
Expand Up @@ -71,8 +71,9 @@ var Swiff = new Class({
params.movie = path;
} else {
properties.type = 'application/x-shockwave-flash';
properties.data = path;
}
properties.data = path;

var build = '<object id="' + id + '"';
for (var property in properties) build += ' ' + property + '="' + properties[property] + '"';
build += '>';
Expand Down

0 comments on commit b359d5c

Please sign in to comment.