Right now I am adding them to an array and sending over the array. Is 
there a better way to do this?

var mysendArray:Array = 
[{selectedPackageIDs:someValue,selectedForumIDs:someValue2,etc...}]
myService.SendCredit();

then in the CFC
<CFARGUMENT name="receivedArray" type="array">
<CFIF selectedPackageIDs GT 5>
 ...
</CFIF>

--- In [email protected], "michrx7" <[EMAIL PROTECTED]> wrote:
>
> Is there a better way to send a ton of values to a cfc rather then 
> entering them all in one huge line?
> 
> myService.SendCredit
> 
(selectedPackageIDs,selectedForumIDs,selectedAdditionIDs,selectedPublica
> 
tionIDs,selectedPackageUsers,selectedForumUsers,selectedAdditionUsers,et
> c,etc,etc,etc,etc,etc,etc);
> 
> Should I create an ArrayCollection? Or what is the best way to do 
this?
>


Reply via email to