Developer Center
addEventListener Method
 
Description
This method attaches the specified listener to the specified event.
 
Arguments
This method accepts the following arguments:
eventName
String value. Required.
The name of the event to which the specified handler will be attached.
listener
Reference to a function or a listener object. Required.
The listener to be called when the specified event is fired. Note that by default this listener will be invoked with this referring to the TruveoVideoSearch object. To change the scope from which the listener is invoked, use the Delegate class.
 
Syntax
The following code sample illustrates how this method can be invoked:
var TVS = new TruveoVideoSearch(appid);
...
TVS.addEventListener(eventName, listener);
 
Return Value
This method returns no value.
 
Response Data Objects
This method does not update any data objects.
 
Events
This method does not fire any events.
 
Errors
This method does not throw any errors.
Help Company Info Developer Resources Video Publisher Resources
Building Queries About Truveo Developer Center Truveo Director Accounts
Basic Searching Press Truveo API Overview Submitting A Feed Using Media RSS
Using Modifiers Team XML API Director Account FAQ
Using Filters Jobs AJAX API  
Using Sorters Contact Us Flash API  
Advanced Searching Terms of Use Ruby API  
  Privacy Policy Application Gallery  
  Adult FAQ    

Truveo video search lets you search and find videos from across the Web. Use Truveo to find all types of online video including hit television shows, full-length movies, breaking news clips, sports highlights, music videos, or the latest viral videos. If you are looking for a specific video, Truveo video search can help you find exactly the video you want. Truveo can also help you browse through video across the web and discover new videos that you might like.

©2004-2009 Truveo, Inc. All Rights Reserved.