Thought I would pass along this snippett of code used to screen scrape YouTube videos simply by placing in the url to the video. Here is the full source:
Screen Scraping YouTube with Flex
Here is some more documentation:
http://www.adobe.com/devnet/flex/articles/blueprint.html
Note, I had to modify Abdul’s code to get it to work, particularly this function:
private function startLoading ():void
{
var req:URLRequest = new URLRequest (urlText.text); // this line here to be edited
loader.contentLoaderInfo.addEventListener(Event.INIT, handlerLoaderInit);
loader.load(req);
logMessage ("Loading YouTube URL..");
}
Thanks for sharing!