Hitesting

how does hit testing work in flash?