Sample Code: Hit Counter Widget

Alex Kieft, from DigiNovations, created a custom component and custom player template for a player that shows the number of times the currently-playing video has been viewed. The component code has been written as the document class for a Flash CS4 or Flex 3 ActionScript project, but it could easily be adapted to work in other circumstances. Read all about it.