[Year 12 IPM] flash tutorial problem

tony at star.melb.catholic.edu.au tony at star.melb.catholic.edu.au
Fri Nov 10 15:22:49 EST 2006


G'day Andrew,

Please find attached Flash 8 file with a "score" example for you.

I believe your problem may be because the variable "score" is not given an 
initial value ie, score = 0;

Have a look at the attachment - it's pretty self explanatory.

Hope that helps.

Cheers,
TJ





At 10:57 AM 11/8/2006, you wrote:
>HI ALL
>
>Im new to Flash  this term and am learning it along with the kids. We are 
>having a great time with it and have been using the tutorials at 
><http://www.flashclassroom.com>http://www.flashclassroom.com (I highly 
>recommend them)
>
>I was wondering if anyone else has used these and has come across the same 
>issue as me:
>
>In the DESIGN A SHOOTING STYLE GAME (Flash 8 version) tutorial - I think 
>the action script for the target button is incorrect.
>
>We have faithfully duplicated what is in the pdf, but when we test the 
>movie all that happens is that instead of the score going up we get "NaN" 
>appearing
>
>I have spent several hours tweaking it as have my students, using the 
>flash help section, etc, to no avail so I am hopng someone can help me out
>
>Andrew Grimshaw
>Colac College
>_______________________________________________
><http://www.edulists.com.au>http://www.edulists.com.au - FAQ, resources, 
>subscribe, unsubscribe
>IPM Mailing List kindly supported by
><http://www.vcaa.vic.edu.au>http://www.vcaa.vic.edu.au - Victorian 
>Curriculum and Assessment Authority and
><http://www.vitta.org.au>http://www.vitta.org.au - VITTA Victorian 
>Information Technology Teachers Association Inc

_______________________________________
This email and any attachments may be
confidential and, if you are not the intended
recipient, you must not disclose or use the
information in this mail.  If received in error,
please notify us immediately and delete the
email and all copies.

The college does not guarantee that this email
is virus free or error free. Any attached files are
provided and may only be used on the basis that
the user assumes all responsibility for any loss,
damage or consequence resulting directly or
indirectly from the use of the attached files, whether
caused by the negligence of the sender or not.

The content and opinions in this email are not
necessarily those of Star of the Sea College Inc. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: score_example.fla
Type: application/octet-stream
Size: 69120 bytes
Desc: not available
Url : http://www.edulists.com.au/pipermail/ipm/attachments/20061110/d4930d54/score_example-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: score_example.swf
Type: application/x-shockwave-flash
Size: 2938 bytes
Desc: not available
Url : http://www.edulists.com.au/pipermail/ipm/attachments/20061110/d4930d54/score_example-0001.swf
-------------- next part --------------

-- 
This email and any attachments may be confidential and, if you are not the
intended recipient, you must not disclose or use the information in this
mail. If received in error, please notify us immediately and delete the
Email and all copies. The school does not guarantee that this Email is virus
free or error free. The attached files are provided and may only be used on
the basis that the user assumes all responsibility for any loss, damage or
consequence resulting directly or indirectly from the use of the attached
files, whether caused by the negligence of the sender or not. The content
and opinions in this Email are not necessarily those of Star of the Sea
College.


More information about the ipm mailing list