Skip to content

Commit

Permalink
Fixes #473. Thanks Brenton for your help.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiomcosta committed Jun 11, 2010
1 parent b359d5c commit 72b7cf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Docs/Utilities/Swiff.md
Expand Up @@ -26,7 +26,7 @@ Flash detection and Internet Explorer/Flash Player 9 fix adapted from [SWFObject
* allowScriptAccess - (*string*: defaults to always) The domain that the SWF object allows access to.
* quality - (*string*: defaults to 'high') The render quality of the movie.
* swLiveConnect - (*boolean*: defaults to true) the swLiveConnect parameter to allow remote scripting.
* wMode - (*string*: defaults to 'transparent') Allows the SWF to be displayed with a transparent background.
* wMode - (*string*: defaults to 'window') Changes the way the SWF is displayed in the browser.
* properties - (*object*) Additional attributes for the object element.
* vars - (*object*) Vars will be passed to the SWF as querystring in flashVars.
* callBacks - (*object*) Functions to call from the SWF. These will be available globally in the movie, and bound to the object.
Expand All @@ -42,7 +42,7 @@ Flash detection and Internet Explorer/Flash Player 9 fix adapted from [SWFObject
width: 500,
height: 400,
params: {
wmode: 'opaque',
wMode: 'opaque',
bgcolor: '#ff3300'
},
vars: {
Expand All @@ -58,6 +58,7 @@ Flash detection and Internet Explorer/Flash Player 9 fix adapted from [SWFObject

1. Although Swiff returns the object, this element will NOT have any Element methods applied to it.
2. The $ function on an object/embed tag will only return its reference without further processing.
3. Avoid changing the wMode param to 'transparent'. It will make your page more processor intensive, especially when running in a background tab.

Swiff Function: remote {#Swiff:remote}
--------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Source/Utilities/Swiff.js
Expand Up @@ -30,7 +30,7 @@ var Swiff = new Class({
params: {
quality: 'high',
allowScriptAccess: 'always',
wMode: 'transparent',
wMode: 'window',
swLiveConnect: true
},
callBacks: {},
Expand Down

0 comments on commit 72b7cf6

Please sign in to comment.