»Dinosigner.« »Viral ist, wenn man trotzdem linkt.« »Dinosigner.« »Jetzt gibt’s was auf die Ohren!« »Dada-Ad!« »Lmgtfy!« »Feeding Ears since 1998« »Designer.« »GEMA; no more.« »How can we be of service?« 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