Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Manipulate Rotate Degree using Advanced Action

New Here ,
May 26, 2018 May 26, 2018

how can I manipulate rotate degree using variable or Advanced Action, so if I assign a variable to 90, it change the Rotation degree to 90, so the animation happen

 

rotate_adv_action.JPG

214
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 26, 2018 May 26, 2018

I am able to do this with a While loop in an advanced action, but that is only available in CP2017, and I see that you are on an older version. You will need to use JavaScript I'm afraid.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 26, 2018 May 26, 2018

Thank you Lieve for fast reply, I've learned lots of tricks from your Captivate blog,

How can do this using JS ?

I could do a captivate CLOCK so it the user click a button the clock move clockwise 5 or 15 mins, but I want the user to be able to add the rotation degree himself then the animation happen.

clockwise.svg

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 26, 2018 May 26, 2018

I'm sorry,, hope some JS expert will explain I only use it when it cannot be done with Advanced or shared actions.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 27, 2018 May 27, 2018
LATEST

Thanks for your help

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources