Your problem actually had nothing to do with opacity or "isShowing" settings. It was just that the first while loop never ended - since the test condition was locked to true.
A full explaination is a bit long for here - but check your text(s) or Dick Baldwin's tutorials for more detail.
I did attach a world which should get you started. Note that all your "whiles" were really not needed at this stage, nor was some other code. I did add a marker to locate the position and orientation of the gumdrop - so you could see what is happening to it. Obviously, you could get rid of this later.
Bottom line - try to develop and test your code in small bits and pieces (i.e., incrementally). It's much easier to figure out what is going wrong - and, per Murphy's Law, something always
will.