JavaScript in Flash

how do i enter javascript in flash?

getURL("javascript:your script")

and remove the space between java and script

Kax: That is how you CALL javascript in Flash.

Technically there is no way to have Javascript in Flash (depending on what your doing). Your javascript will have to be written in the the html file and called on in Flash using the above method.