Hi, I have a form on Flash that sends a multi-line field to a ColdFusion file, so it sends an email. The line breaks are not preserved. This is my coldfusion line that I thought it could work... but no luck: I read on another posting that "\r" is the Carriage Return character for Flash, but seems to be that is not working. #Replace(form.message_txt,"\r","<br>","all")# and I have tried: #Replace(form.message_txt,"#\r#","<br>","all")# #Replace(form.message_txt,#\r#,"<br>","all")# no luck either.. With HTML forms I would normally use : #Replace(form.message_txt,"#chr(10)#","<br>","all")# Please Help!!! Thanks in advance! Cheers, M.
does your textfield in flash have html enabled? if not, I think that might solve your issue. If you're sending html email, just do the following to your code before passing it to your CF script to fix it: varToPass = myTextfield.text.split(chr(10)+chr(13)).join("<br>");
Hi, Thanks for replying! Yes, I have tried "render as HTML" turned on, and off... no luck... Now, I changed your line to read: sendData.message_txt = this.commentsInput.text.split(chr(10)+chr(13)).join(" "); Is the syntax and logic fine? does the 'join' param have a space? or is empty? ("") or (" ") how about the Coldfusion layer? should I use the "#Char(10)#" , or the "\r"? on the Replace function? Thanks again! M.
I think I ran out of ideas.... anyone, please? Thanks! ..cheers!
i know you want to go to frame 1 of some movie. but i don't know which movie. you can use the full path name to that movieclip and should have no problem: on(press){ _root.some_parent.some_child.and_possibly_more_children.gotoAndPlay(1); } p.s. if you're not sure of the full path name to a movieclip you can always put this in the movieclip's timeline: trace(this);
could someone please help? I am going bananas here. =( I'll appreciate it! ..cheers!
Don't see what you're looking for? Try a search.
|