How to Fake a AsyncToken return in ActionScript 3
- by Brett
Using Parsley,
I have a service that I access through a
[Command(selector='list')]
public function getRssFeed( msg:RssEvent ):AsyncToken
{
return service.list() as AsyncToken;
}
when I point to the "Real" RssService, everything works as expected. My problem is when I point to the "Mock" RssService. I can't figure out how to fake a AsyncToken with some dummy data return... does anyone knows how to do this ?