Jagged flash corners

I created two panels with tabs in flash and the corners seem to have jagged edges. I have my publish settings at 100% jpg quality but even without publishing the corners look crapy. Is there away to create simple structures inside flash and not have it looking like this? I am using the rectangle primitive tool with the radius set to 5.