Math and programming in flash - resources?

So I was just wondering if there are any good books/resources out there that helped someone out that is pretty terrible when it comes to Math when programming in actionscript, or I guess programming in general. I guess I’m after some sort of resource where it had basic problems which would involve a bit of math, then went through the problem in a detailed way solving the problem but at the same time explained what was going on so I would learn the math and also solve the problem using code.

I don’t want to just be told how to do it with a bunch of code I don’t understand. Really hoping there is some awesome book out there called ‘101 guide to maths in programming’ or something like this, (hopefully more geared towards flash/actioncsript)

Thanks in advance!