I want to write Javascript in Flash so I can put in to a button and create a new PopUp Browser Window from a Flash Movie.

What I want to know is......

1. Do I write the Javascript in the getURL "window"

2. Do I write the Javascript in one line , <HTML><HEAD><TITLE> or do I write it
<HTML>
<HEAD>
<TITLE>

3. How do I move words blow each other when writing text in an action script function as it only appears to set text in a continueous line.

4. Do I write the Javascript in the same getURL as the button.