Flash's smoothing feature

Does photoshop or illustrator have a smoothing feature similar to Flash’s? So when I’m drawing with my graphic tablet, I can more easily avoid jagged lines?