Not entirely, the 4 has 512Mb of ram and the 3Gs only has 256. The cpu in the 4 is faster as well. The higher resolution screen of the iPhone 4 might be the factor that prevent the VGA cable from working on the 3Gs. Those are the things that could alter the ability to use the VGA cable on the 3Gs.