2/19/2011 4:21:56 PM
Title:
scoring problem
how would i continue my scoring to the next level?
i had this syntax(succesfull):
at the frame:
score=0;
then to the object(symbol):
if (this.hitTest(_root.char)) {
// if this hits the char (_root.char)
_root.score.text++;
// _root.score goes up 1
unloadMovie(this);
// this movie clip is unloaded
}
my syntax at the next level(scene)
at theframe:
score2=_root.score
then to the object(symbol):
if (this.hitTest(_root.char)) {
// if this hits the char (_root.char)
_root.score2.text++;
// _root.score goes up 1
unloadMovie(this);
// this movie clip is unloaded
(the score diplays "NaN" when i hit the object)