Random

Hello, is there an ActionScript code for randomly testing something? Like there will be four different possibilities that are given, and one is randomly chosen. So there is a 25% chance THIS will happen, 25% chance THAT will happen, etc.