Jump to content
Search Community

Strange tint problem

sandesh test
Moderator Tag

Recommended Posts

Hi Jack

 

I am loading a swf in a file. After the loading is complete, i have given a delay of 5 secs.

After the delay of 5 secs i am applying a pink colored tint to the loaded swf and then unloading it.

 

The problem i am facing is that the loaded swf contains some masking animations.

So when I apply the pink tint, i see a strange red color in the areas where i have the masking on.

 

In the attached files, pls compile the files and then run LoaderMain.swf which will load IndianStyle_anim.swf.

 

Pls note that you will have to copy your 'com' folder in the attached files path, since i couldn't send it through this mail, due to your uploading size limit of 1MB. Thanks

Link to comment
Share on other sites

that's because you're using a "multiply" blendMode on those objects. The solution would be to set the blendMode of the container to "layer" which you can either do manually or directly in the SWFLoader, like:

 

_loader = new SWFLoader("IndianStyle_anim.swf", { container:this, onComplete:swfLoaded, blendMode:"layer" } )

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...