[Year 12 IPM] flash tutorial problem

Travers, Graham J travers.graham.j at edumail.vic.gov.au
Wed Nov 8 11:12:43 EST 2006


I'm certainly no Actionscript person but I'd think NAN means 'not a
number' and you're trying to add to a text element.

If that's the problem (similar to VB) you'll need to convert the score
variable to a numeric, do the maths, and convert back to text to
publish.

But I'm just guessing!

GT

 

________________________________

From: ipm-bounces at edulists.com.au [mailto:ipm-bounces at edulists.com.au]
On Behalf Of Andrew Grimshaw
Sent: Wednesday, 8 November 2006 10:57 AM
To: Year 7 - 10 Information Technology Teachers' Mailing List; Year 12
Information Technology Processing and ManagementTeachers'Mailing List
Subject: [Year 12 IPM] flash tutorial problem

 

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 - FAQ, resources, subscribe, unsubscribe 
IPM Mailing List kindly supported by 
http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment
Authority and 
http://www.vitta.org.au - VITTA Victorian Information Technology
Teachers Association Inc


Important -=0A=
This email and any attachments may be confidential. If received in error, pl=
ease contact us and delete all copies. Before opening or using attachments c=
heck them for viruses and defects. Regardless of any loss, damage or consequ=
ence, whether caused by the negligence of the sender or not, resulting direc=
tly or indirectly from the use of any attached files our liability is limite=
d to resupplying any affected attachments. Any representations or opinions e=
xpressed are those of the individual sender, and not necessarily those of th=
e Department of Education & Training.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/ipm/attachments/20061108/e2c895ed/attachment.html


More information about the ipm mailing list