Move object/picture dynamically?

Anyone know how to move an object like a picture dynamically? I want to put together a series of questions. Depending on the answer I want to move a marker on an indicator. I cannot work out a way of doing this. Problem is that each question has 5 possible values so I can't use states to do this - essentially I need to know the x position and then change it somehow. This doesn't look possible or am I missing something?

Thanks

Steve

5 Replies
Steve  Galway

Actually - I might have worked this out. It's painful though and takes way too many steps so if there's a better way please let me know

  1. Create a variable called 'xPos' and give it an initial value of '0'
  2. Create my slider and give it a 'state' for each position
  3. Name those states 0,5,10,15,20,30 etc
  4. Set up a series of slide triggers - change state of 'slider' to state '0,5,10,15,20,30 etc' when variable (xPos) changes
  5. Set a condition on each trigger - if xPos is equal == to 0,5,10,15,20,30 etc
  6. Set up my questions
  7. For each option add a value to xPos e.g. current value + 5 etc.

Now when the value of xPos changes the slider moves to the correct point on the indicator

Same logic as above with subtracting from xPos and moving the slider in the opposite direction.

Is there a better way and this is very labour intensive.

Thanks :-)

Philip Lima

Have a button alongside each answer.  When student clicks button, jumps to new slide with marker moving to correct position.  Could fade in to give the appearance of movement.  Then continue button could move to next question.

Is this what you are looking for (see atachment)?

Steve  Galway

Thanks guys. Good to get a few possible ways of doing stuff. My idea (attached) seems to do what I want so I'll run with that for now.

Each of my questions will be custom (not quiz slides) and on different layers so that I can jump through them and still manipulate this slider on the main layer.

Appreciate the replies

I've never been on a community or forum before that gets such quick responses - it's great