Changeset 71
- Timestamp:
- 09/25/08 04:43:12 (5 years ago)
- Location:
- plugins/as3
- Files:
-
- 2 edited
-
com/jeroenwijering/plugins/YouSearch.as (modified) (2 diffs)
-
yousearch.swf (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
plugins/as3/com/jeroenwijering/plugins/YouSearch.as
r64 r71 20 20 /** Reference to the graphics. **/ 21 21 private var clip:MovieClip; 22 /** Prefix for the search request. **/23 private var prefix = "http://gdata.youtube.com/feeds/api/videos?vq=";24 22 /** initialize call for backward compatibility. **/ 25 23 public var initialize:Function = initializePlugin; … … 50 48 var que = encodeURI(clip.query.text); 51 49 if(que.length > 3) { 52 view.sendEvent('LOAD', prefix+que);50 view.sendEvent('LOAD','http://gdata.youtube.com/feeds/api/videos?vq='+que+'&format=5'); 53 51 } 54 52 clip.query.text = '';
Note: See TracChangeset
for help on using the changeset viewer.
