Two Ventury County Sheriff's deputies stopped Flamm as he left the courtroom and handcuffed him to be booked into the county jail.
Flamm's bail has been set at $50,000.
Ventura County sheriff's spokesman Capt. Ross Bonfiglio said Flamm was arrested after a 3-week investigation.
Bonfiglio said Flamm was caught on store surveillance video June 3 stealing several video games from a /*Sears*/ store in Thousand Oaks.
Flamm also faces a trial date of July 7 for the grand theft and child endangerment charges.
The charges stem from an incident May 1, 2009, when Flamm was accused of taking two jackets worth $790 from the /*Nordstrom*/ store at the /*Oaks Mall*/.
The child endangerment charge involves Flamm's young daughter. Flamm is accused of using his daughter in the theft. Detectives have declined to say how the child was involved.