summaryrefslogtreecommitdiff
path: root/bPod/com/feeds/FeedSelectionSystem.as
blob: 56ef7c4137a7cad0e8cffac3f0729ad321fcd836 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import com.feeds.ProcessRSS;
import com.services.BuckyServices;
import com.events.EventBroadcaster;
import com.keywords.KeywordSelectionSystem;

class com.feeds.FeedSelectionSystem extends KeywordSelectionSystem {

	private var vertSpace:Number		=	1;
	private var theArray:Array;
	
 	private var newFeed:ProcessRSS;

	private function doAction():Void {
		return;
//		trace ( "FeedSelectionSystem: doAction");
		eraseExistingSpinners();
		startButtonSpinner();
		theArray	=	new Array();	
		newFeed 	=	new ProcessRSS (theArray, BuckyServices.rssProxy);
		newFeed.loadFeed (selectedData().feed);
		EventBroadcaster.getInstance().addEventListener("feedListMade", this);
	}
	
	private function feedListMade():Void {
		
		BuckyServices.feedThreadsMC.doLoad( newFeed.target_txt , "FeedItemButton" ); 
		EventBroadcaster.getInstance().broadcastEvent("switchToFeedThreadsView", this);
		eraseExistingSpinners();
		
	}

};