If I put a numerical value in an input textbox1 and another value in input textbox2, then the percentage of both these input boxes will determine how much boxA will fill. For example, I put the value 10000 in textbox1 and 5000 in textbox2, then boxA will fill 50%.
Help in coding. I am a graphic designer and new to AS3 coding.
As @Organis suggested you should try to attempt to solve the problem yourself and show the code used in your efforts so that we may assist you.
I will provide some code to get you started but you should try to understand this code and expand upon it yourself to make it your own.
I'm not sure exactly what you want when you say this should determine the how much boxA will fill.
If boxA is a MovieClip you could control its opacity:
Or could control its height etc.
I'm sure you can experiment with this yourself.