PDA

View Full Version : Motion Tween Jumps at end


moondust_82
05-25-2004, 04:52 PM
I've had this problem with motion tweens several times now when making little slideshows or picture transitions of some sort:

...after motion tweening out of a fade into the full picture from one keyframe to another, the swf file shows the picture slightly lurch over to the left in the middle of the picture itself. When I test the movie in Flash MX it looks fine, the picture is in the exact same position from one keyframe to the next in the FLA file and timeline....what's going on? I attached a sample of the most recent problem I've had with this...don't laugh too hard, it was just a dumb little thing for my boyfriend, but it's the only example I have. I'm not using actionscript for this, either.

baby_annie
05-26-2004, 01:08 AM
You should re check the position of the first and last key frame of the motion tween. Do the have the sample position (X , Y)? And you have to check the inbetween, maybe you've added a keyframe there accidentally. Good luck !

pixelwit
05-26-2004, 02:58 AM
Looks like Baby_Annie is right but if that doesn't solve your problem then this tech-note (http://www.macromedia.com/support/flash/ts/documents/bitmaps_shift.htm) from Macromedia might help explain and correct things.

-PiXELWiT
http://www.pixelwit.com

baby_annie
05-26-2004, 04:08 AM
Thank you Pixelwit, the info is very useful for me.
But as i know, when i put 1 pixel border around the flash movie, it will lost 1 pixel at bottom and right side. I have to move the line to xStage-1, yStage-1? Seem the tech note not solve this problem.

moondust_82
05-26-2004, 11:53 PM
"...If the jumping occurs during an alpha tween, try a different alpha value in either the start or finish of the tween. Instead of using 100% alpha, use 99% instead. Similarly, use 1% instead of 0%, if necessary..."

Oh pixelwit! Excellent linkage help there.....exactly what I needed. That is a really great page of very useful info that I wish was more well-known...I had no idea there was some inherent problem like that in Flash...

That quote was the one that worked for me since it is mainly an alpha tween (I had to change the 100% to 99%; 0% to 1% at the beginning didn't seem to work)...looks like the other solutions would work too. Thank you for the very good help (how did you find that page? I didn't look there because I figured it was a problem that I was creating by doing something wrong).

:)

ps - none of the other "solutions" from that page worked though...I tried to fix another file where I had mainly moving mask transitions and no alpha, and the other ideas like breaking the image apart, resizing it, and turning off the "allow smoothing" options did nothing....only adjusting the alpha seems to do the trick....any ideas why?

pixelwit
05-27-2004, 06:40 AM
It's probably one of the most frequently asked questions on the forums and even though many correct replies have been given, people usually prefer hearing about a quirk in the player directly from the source.

It may be one of the most common questions yet few people know what terms to use to describe the problem. Searching for Pixel Shift or Image Shift should give you a little more insight if you're still looking. And if you want the real low-down then you might try reading this link (http://ohwhen.typepad.com/mx_traveller/2004/05/the_mystery_of_.html).

If you're looking for a way to help out on the forums, you could fill your next reply with whatever search terms you think would help people searching the forums find a solution to this problem.

-PiXELWiT
http://www.pixelwit.com