YouTube’s Flash API are written in AS2, so if you have an AS3 project and want to use their players, it can get pretty tricky.

Matthew Richmond of The Chopping Block (and fellow FlashCodersNY member) has generously created and shared his ActionScript 3 wrapper for the YouTube chromeless player.

Matt has taken the time to not only give us an AS3 wrapper, but to write a comprehensive tutorial as well. Check it out:

http://code.google.com/apis/youtube/articles/youtube_as3_chromeless.html

Thanks, Matt!