I think the problem was that you were calling the function strobo whenever key_space was pressed, since you held the spacebar down, it was called anew every frame, so the line:vec_set(my.blue,vector(255,255,255)); was executed every frame and then it doesn't flicker.
~"I never let school interfere with my education"~ -Mark Twain