Hello
A Newbie in Flash I've been following the tutorials. I've come up against a
small problem in the calculator.fla tutorial.
Folowing to the letter the instructions gives a code :
-------
// Calculates total price
on (click) {
with (_parent){
priceTotal_txt.text=Number(price1_txt.text)+ Number(price2_txt.text)+
Number(price3_txt.text);
}
};
---

On testing the file this gives an error message:
---
**Error** Scene=Scene 1, layer=Components, frame=1:Line 19: Statement must
appear within on/onClipEvent handler
};

Total ActionScript Errors: 1 Reported Errors: 1
---

Comparing the file with the finished file I see there is a extra semi colon
at the end of my file.
I take it out and the file works. But I don't see why, and I don't see where
line 19 is counted from.

Can anyone shed light.

cpmac