Hi there, I’ve got a feature request.

Hi there, I’ve got a feature request. I would like to tap or double tap on a page area while in full scale then it should zoom 100p to that specific page and not always to the home page.

]]>
« (Previous Post)
(Next Post) »

3 Commentsto Hi there, I’ve got a feature request.

  1. Anonymous says:

    < ![CDATA[

    Are you using LLX? 



    If so you can use this script. Run it from the tap event (or double tap) of the container.



    var ev = LL.getEvent();


    var cont = ev.getContainer();



    var x = Math.floor(ev.getTouchX()/cont.getWidth())*cont.getWidth();


    var y = Math.floor(ev.getTouchY()/cont.getHeight())*cont.getHeight();



    cont.setPosition(x,y,1,true);

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Yes I use LLX


    Thanks a lot, I will try it


    🙂 

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Thanks TrianguloY


    Script is working well, exactly what I needed 🙂

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *