Browse files

Help: fixed wrong event name in VideoPlayer documentation

  • Loading branch information...
joshtynjala committed Aug 13, 2018
1 parent 51c8f82 commit 19500e4dc5d252a63d36de8e44b2817fe4e9adea
Showing with 2 additions and 2 deletions.
  1. +2 −2 documentation/help/markdown/
@@ -61,14 +61,14 @@ player.addEventListener( Event.READY, videoPlayer_readyHandler );
The video texture may be accessed throught the [`texture`](../api-reference/feathers/media/VideoPlayer.html#texture) property. Until `Event.READY` is dispatched, the `texture` property of the `VideoPlayer` will be `null`.
Additionally, you should listen for [`Event.CLEAR`](../api-reference/feathers/media/VideoPlayer.html#event:clear):
Additionally, you should listen for [`FeathersEventType.CLEAR`](../api-reference/feathers/media/VideoPlayer.html#event:clear):
``` code
function videoPlayer_clearHandler( event:Event ):void
loader.source = null;
player.addEventListener( Event.CLEAR, videoPlayer_clearHandler );
player.addEventListener( FeathersEventType.CLEAR, videoPlayer_clearHandler );
This event is dispatched when the video texture has been disposed, and it must no longer be rendered.

0 comments on commit 19500e4

Please sign in to comment.