Actually to get all the levels all you have to do is press the r button and while still holding it hit c-up while highlighting the first level.
If you need more help, we've got more A Bug's Life cheats and also check out all of the answers for this game
Comments for this cheat