Explore the community Forums Lectora Lectora Questions & Answers Move action not absolute?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #351947 Score: 0
    Profile photo of Jason Dalrymple
    Jason Dalrymple
    Member
    beginner
    intermediate
    profile
    wise owl
    curious george
    contributor
    3 pts
    @JasonADal

    Is the Move action in Lectora an absolute position or a relative position? I’m working with the Move action triggered on different buttons to move a text box to different locations in the course. However, each move action is offset from the x-y position I have in the move action. I’m also unable to get it to work with the values set in a RunJS or using a fixed variable as the x-y in the move action.

    Does it have something to do with the fact that the object is nested in a table so the position is based on the x-y of the table cell position? I’m stumped on this one.

     

    #351970 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    178 pts
    @timk

    It has always been difficult to use “Resize” and “Move to” at the same time… In my last test, I received better results if the “Resize” action comes before the “Move to” action.

    You can use variables for both actions and use javascript to set the variables, but you can of course Modify the variables with standard action as well.

    #351972 Score: 1
    Profile photo of Darrel Somoza
    Darrel Somoza
    Member
    contributor
    friend finder
    beginner
    intermediate
    junior moderator
    advanced
    wise owl
    curious george
    130 pts
    @Klaatu

    I, like Math, suggest using GSAP for any animation other than the most basic.

    This post has received 1 vote up.
    #351985 Score: 0
    Profile photo of Jason Dalrymple
    Jason Dalrymple
    Member
    beginner
    intermediate
    profile
    wise owl
    curious george
    contributor
    3 pts
    @JasonADal

    The order of the actions did make a difference – I added a .1 delay to the move, because it looked a little off otherwise. Thanks, Tim.

    I’ve seen GSAP mentioned quite a bit – I’ll hopefully be able to look at it more once this massive project is done and I have a slight breather. 2 down, 4 to go!

    #352029 Score: 0
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    56 pts
    @mnotermans5114

    Actually im working on a sample to show GSAP TimelineMax for more complex animation sequences. Part of my Patreon series of course that i hopefully can open soon. Busy with projects at the moment, i do hope to finish it soon and show here…

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.