This content has been marked as final.
Show 5 replies
-
1. Re: Adding and Subtracting Should be Simple
kglad Jun 24, 2008 1:39 PM (in response to Mr. Aztek)what repeats in the "..rest of the main time line"? those functions should only appear once.
and if you don't see $100000 in your textfield, you probably either don't have a textfield with instance name txtBudget on stage in frame 1 or you need to embed your font. -
2. Re: Adding and Subtracting Should be Simple
Mr. Aztek Jun 24, 2008 1:52 PM (in response to kglad)quote:
Originally posted by: kglad
what repeats in the "..rest of the main time line"? those functions should only appear once.
and if you don't see $100000 in your textfield, you probably either don't have a textfield with instance name txtBudget on stage in frame 1 or you need to embed your font.
D'oh! You are correct, sir. I embedded the font and it now displays the amount, but it is not adding or subtracting.
And sorry, I didn't meant to confuse, I was just trying to say that there are other similar functions because it is a quiz that also dynamically generates a line graph that goes up and down based on their input, and I'm just trying to add the add/subtract portion of it. -
3. Re: Adding and Subtracting Should be Simple
kglad Jun 24, 2008 1:58 PM (in response to Mr. Aztek)1. you're not updating Budget in AnswerTree1 no matter whtat value AnswerPath is. try using:
Budget = Budget + 25000;
2. textfields have a text property, but not a txt property. fix that in UpdateBudget().
p.s. you probably want to prepend "$" to Budget when assigning the text property to txtBudget in UpdateBudget(). -
4. Adding and Subtracting Should be Simple
Mr. Aztek Jun 25, 2008 6:16 AM (in response to kglad)Ah okay, I think I've got it now. Thanks a million! -
5. Re: Adding and Subtracting Should be Simple
kglad Jun 25, 2008 8:05 AM (in response to Mr. Aztek)you're welcome.