Javascript in Flash

This code doesn’t seem to work when it is attached to the actions of my button. Does javascript need to be modified to work with Flash?

on (release) {
getURL(“javascript:window.open(‘album1.htm’,‘remote_window’,‘height=500, width=600’); return false;”);
}

instead of returning valse, try instead to just use void(0); to prevent any returning whatsoever.

Also this might be of interest:
http://proto.layer51.com/d.aspx?f=850

Thanks for the quick reply, “void(0)” worked. Thanks.