How to Fake a AsyncToken return in ActionScript 3

Posted by Brett on Stack Overflow See other posts from Stack Overflow or by Brett
Published on 2010-05-07T10:17:22Z Indexed on 2010/05/07 22:58 UTC
Read the original article Hit count: 331

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 ?

© Stack Overflow or respective owner

Related posts about fake-data

Related posts about asynctoken