| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 | |
|
Registered User
Join Date: Jun 2003
Posts: 13
|
I am trying to create a email form using flash remoting. I have created a component:
<cfcomponent name = "confidentialMail"> <cffunction access="remote" name="sendMail" returntype="string" displayname="Confidential Email" hint="Confidential email"> <!---"message" will be a function in the flash movie ---> <cfargument name="message" type="string" required="true" displayname="Message" hint="Message"> <!--Send mail, based on flash input--> <CFMAIL TO="EmailAddress" FROM="Confidential Intranet Email<emailAddress>;" SUBJECT="INTRANET: Confidential Feedback" type="html" > #message# </CFMAIL> <cfreturn "Your email has been sent! Thanks for the input"> </cffunction> </cfcomponent> Furthermore, I have been using Lott's book for guidance on the Flash side of things. Here is what I have thus far in ActionScript: ActionScript Code:
The current error I am getting is Quote:
Does anybody have any ideas here? Thanks! Jeff Hobbs |
|
|
|
|
|
|
#2 |
|
Master of Nothing
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
|
What is _root.message? Is it a text field? is message the instance name? If so, it should be _root.message.text. Unless of course I am missing something else here.
|
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jun 2003
Posts: 13
|
THAT DID IT!!!
Thanks... I'm glad another pair of eyes worked here! Jeff |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Jun 2003
Posts: 13
|
Any ideas now on how to capture carriage returns? In other words, if the text box has <returns> in them, I want those returns represented in the email. My text box is INPUT TEXT, MULTI-LINE, SELECTABLE, and RENDER TEXT AS HTML.
Thanks! Jeff |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|