javascript and flash development.
version 2.0
creates rounded corners on divs.
This is my content.

var box = new RoundedCorners('.roundedContent', {radius: 49});
To allow font resizing, init a new textResizeDetector and pass in the function call on resize:
var detect = new textResizeDetector({onChange: onFontResize});
The resize function should simply call the roundedCorner object's resize function:
function onFontResize() {
box1.resize();
}