-
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?
-
-
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.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|