Fade in/out not smooth

Hey.

I got a little problem with Fading pics. I use a lot of those, its fast and easy and often enough for what i´m doing. The problem is when i tween a jpg from 0 to 100 Alpha, then fade it out and fade another one in, I see a unplesent glitch somewhere along the tween.

Is there something i can do about it, something i need to know? My client doesn´t really mind it, but it kind of sucks. Especially seeing the smoothnes of some of the sites out there.

Any advice appreciated. Thanks.

Lage pictures will always do that. Try not to use pictures in a higher resolution than you actually need in the swf.
I don’t know if you are crossfading the pictures, but if you just fade a picture out completely and the fade another picture in, instead of using alpha on the pictures you could just make a square with 0% alpha that covers the pictures. When you need to change the picture you just fade the square up to 100%, change the picture and fade out the square again.

I´ll try that. Thanks. I cross fade some of the pics but they glitch whether i do or not. The pics are at 72 dpi.

Why not just use actionscript?

I suck at coding. It´s easier for me to tween the thing. Plus that way i can preload all the fotos at once instead of preloadin each one separately. I´m sue it can be done better with the script.

there’s a Flash Bug… Don’t alpha to 100%. Alpha to 99% (there’s no real diff). And put your MC aligned top-left… It should work ok.

Yes, Pomme is right. Use 99% and even 1% for the outs (followed by removing it from the timeline).

for Flash MX, a better trick than the 99% alpha tween is this…

Make sure all of your images have the registration point in the lower right hand corner of the image, making sure that all of the image is on the negative quadrent of the X Y coordinates… (sorry if that doesn’t make sense… let me know if you need any clarification)

for some reason, the pixel shift bug does not happen in Flash MX when your photos are placed above and to the left of the registration point…

Flash 2004 fixed (reversed) the problem, and now the glitch only happens if the image is not in the positive quadrents of the XY grid… (in Flash 2004, not MX)

Sorry if that doesn’t make sense… im trying :stuck_out_tongue:

registration cross is bottom right in MX. top left in MX2004. Easy stuff.