Read variables into flash?

I need to read some variables into a flash movie. Can I do this with javascript or the <param> tags?