Actionscript 3 - Youtube API questions......
hi guys...
i trying build as3 search api project..
i checking guys's code here...
he has following code...
protected function dosearchresults(evt:videofeedevent):void
{
if(_requestid == evt.requestid)
{
var feed:videofeed = evt.feed;
_video = feed.getat(2);
}
else
{
trace("this call:"+evt.requestid+" isn't ours. we'll wait next one...");
}
if (_player != null)
{
startplaying();
}
}
and has addeventlistener
_ws = youtubefeedclient.getinstance();
_ws.addeventlistener(videofeedevent.video_data_received, dosearchresults);
_requestid = _ws.getvideos("american idol", "", null, null, ["music"], ["male"], searchorder.order_by_viewcount, searchracy.racy_include);
_ws.getvideos("music video");
i create similar code in project , question "dosearchresults" has never been called...._ws has addeventlistenr has never received event....i not sure if miss here...please me it...thanks lot!!!
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment