GD, for Action Script, I look for basic code online (most programmers share code), cut and paste it, then modify it to my needs.
Not sure if that can work in other languages, but it's a huge time saver in AS. I still have to know what the code is doing in order to modify it, but I've been able to accomplish some really awesome stuff in a short period of time with "starter code".
