Groups | Blog | Home
all groups > macromedia flash flash remoting > february 2005 >

macromedia flash flash remoting : What's faster - single or Multiple Remoting connectors


wrkoch
2/22/2005 11:37:55 PM
I have 12 combo boxes I am populating from CFC's via Remoting. They are all
from the same gateway and same CFC, just different methods. I am creating the
remoting connectors dynamically in actionscript (i imported the class), one for
each combobox. I have them tied together via dataproviders using a listener.

It is taking noticeable time for them to load up even though the database is
small (1200 records). The combo boxes take their time loading up, then they
sit there, then they get filled with data. I'm wondering if i'm spending a lot
of overhead time creating 12 remoting connectors (all going basically to the
same place). Would it be faster to create one connector with 12 dataprovider
arrays, looping over the 12 methods and populating the arrays?

Thanks in advance for any advice.
Jens Hauser
2/26/2005 6:12:41 PM
Have You seen this article?
http://www.flash-remoting.com/examples/MultipleCombo2004AS2/

I think it would be better to use just one call.


Jens


[quoted text, click to view]

AddThis Social Bookmark Button