Javascript and flash

does anyone know of any common problems that may occur when javascript and flash mix? i know my flash, but hv never mixed it with javascript code and am tryin to piece a problem out.