Copy link to clipboard
Copied
Since version 2019, Animate allows you to apply blending modes to graphic symbols in the selected frame. I want to apply to a graphic symbol a blend mode by command, but it applies it in object mode and my desire is to apply it in the frame. Copying what it does in the labels I create this:
an.getDocumentDOM().getTimeline().setFrameProperty('BlendMode', 'erase');
But it doesn't work.
Because this code is for a movie clip and applies it in properties/object:
an.getDocumentDOM().setBlendMode('erase').
Is there any way to create the command to apply it on frame?
Copy link to clipboard
Copied
Hi.
This is odd because the History panel shows...
an.getDocumentDOM().setBlendMode('erase')
... when the blend mode of a frame is changed.
But if a JSFL is run, it doesn't work.
Not sure why...
I think it's worth letting the team know about it.
https://www.adobe.com/products/wishform.html
Or maybe the extension developers here have an idea.
Regards,
JC
Copy link to clipboard
Copied
Thanks, that's why I was asking here because it comes up in the history.