Transition not being saved

HelpXplain is the exciting new animated infographics and screencast tool that integrates with Help+Manual.

Moderators: Alexander Halser, Tim Green

Post Reply
User avatar
Olivier Beltrami
Posts: 392
Joined: Mon Jul 15, 2002 3:30 pm
Location: Nantes, France
Contact:

Transition not being saved

Unread post by Olivier Beltrami »

Hello,

Every time I re-open my project, all the transitions, which were set to Show (no animation), are reset to "Pan, Rotate, Zoom".
Very best regards,

Olivier
Olivier Beltrami
https://www.qppstudio.net
Worldwide Public Holidays and Calendar Data
User avatar
Alexander Halser
EC-Software Support
Posts: 4098
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria
Contact:

Re: Transition not being saved

Unread post by Alexander Halser »

Bug confirmed.

Workaround for the time being: do not change the transition to "Show", but set the duration to zero instead. This will also switch the transition automatically.

When changing the transition to "Show", this means a zero duration. And the duration field gets disabled. But the internal value is still kept just in case you change your mind and switch the transition back. Bot values are stored in the .xplain file and when loaded, the transition duration > 0 does override the transition type "Show".
Alexander Halser
Senior Software Architect, EC Software GmbH
User avatar
Olivier Beltrami
Posts: 392
Joined: Mon Jul 15, 2002 3:30 pm
Location: Nantes, France
Contact:

Re: Transition not being saved

Unread post by Olivier Beltrami »

Thank you very much.

Any thoughts to a random/shuffle sequence of slides ?
Silly for an "explanation", of course, but could be nice for a slide show.
Olivier Beltrami
https://www.qppstudio.net
Worldwide Public Holidays and Calendar Data
User avatar
Alexander Halser
EC-Software Support
Posts: 4098
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria
Contact:

Re: Transition not being saved

Unread post by Alexander Halser »

Any thoughts to a random/shuffle sequence of slides ?
Not really. But you can do this in the global custom scripts:
https://www.helpandmanual.com/help/gf-d ... ripts.html

Example

Open an Xplain, click File > Properties and switch to the Custom Scripts tab.
Enter the following script:

Code: Select all

xplain.addEventListener('onnextslide', function (index) { 
  var next = index-1,  //index-1 = current
      myslides = Array.prototype.slice.call(document.getElementsByClassName("xplframe"));
  while (next==index-1) {
	  next = Math.floor(Math.random() * myslides.length);     
  }	
  return next;
});
The script adds an event listener for the onnextslide event. This is called whenever an Xplain is going to move from one slide to another. The index parameter is the number of the next slide (index is a zero-based integer, so its range is from 0 .. totalslides-1. In the function, we get a list of all slides to know the total number of slides in this Xplain. Then it returns a random number between 0 and totalslides-1 and at the same time ensures that it is not returning the current slide index.
shuffleplay.png
You do not have the required permissions to view the files attached to this post.
Alexander Halser
Senior Software Architect, EC Software GmbH
User avatar
Olivier Beltrami
Posts: 392
Joined: Mon Jul 15, 2002 3:30 pm
Location: Nantes, France
Contact:

Re: Transition not being saved

Unread post by Olivier Beltrami »

Wow!
Very cool.
Thank you very much.

Olivier
Olivier Beltrami
https://www.qppstudio.net
Worldwide Public Holidays and Calendar Data
Post Reply