| 386 | | trace ( tabNavi.selectedIndex ); |
| 387 | | if (stat.text == "") { |
| 388 | | get_feed(); |
| 389 | | return; |
| 390 | | } |
| 391 | | wassr.statusUpdate(stat.text, function ():void {get_feed();}, res_rid); |
| | 386 | if ( tabNavi.selectedIndex == 2 ) { |
| | 387 | var channel:String = channelList.selectedItem.name_en; |
| | 388 | if (stat.text == "") { |
| | 389 | wassr.getChannelFeed(channel, displayChannel); |
| | 390 | return; |
| | 391 | } |
| | 392 | wassr.channelStatusUpdate(channel, stat.text, function ():void { |
| | 393 | wassr.getChannelFeed(channel, displayChannel); |
| | 394 | }); |
| | 395 | } else { |
| | 396 | if (stat.text == "") { |
| | 397 | get_feed(); |
| | 398 | return; |
| | 399 | } |
| | 400 | wassr.statusUpdate(stat.text, function ():void {get_feed();}, res_rid); |
| | 401 | } |