Time issue[castbar ::::]

Hello everyone, please help me with this problem. I haven’t been able to find an actionscript solution for this problem. * I have bar 10x200 with filling * I want the filling to width _x right from 0(0%) to 200(100%) in certain time. [::::::::: ] like so Time has to be in seconds, for example(1.632s) and is changeable in insert text field. Also there should have another text field that substracts seconds off from the insert text field, for example “time=2 seconds” - “minustime=0.5 seconds” = “time=1.5 seconds” thank you all for helping me, i really appreciate all your support alot!