Time for action – filtering by date using the UI
- Rather than hardcoding the
since
anduntil
values, we could use a UI element to filter Graph Lists while the project is running. - The Visualizer includes another hidden option to allow this. To enable it, edit the constructor of
CustomGraphContainer.as
again:public function CustomGraphContainerController(a_graphControlContainer:GraphControlContainer) { super(a_graphControlContainer); this._showListCounts = true; this._showListFilters = true; _requestor = new HTTPRequestor(); addEventListenersToRequestor(); //we must wait for the Requestor to initialise before we can do //anything else with it _requestor.addEventListener(Event.COMPLETE, onRequestorInitialize); _requestor.initialize(); }
- Save, compile, ...
Get Facebook Graph API Development with Flash now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.