Retroactive Credit Loss? (Transfer Student)

I am currently a student at a Virginia 4-year university.
I currently have 12 transferable credits from AP classes at my current university. However, the problem I’m having is that I got 3’s on all of the exams that I took. I for these classes, I used them as the pre-requisites to take the ones later in the sequence (such as AP CS). If I were to transfer to UVA, would I retroactively lose credit for the pre-requisite class even though I have excelled in the classes that build upon it?