I am trying to saturate a flash animation from left to right with a blurred wipe. I am attempting to do this by creating duplicate movie clips, with one of the movie clips having a filter to completely desaturate the color. I am hiding the saturated movie clip with a mask (basic rectangle) that I am animating to move out of the way revealing the "color". I would like my desired effect to "fade" in by adding a horizontal "x" blur to the mask. I have been successful at wiping in the saturation, but Flash seems to be ignoring the blur on the mask I have created.
Is this possible? Is there a better way to do this? Thanks for the insight!
I'm using Flash Pro CS5, and I'm a complete beginner with ActionScript.
Hmmm, so I am getting the following compiler errors...
Scene 1, Layer 'Actions', Frame 1, Line 1 1120: Access of undefined property animationclr_mc.
Scene 1, Layer 'Actions', Frame 1, Line 2 1120: Access of undefined property mask_mc.
Scene 1, Layer 'Actions', Frame 1, Line 4 1120: Access of undefined property animationclr_mc.
Scene 1, Layer 'Actions', Frame 1, Line 4 1120: Access of undefined property mask_mc.
all of my clips are in the library, not sure what the error means.
Now the animation works but Flash is ignoring the gradient in the mask, instead it is showing the hard edge of the rectangle.
As the tutorial no doubt explained the mask needs to be applied by script to get the gradient to work.
Here's the thing a lot of people get snagged on. What you name the clip in the library means absolutely nothing. What animationclr_mc and mask_mc are referring to are instance names.
I will post a picture of an instance name I posted in another thread. This has nothing to do with your project but the arrows will show you where you need to put the instance name so you stop getting those errors.
You need to select the object on the screen, look in the properties panel and fill in the name I'm pointing to in the giant red arrow. In this example it points to the instance name image_mc. You can also see in the library that the name is also image_mc. That means nothing. You need to use an instance name, which is what the huge red arrows are pointing out. Click on your mask, set the instance name to mask_mc and click on the animation and set its instance name (not library name) to animationcle_mc.
Instance name and library names are 2 completely different things. Actionscript ONLY works with instance names, not library names.
North America
Europe, Middle East and Africa
Asia Pacific