Hi Hilary

I have gotten another CFC to work previously which contained 6 or so
methods. Im still alittle green with all this... :-s

my cfc code below... I ended up doing it with HTML etc, had a lunchtime
deadline.. tho im still keen to work out whats up with it...

Thanks again..
Jason

<cfcomponent hint="A general CFC to enable emailing from flash."
displayname="sendemail">
    <cffunction name="sendtheemail" access="remote" hint="Sends an email
from flash" returntype="numeric" displayname="sendtheemail">
         <cfargument name="guestname" required="yes" default=""
type="string">
         <cfargument name="partnername" required="yes" default="NA"
type="string">
         <cfargument name="transport" required="yes" default="No"
type="string">
         <cfargument name="attendance" required="yes" default=""
type="string">
         <cfargument name="diet" required="yes" default="NA" type="string">


 <cftry>
  <cfmail to="[EMAIL PROTECTED]" from="[EMAIL PROTECTED]"
subject="Boral Platinum Club Celebrations Event RSVP 2003 Notification">
  Attending: #arguments.attendance#
  Guest Name: #arguments.guestname#
  Partner Name: #arguments.partnername#
  Transport Required: #arguments.transport#
  Special Dietary Requirements: #arguments.diet#

  Posted: #LSDateFormat(Now(), "dd/mm/yy")# ~ #LSTimeFormat(Now(),
"hh:mmtt")#
  </cfmail>

  <cfset Vcomplete = 1>
  <cfreturn Vcomplete>
  <cfcatch type="any">
       <cfset Vcomplete = #cfcatch.Detail#>
       <cfreturn Vcomplete>
  </cfcatch>
 </cftry>
 </cffunction>

</cfcomponent>

"Hilary Bridel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>
> Is this the first time you have used Flash remoting, or does it work with
> other cfc's and just not this one??
> Need a little more info.
> Post some code....
>
> Hilary
>
> --
>
>
> "Jason Bayly" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> >
> > Hi Hilary, et al
> >
> > I can connect to the Flash Gateway, and then make the call to the method
> > contained within the CFC (theres only one).. And thats it, nothing gets
> > dumped to the NetConnection Debugger, i only see the "[Flash Remoting
> > MX]-Request received was not Flash-based (not of the binary AMF
> protocol)."
> > in the flash.log file on the server.
> >
> > Ive scanned google and the MM forums, but have uncovered nothing
> usefull...
> >
> > Any thought from anyone appreciated..
> >
> > Jason
> >
> >
> >
> > "Hilary Bridel" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > >
> > > Hi Jason,
> > > I haven't seen this error myself, but would be interested to hear
more.
> > > Where is this error appearing (NetConnection Debugger??)
> > >
> > > Is it just one particular remoting call to CF? What is that call?
> > >
> > > Hilary
> > >
> > > --
> > >
> > > "Jason Bayly" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > > >
> > > > Anyone seen this error before ?
> > > >
> > > > [Flash Remoting MX]->Request received was not Flash-based (not of
the
> > > binary
> > > > AMF protocol).
> > > >
> > > > Its got me stumped...
> > > >
> > > >
> > > > Jason
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>



---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to