13Mar

[FLEX 3] Screen Scraping You Tube Videos

1 comment so far

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

Share/Save/Bookmark

Categories: Flex Web Development

Thursday, March 13th, 2008 at 9:07 am and is filed under Flex Web Development. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “[FLEX 3] Screen Scraping You Tube Videos”

  1. Posted by Fernanda Gomez 25th June, 2008 at 8:57 pm

    Thanks for sharing!

Leave a reply