Avatar of webstudiointeractive

asked on 

Flash photo fade performance

Hi guys,

I'm wondering if anyone can tell me why my Flash photo gallery is experiencing major lag on some photos, and not others.

This is the development version of a website I'm working on:


To test - please go to Gallery > Advertising, and then click the three images at the bottom of page.

You will notice the first and second photos have a jumpy and undesirable fade, but the third, which is the largest of all - has a smooth fade?!

The code I'm using here is:

var tw = new mx.transitions.Tween(whichPhoto, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 1, true);

I've also tried removing "true" from the end to use a number of frames (instead of fading for 1 second, as that script above says, fade for 7 frames for example).  This produces an identical result.

The following website seems to have no problem with even larger photos, and they seem to be using the same tween class:  http://www.brook-pifer.com/

I'm beginning to think it's because that one photo that fades well is larger than the screen size?? I just want a nice, fast fade like on Brook Pifer's site.   Please help - 500 points if you can answer this!
Adobe Flash

Avatar of undefined
Last Comment
Avatar of go4ejjohn

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of webstudiointeractive


Thanks Jon.  I've found the same when testing in Internet Explorer... I was using Firefox and failed to mention that.  I don't know how the Brook Pifer site fades so well, but it's impressive.  I'm having good results by setting mc._quality = "LOW" before I do the fade.  Just have to work out how to know exactly when the easing has finished....

Thanks for replying.  You can have the points.
Adobe Flash
Adobe Flash

Adobe Flash (formerly Macromedia Flash) is a cross-platform multimedia and software platform used to embed animations, video, and interactive applications into web pages and desktop and mobile applications and games. Flash displays text, vector and raster graphics to provide animations, video games and applications. It allows streaming of audio and video, and can capture mouse, keyboard, microphone and camera input. The ActionScript programming language allows creation of interactive animations, video games, web applications, desktop applications and mobile applications.

Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews


IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo