[vet-mm] Flash Reset Button problem... Help!

Fran Ibbott ibbott.frances.h at edumail.vic.gov.au
Thu Jul 10 12:38:01 EST 2008


Hi,

I was hoping to get some help with this Flash issue...

A student of mine has a character that when Œhit¹ needs to return to a
randomly set ³reset² position.
However, there is also a scoring system in place and so the issue is that
when the character resets and is subsequently Œhit¹ again, it is not adding
to the score.

Can anyone help? Code is...

if(this._y<0) {  
this.removeMovieClip(); }  }

onClipEvent (enterFrame)
{
if(hitTest(_root.zombie))
{
_root.zombie._y= -50;
_root.zombie._x = random(550);
_root.points+=2;
_root.score.text=_root.points;
this._x = -1000;
}
}

Thanks

Fran Ibbott
Community Liaison & Transition Manager
Monbulk College
David Hill Road
Monbulk   VIC   3793
P:(03) 9751 9019 (direct)
P:(03) 9751 9000
F:(03) 9751 9001
E: ibbott.frances.h at edumail.vic.gov.au
-- 



Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Early Childhood Development.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/vet-mm/attachments/20080710/ee7b1f62/attachment.html


More information about the vet-mm mailing list