0 Replies Latest reply on Nov 15, 2007 5:52 AM by kruse

    Calling Coldfusion init function

    kruse Level 1
      I have a cfc that I call from Flex.

      The init do setup the databse stuff:
      <cffunction name="init" returntype="any">
      <cfargument name="dsn">
      <cfargument name="UserName">
      <cfargument name="Password">

      <cfset variables.dsn = arguments.dsn>
      <cfset variables.UserName = arguments.UserName>
      <cfset variables.Password = arguments.Password>

      <cfreturn this>

      but how should I call this function from Flex and use the initiated object?