**Error** ActionScript 2.0 class scripts may only define class or interface constructs.
b2.onPress = function() {

**Error** ActionScript 2.0 class scripts may only define class or interface constructs.
b3.onPress = function() {

**Error** ActionScript 2.0 class scripts may only define class or interface constructs.
b4.onPress = function() {

ok this is what i have.

1 Movie clip with links to a .as file all is working fine the above error occurs when i publish the 1 movie clip which is getting pulled into the main movie

Any idea's it does not happen when 1 movie clip is published on its own just when 1 move clip is pulled into my main movie clip.