A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Need help on Currency Converter

Hybrid View

  1. #1
    Junior Member
    Join Date
    Feb 2001
    Posts
    9
    I want to create a currency converter, for my own personal use, from American Dollars to Philippine Pesos, any suggestions on how to do it?

  2. #2
    Junior Member
    Join Date
    Feb 2001
    Posts
    9

    wont anyone help me?

    sniff

  3. #3
    Senior Member
    Join Date
    Jul 2001
    Posts
    505
    Its really not all that hard, all you'll need are 2 text boxes and 1 button. First make a text box and change it to and input text field(you can do this from the text options panel, ctrl-t). on the text option panel, there is a field that is labeled "variable" in this field type "dollar". Now make a new text box, but instead of a input box, make it a dynamic and give it the variable "peso"

    Now make a button, make sure youve converted it to a button symbol and right click it, choose actions, in the actions panel insert this code:

    on (release) {
    peso = dollar * 5.35;
    }

    Change 5.35 to whatever the current exchange rate is and your done. The text boxes are hard to see when you view your movie, you might want to draw a box around each one so you know where they are.

  4. #4
    Junior Member
    Join Date
    Feb 2001
    Posts
    9

    Smile Thanks!

    Thanks Amalinde it worked!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center