Skip to main content
Participant
Jun 17, 2024 7:00 AM UTC
Question

Camera Tool properties jsfl access Translate/Rotate and Zoom values

Hi,

 

I am trying to apply properties to adobe animates camera Settings from a json file using jsfl.

I am able to apply properties to the layer - but i cannot find the correct way to apply values to the Camera settings Translate/Rotate and Zoom. What would be the correct way to do this and is it even possible?

The jsfl documentation doesnt list any camera related information.

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    JoãoCésar17023019
    Community Expert
    Community Expert
    Jul 23, 2024 10:33 AM UTC

    Hi.

     

    In the link below you'll find the API documentation for the camera.

    https://github.com/AdobeDocs/developers-animatesdk-docs/blob/master/index.md#camera-object

     

    I hope this helps.

     

    Regards,

    JC

    Translate
    Participant
    Jul 23, 2024 6:28 AM UTC

    We managed to use the import motion xml to apply motion to the camera from after effects.translate xy is easy but in combination wit rotation and zoom things start getting complicated die to the pivot being tope left and how animate interprets the motion.has alteady succeeded in doing this? Would be a very useful feature if it worked.

    Translate