Jump to content
Search Community

mcs in swf appearing before animation starts

shaver80 test
Moderator Tag

Recommended Posts

Hello, I was wondering if you guys can help. As of late when I do an animation with tweenlite, the content appears before the animations inits. So if I have a tweenlite.from with alpha:0 the mc will shows for a split second and then start with alpha:0. It seems to happen in firefox and chrome the most. I did notice this happens when making a gradient mask as well. You will see the mask for a fraction of a second before it masks the mc. I'm doing everything I always have. This seems to be a recent issue and I don't blame tweenlite. Advice to fix the issue?

Link to comment
Share on other sites

It sounds to me like simply a loading issue. Remember, scripts won't run until that particular frame is COMPLETELY loaded, and Flash displays things as they load. So for example, you might have a MovieClip on the stage that gets loaded at full opacity but Flash is still working on loading other assets for that frame, thus you see the MovieClip in the mean time. Then, when everything is loaded it fires off the ActionScripts and it finds the from() tween which immediately forces the MovieClip's alpha to 0 (in your case). Now do you see why it might appear to "flash" quickly? You're right - it's not a TweenLite issue. One solution would be to set the alpha to 0 in the IDE and use a to() tween to make it go to alpha:1.

  • Like 1
Link to comment
Share on other sites

Great thank you for your response. It just seems weird that it is doing it now and never has in the past. More specifically I am dealing with web banners that have a very small k weight. What seems to help is starting the animations on frame 2. I will most likely also use to() tween as well like you mentioned. Thanks again.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...