Forum Topic: Need a little help, Pretty please.

(84 views • 4 replies)

This topic is 1 page long.

<< < > >>
Muted

Cthun

Reply To Post Reply & Quote

Posted at: 7/16/08 05:03 PM

Cthun EVIL LEVEL 02

Sign-Up: 06/25/08

Posts: 178

Well, Thanks for looking at this thread hopefully you can help me.

Let say I have 3 dynamic text fields, one has the variable name " f1 " other is " f2 " and the last is " outcome ".

f1 has the number 10 and f2 has the number uhmm.. 4.

And I want the outcome text field to show the difference which would be 6.

Is there any actionscript to do this?
I'm just getting started with harder actionscript, so I don't know much..


None

ZealousZephyr

Reply To Post Reply & Quote

Posted at: 7/16/08 05:10 PM

ZealousZephyr NEUTRAL LEVEL 04

Sign-Up: 07/05/08

Posts: 137

At 7/16/08 05:03 PM, Cthun wrote: Is there any actionscript to do this?
outcome.text = Number(f1.text) - Number(f2.text);

I hope it helps.


None

Cthun

Reply To Post Reply & Quote

Posted at: 7/16/08 05:13 PM

Cthun EVIL LEVEL 02

Sign-Up: 06/25/08

Posts: 178

By the way its AS2.


None

Cthun

Reply To Post Reply & Quote

Posted at: 7/16/08 05:16 PM

Cthun EVIL LEVEL 02

Sign-Up: 06/25/08

Posts: 178

At 7/16/08 05:10 PM, ZealousZephyr wrote:
At 7/16/08 05:03 PM, Cthun wrote: Is there any actionscript to do this?
outcome.text = Number(f1.text) - Number(f2.text);

I hope it helps.

And it changed it a little and it works you're the best!!!
At least someone willing to help.
You rock.
<3
Woohoo.

Double post oh noez!


Elated

kingaven

Reply To Post Reply & Quote

Posted at: 7/18/08 08:33 AM

kingaven EVIL LEVEL 07

Sign-Up: 06/21/08

Posts: 26

Ok I have no idea what you're about but I submitted a Flash and it got blammed though so whats new?

Just got an account.

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 11:13 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!