1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    1
    Vote Rating
    0
    vash82 is on a distinguished road

      0  

    Default Touch Gestures

    Touch Gestures


    Hey,

    I want to create very simple interactive iPhone mockups (mostly screen transitions and animating elements) using Sencha Animator for our developers. Is it possible to use touch gestures, I know there are libraries such as hammer.js that does exactly what I need but how to implement this in Sencha Animator I'm not sure. An example project would be great.

    Thanks

  2. #2
    Sencha User arnebech's Avatar
    Join Date
    Jun 2010
    Posts
    498
    Vote Rating
    10
    arnebech will become famous soon enough

      0  

    Default


    Sorry, we don't have any example projects in this area yet. I think your best bet might be to include your library using the Includes->External JS option in the Project tab. Then I would initialize and set up your library it in the Actions->Start (also in the project tab).

    If you are using Hammer.js, something like this might work out for you as the start action (this assumes you have an element in a scene, with a ID of "box" (given under Properties->General->ID) for any object.

    Code:
    var hammerBox = new Hammer(controller.getElementById('box'));
    hammerBox.onswipe = function (event) {
        controller.goToNextScene();
    };

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi