Skip to content

Commit 68bbbb4

Browse files
committed
Document that changes to properties are not reflected by an already mounted SWF
1 parent 071ab56 commit 68bbbb4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var returnValue = thisOrRef.getFPDOMNode().myEICallback(...);
3838

3939
Standard DOM properties are forwarded to the underlying `<object>`.
4040

41-
Detailed explanation of most properties found at [[Flash OBJECT and EMBED tag attributes]](http://helpx.adobe.com/flash/kb/flash-object-embed-tag-attributes.html).
41+
Changes to props cannot be and are not reflected by an already mounted SWF (except for `width` and `height`). You must manually provide a computed `key` to ensure the component is reset when appropriate. Beware, this also applies to `src`.
4242

4343
```
4444
src {string} [required]
@@ -68,6 +68,8 @@ seamlessTabbing {boolean} - true*, false
6868
wmode {enum} - window*, direct, opaque, transparent, gpu
6969
```
7070

71+
Detailed explanation of most properties found at [[Flash OBJECT and EMBED tag attributes]](http://helpx.adobe.com/flash/kb/flash-object-embed-tag-attributes.html).
72+
7173
## API
7274

7375
#### Static methods

npm-react-swf/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var returnValue = thisOrRef.getFPDOMNode().myEICallback(...);
3838

3939
Standard DOM properties are forwarded to the underlying `<object>`.
4040

41-
Detailed explanation of most properties found at [[Flash OBJECT and EMBED tag attributes]](http://helpx.adobe.com/flash/kb/flash-object-embed-tag-attributes.html).
41+
Changes to props cannot be and are not reflected by an already mounted SWF (except for `width` and `height`). You must manually provide a computed `key` to ensure the component is reset when appropriate. Beware, this also applies to `src`.
4242

4343
```
4444
src {string} [required]
@@ -68,6 +68,8 @@ seamlessTabbing {boolean} - true*, false
6868
wmode {enum} - window*, direct, opaque, transparent, gpu
6969
```
7070

71+
Detailed explanation of most properties found at [[Flash OBJECT and EMBED tag attributes]](http://helpx.adobe.com/flash/kb/flash-object-embed-tag-attributes.html).
72+
7173
## API
7274

7375
#### Static methods

0 commit comments

Comments
 (0)