Earlier quoted context omitted.
Actually, you always wind up with X or 2X, never 0.5X and never 4X. Remember, the envelopes contain either X or 2X, and you always end up with either one or the other.
I myself understood the problem with Afforess's reply. You are explicitly pinning the value in the envelopes, but remember the other envelope has either half or double of the value than the one in your hand, and this is the crux of this paradox. Hopefully, I am thinking in correct terms.
So I choose "A" and I don't know if it contains $X or $2X. I don't even get to open it to know what amount is in the envelope. Whatever it contains, if I choose to switch, I get envelope "B" - I always have a 50% chance of choosing the larger amount or switching to the envelope with the larger amount because no information is revealed after the first choice.
for A->$X, B->$2X:
Choose A, stay with A, receive $X
Choose A, switch to B, receive $2X
Choose B, switch to A, receive $X
Choose A, stay with B, receive $2X
for A->$2X, B->$X: Choose A, stay with A, receive $2X
Choose A, switch to B, receive $X
Choose B, switch to A, receive $2X
Choose A, stay with B, receive $X
50% chance of getting either amount, regardless.