Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Authorware
MacroMedia AuthorWare
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Authorware :
product's home
product's list home
 
  Archived TallyList / Authorware: 
Subject: Re: AW5.2 Problem with Scoring
Grace Daminato (46p/+0r)     Posted: Sunday 25 Feb 2001
This post: 26 views, +0 rating

If you use Restart() to restart your application (instead of just branching to the beginning) then TotalScore will reset.

An alternative is to see whether you can determine with a comparison if TotalScore is negative then make your custom variable negative. IOW: If TotalScore<0 then MyScore := - Abs(TotalScore) end if

Brandt Wagner wrote: > > hey all I was playing earlier with some score keeping and I ran up against > something that was odd. I was attempting to use the AW variable TotalScore > to keep track of things. > > I put a restart button in my app so I needed to be able to reset the > TotalScore variable ... since this is not a option to directly set it I > thought I would find out what the TotalScore was then use an interaction to > subtract it out worked fine for a positive score... then I came to getting > rid of a negative score. So I tried to do the same thing basically. Set a > custom variable equal to TotalScore and subtract the negative value thus > adding a positive value, equating to zero. -- Grace Daminato

Macromedia Evangelist

Interaxys New Media voice: 905.542.2404 e-mail: grace@interaxys.com

-- The AWARE List http://www.e-media.nl/aware/index.html

Search the Archives http://www.e-media.nl/aware/search.html

Netiquette: - Use descriptive subject fields - Use subject prefixes (A5 , A5Mac , A5Web , KO , UCD , OT)


Similar Subject Line Posts (+/- two weeks of this post)
Re: AW5.2 Problem with Scoring  25 Feb 2001 (this post)   (26 v/ +0 r)
Re: AW5.2 Problem with Scoring  21 Feb 2001   (14 v/ +0 r)
Re: AW5.2 Problem with Scoring  21 Feb 2001   (15 v/ +0 r)
Re: AW5.2 Problem with Scoring  21 Feb 2001   (20 v/ +0 r)
Re: AW5.2 Problem with Scoring  21 Feb 2001   (21 v/ +0 r)
AW5.2 Problem with Scoring  20 Feb 2001   (18 v/ +0 r)
 

Send a reply to the Authorware list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000