Hello Danny, thank you, that sounds great. I'll take a closer look at your formulas. I also thought of a nearing solution that uses the ratio of textfieldWidth and textfieldHeight. I was drawing different rectangles on a paper in front of me and surrounding them with ovals. :-) I don't want a mathematical perfect solution, I just need a good approximation.
Thank you, Matthias _______________________________________________ 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