13Mar
[FLEX 3] Screen Scraping You Tube Videos
1 comment so farThought 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..");
}
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.
Thanks for sharing!