I'm having difficulty showing that if f(1)=0 and f:[0,1] to R is continuous then (x^n)f(x) is uniformly convergent.

I get that I'll probably need the fact f is continuous on a closed bounded interval so is bounded but this seems to result in requiring x^n to be uniformly convergent on (0,1) which I don't think it is (since it's pointwise convergent to 0, but take 0<e<1 and then given N take x bigger than the (N+1)th [positive] root of e. Then there is an n>N [namely N+1] for which |x^n| > e)

Am I wrong in thinking x^n is not uniformly convergent?

Can anyone give me a hint?

Thanks.