Skip to main content
LESMOUTONSSAUVAGES
Participant
October 25, 2023
Question

[animate][JSFL][Advanced Layer - camera] Prompt message

  • October 25, 2023
  • 2 replies
  • 442 views

Hello all,
When i open a file with a camera layer, animate trigger a yes-no prompt to activate advanced layer.
How prevent this prompt ? Or is there any preferences to set to prevent or say yes by default ?

Thanks!

N.B: its in a command line animate instantiation: /path/to/animate fileToOpen JsflScriptToExecute

This topic has been closed for replies.

2 replies

JoãoCésar17023019
Community Expert
Community Expert
October 25, 2023

Hi.

 

What happens if you try to run this command before opening the document?

fl.suppressAlerts = true;

 

Please let us know.

 

Regards,

JC

LESMOUTONSSAUVAGES
Participant
October 26, 2023

Hello JC.
Thanks for your answer. My jsx file already starts with this line.

fl.suppressAlerts = true;

 !

JoãoCésar17023019
Community Expert
Community Expert
October 26, 2023

Got it.

 

Unfortunately I can't reproduce this problem.

 

And it's very strange because it doesn't make sense for Animate to ask to activate the advanced layers since the existence of a camera already presupposes that this mode is active.

 

In which version of Animate the files were created and which version of Animate are you using? And does this happen to any file that has advanced layers on?

LESMOUTONSSAUVAGES
Participant
October 25, 2023
Mario_CR
Community Expert
Community Expert
October 25, 2023

Hi, try going into Document Settings, and click on the 'Make Default' button.

 

LESMOUTONSSAUVAGES
Participant
October 25, 2023

Thanks Mario,
i already tried an set this.
Its working as expected if i create a new file. But opening a file which i havent create myself  trigg indefinitely this prompt...
I really dont know what to do