Copy link to clipboard
Copied
Hi
I need an assistant and I do not know exactly what the problem is
When you apply the code, this message appears to me
Copy link to clipboard
Copied
Hi.
The error means that you are trying to access an object, property, or method in line 176 of the frame 1, in the main timeline, that is not available at that moment or that doesn't exist at all.
But to tell you exactly what it is, we need to see your code.
Regards,
JC
Copy link to clipboard
Copied
The code for this lesson has been applied and has not been successful
Copy link to clipboard
Copied
Thanks.
There is an error in the change function. This is a handler function for mouse event listeners so it expects a MouseEvent as a paramater and not a MotionEvent.
Instead of this:
function change(e:MotionEvent):void
{
mc1.transform.colorTransform = ct;
}
Should be this:
function change(e:MouseEvent):void
{
mc1.transform.colorTransform = ct;
}
Please let us know if this fixes the issue.
Regards,
JC
Find more inspiration, events, and resources on the new Adobe Community
Explore Now