This tutorial will teach you how to play a YouTube directly inside your Flash movie without having to navigate to the YouTube website. This is possible to do by using the YouTube API provided by Google for developers to their own websites and applications on top of YouTube.
The example below shows a YouTube video loaded inside a Flash movie with a custom play and pause button.