You can use the Flash.Pagesize in a CFC.
Read up
http://livedocs.macromedia.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/usingSalsaN3.htm#1160826 http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/usingsa7.htm
Or even better buy the excellent book Flash Remoting: The Definitive Guide
by Tom Muck and read Chapter Five or surf to
http://www.flash-remoting.com/examples/master.cfm and download the code
called customers.
Jens
"unleashed" <webforumsuser@macromedia.com> skrev i meddelandet
news:bpbkuk$pl4$1@forums.macromedia.com...
[quoted text, click to view] > I'm looking at replacing a cold fusion page that has a cfgrid with a flash
page that has a DataGrid. It is taking the cfgrid about 10 seconds to load
with all of the data and I want to speed that up through flash remoting and
a CFC. The grid displays information on our 2500 employees.
[quoted text, click to view] >
> I created a simple flash movie with a datagrid that populates itself with
the output from the CFC. It takes the flash movie about 7 seconds to load.
>
> The query only takes 140ms to execute. If I display the plain text in just
a cold fusion page, it only takes about 500ms to load.
>
> Now my question: Is there a faster way to use flash remoting other than
going through a CFC? Also, is there a way to get the datagrid to populate
in groups, like download and populate 100 records at a time until the 2500
item list is complete.
[quoted text, click to view] >
> Thanks,
>
> James
> Sacramento, CA
>
>