Skip to main content
sbryner
Inspiring
February 6, 2008
Question

Image disappers when in tween transition

  • February 6, 2008
  • 6 replies
  • 487 views
Hello,

I have the code below. Problem is when I release image1_mc and then press image2_mc it works fine IF I let the transition complete.

If I press image1_mc then press image2_mc the transition starts IF I quickly press image1_mc again, it transitions back to image1Bg_mc BUT once it finishes the transition image1bg_mc disappers.

Any idea why? I can't figure it out.

thanks,
sky

This topic has been closed for replies.

6 replies

kglad
Community Expert
Community Expert
February 7, 2008
you're welcome.
sbryner
sbrynerAuthor
Inspiring
February 7, 2008
You Rock As Always!
It was too simple.

This works. I just didn't understand the concept. I am going to make sure
to look into this more so I can learn it better. Thank you for the guidance
AND fixing my problem saving me time.

Huge Thanks,

sky
sbryner
sbrynerAuthor
Inspiring
February 6, 2008
not getting it. That's what I'm doing now. I have my mc using the _x property to transition across the stage.

Are you saying when onRelease of the button a second time do some sort of get current _x position and slide the opposite way?

confused a little. sorry.
kglad
Community Expert
Community Expert
February 7, 2008
:

kglad
Community Expert
Community Expert
February 6, 2008
you can use a tween that uses your movieclip's current _x property.
sbryner
sbrynerAuthor
Inspiring
February 6, 2008
Is a way to do it without it looking choppy or just stopping the image in mid transition?
kglad
Community Expert
Community Expert
February 6, 2008
stop your previous tweens before you start the next ones.