(04-18) 16:16 PDT OAKLAND -- Bullets hit buildings at Castlemont High School in Oakland on Thursday but no one was hurt when a shooter opened fire from a car just outside the campus, authorities said.

Rounds also hit cars parked outside the school, an Oakland Unified School District official said.

An Oakland police spokeswoman confirmed no one was hit in the shooting but could provide few additional details.

District spokesman Troy Flint said the school at 8601 MacArthur Blvd. had been locked down at one point because of the incident, which was reported shortly before 3 p.m. By 3:45 p.m., though, students were coming and going to after-school activities. Several said they hadn't seen or heard the shooting.

According to Flint, a car pulled up next to another vehicle that was parked in front of the school at about 2:50 p.m. Someone in the approaching car fired on the parked vehicle and broke the rear windshield, he said.

The occupants of the parked car, believed to be a woman and a small child, escaped on foot into the school, Flint said.