Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

$ Fields

Status
Not open for further replies.

jefargrafx

Instructor
May 24, 2001
273
US
How okay gusy, first let me say you guy are a GREAT! help.

Thanks bunches

my question is:

How do you get a text field to resolve to 0.00, $ in other words.

I'm multipling one field with another and displaying the results in a thrid.

works great, but if the product is 9.90 ($9.90) Flash resolves the field to 9.9

how do I stop this.

 
Dave answered that question a couple of days back:
thread250-88937

;-)
 
hi again,

I noticed a bug in the above, that if you typed in a value to 2dp, the output window wouldn't update the value. So I just added an extra IF statement for each argument.

I also put the actions on an mc ("control" in Library) on 'Enterframe' so that you don't have to hit enter to update the output box. This way you can see how the script could be used to automatically update numbers in your movie.


dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top