I have a thread going on in the Flash section but it isn’t really related to Flash that much anymore. So I thought I’d ask it here since I need your advice on some xml and php oriented topics.
I was wondering if somebody could perhaps help me along with two little problems I have with the XML, PHP, Flash Shoutbox that Flashmatazz did a tutorial on.
I really like the shoutbox…however, I was wondering if it is possible to censor bad language so that when someone types a bad word and submits it it looks like this for example “f**k” if you know what I mean :S
My second question is. Is it possible to use custom made smilies like on this forum? I would like to add a button that links to a small pop up where people can select a smily…just like here.
I guess you could also create an array of words to be censored within Flash and check against them before sending it to the PHP script.
As for the smilies: I’d have to check. I think I read that withn MX 2004 you can use IMG tags within a textfield. If that’s true then it should be possible.
I’ll look into it tomorrow.
Hmmm, sorry man I don’t seem to be able to get it to work when loading from the XML file.
I’ve been trying to do a string replacement but no luck thusfar.
I’m attaching the file so maybe somebody else can take a look.
btw, maybe this topic should be moved to the FMX2004 forum?