»Dinosigner.« »Designer.« »Innovativ? Wir katalysieren Trends zeitnah!« »Dada-Ad!« »GEMA; no more.« »Feeding Ears since 1998« »How can we be of service?« »Innovative? Yes, we catalyse trends!« »Dinosigner.« »Viral ist, wenn man trotzdem linkt.« Audiovisuelle Komposition

Embed Youtube Video in SWF

Embed Youtube Video in SWF

As asked here: http://forums.adobe.com/message/1912905


function containYoutube(youtubevar, depthLevel) {
this.createEmptyMovieClip("youtubecontainer",depthLevel);
this.youtubecontainer.loadMovie("http://www.youtube.com/v/"+youtubevar);
}

containYoutube("PXu6AKePXkQ",this.getNextHighestDepth());

Download the ZIP File:
contain-youtube-in-flash