`

FLEX 服务器端交互: remoteObject & AsyncToken & 数据定时刷新 & Timer

    博客分类:
  • FLEX
阅读更多
动态调用RemoteObject:
Dynamically invoke remote object methods?
http://forums.adobe.com/thread/780801?tstart=-1
引用
roName.getOperation(methodName).send(methodParams)










关于AsyncToken:
An AsyncToken Primer
http://blog.olivermerk.ca/index.cfm/2008/6/8/AsyncToken-primer
What is the point of the ASyncToken?
http://stackoverflow.com/questions/4663090/what-is-the-point-of-the-asynctoken
引用
Two things stand out:
1 You can assign more than one responder to an AsyncToken;
2 You can bind the result of the AsyncToken.
You might find these two things useful depending on what kind of data you're working with... Also there might be more to it than this.

http://www.flexafterdark.com/docs/ActionScript-AsyncToken
引用
An AsyncToken is a dynamic object, so you can add whatever properties you want to it.


Tracking results from multiple,simultaneous service calls(通过AsyncToken)
http://cookbooks.adobe.com/post_Tracking_results_from_multiple_simultaneous_servic-922.html

Calling multiple methods from one RemoteObject in Flex and Actionscript using BlazeDS:
http://whatwouldnickdo.com/wordpress/532/calling-multiple-methods-from-one-remoteobject-in-flex-and-actionscript-using-blazeds/







定时刷新:
FLEX TIMER:
http://livedocs.adobe.com/flex/3/html/help.html?content=08_Dates_and_times_1.html
直接替换结果集,实现刷新策略,并通过设置datagird的verticalScrollPosition和horizontalScrollPosition防止在刷新时出现滚动条的重置:
http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/




Large Data Sets:
http://blogs.adobe.com/mchotin/2004/03/large_data_sets.html
http://blogs.adobe.com/mchotin/2004/04/large_data_sets_1.html
http://blogs.adobe.com/mchotin/2004/05/large_data_sets_2.html
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics