matti bar zeev schrieb:
How about this?import RegExp; var a:String = "äur*?ß123.png"; var goodname:RegExp = new RegExp ("[^a-z0-9\\.]", "gi"); var return_str:String = a.replace(goodname, "_"); var output_txt:TextField = new TextField (); output_txt.text = return_str; addChild (output_txt)
nope ... same problem: type mismatch! btw: what is addChild () ??? micha _______________________________________________ [email protected] 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

