MoveTo and SizeTo at the same time
January 15, 2015 12:00 AM
Hello,
So recently I needed to apply both a move action and a resize action to a shape object within Lectora.
The problem I am having is that one cancels the other. If apply the moveTo action first then apply the SizeTo action the sizeTo will stop the moveTo from processing. It essentially just jumps to the end state of the moveTo and then animates the sizeTo.
Likewise If I apply SizeTo before the MoveTo, the sizeTo doesn't animate it just jumps to the end state of the sizeTo and then animates the MoveTo.
Am I missing something? or does anybody know how to get both of the running at the same time?
Any help appreciated!
Discussion (5)
I'm having the same problem. Seems both actions can't be done at the same time. I used jquery instead.
Tim
sorry ssneg, I should have updated this.
after typing a dollor ($) into the console it didn't come back as undefined so I assumed this was jQuery.
It doesn't, :( I had to include it, its storyline that includes it but only in its html output.
Regards
Yeah, I considered jquery but its a lot to include to simply move/size 2 lines; only once :/
EDIT*
I forgot lectora includes jQuery :) im muddling it up with storyline!!
@andy0dave 63223 wrote:
I forgot lectora includes jQuery :)Pardon me but since when and how do I use it? I always include JQuery in the course as a separate file when I need it.
I have done this in the past...but can't find the title where I did this. I DO remember that I fudged the time a little bit - so that the actions didn't hit at exactly the same time. I think I used a .2 time difference - something small enough that it wasn't noticeable to the end user, but long enough to let the actions hit separately. Might want to try that...hope it helps.
Discussions have been disabled for this post