The variable is "pagesize" and it's passed from the flash movie to the
called cfc or CF page. Here's a doc snippet:



Returning records in increments to Flash
ColdFusion lets you return record set results to Flash in increments. For
example, if a query
returns 20 records, you can set the Flash.Pagesize variable to return five
records at a time to
Flash. Incremental record sets lets you minimize the time that Flash
application waits for the
application server data to load.
To create a ColdFusion page that returns a incremental record set to Flash:
1 Create a ColdFusion page, and save it as getData.cfm in the helloExamples
directory.
2 Modify getData.cfm so that the code appears as follows:
<cfparam name="pagesize" default="10">
<cfif IsDefined("Flash.Params")>
<cfset pagesize = Flash.Params[1]>
</cfif>
<cfquery name="myQuery" datasource="ExampleApps">
SELECT *
FROM tblParks
</cfquery>
<cfset Flash.Pagesize = pagesize>
<cfset Flash.Result = myQuery>





-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 1:14 PM
To: CF-Talk
Subject: RE: Flash Remoting w/CF


I am glad to hear some data on this.  I've been wondering how much data one
of these RIA thingys can tolerate.

I haven't messed with this yet, but I did read some code that 'paginates'
the recodrset somehow so that the Flash thingy only holds n rows from an m
row query at a time.  I saw this at devcon...but alas I can't find the paper
at the moment.

Doug

>-----Original Message-----
>From: Frank Mamone [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, March 12, 2003 2:05 PM
>To: CF-Talk
>Subject: Flash Remoting w/CF
>
>
>We've been experimenting with Flash Remoting and MX and found that the
>performance is a little slow.  We are using a CFC to get a recordset of
>about 700 and populating a combobox with it.
>
>Is there any known performance issues with Flash Remoting and
>where can I
>read about them.
>
>Thanks,
>
>Frank
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to