Hi Andersson, It is possible by checking for the Html tags using the textField.onChanged event. Check through the tags with splitting up the "<" and ">" then when the text inside these contains any predefined tags .alert the user that these contains the html tag. Or you can check for the close tag too. When displaying you can check the text for the same scenario then i guess u can prevent these tags..
Cheers On 5/25/07, Andy Andersson <[EMAIL PROTECTED]> wrote:
I have a scenario that I try to figure out, don't know if it is possible yet, but maybe someone here on the list knows if it is? Scenario are: I have a couple of dynamic text fields and input text fields where people write comments, send messages, display messages/blogs etc... And it goes to the server and returns back to the flash app (everything works fine) but, I don't want people to paste or write HTML tags in the messages etc.. But if they do I want flash to filter/block those tags out to display in the flash app. So when the text gets back into the flash app, it should only contain real text, no HTML tags at all! Is that possible? Thanks A _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
-- Durairaj www.expertbuddy.net _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com