Skip to content


[FLEX 3] Screen Scraping You Tube Videos

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..");
}

Posted in Flex Web Development.


One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Fernanda Gomez says

    Thanks for sharing!



Some HTML is OK

or, reply to this post via trackback.