Hybrid View

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User shinriyo's Avatar
    Join Date
    Nov 2011
    Posts
    76
    Vote Rating
    0
    shinriyo is on a distinguished road

      0  

    Default startAction

    startAction


    It is story about html Sencha exported.

    When I use the my function in "startAction", I always write like this.

    Code:
            window.addEventListener('load', function(){
              var configData = {
                parentId: 'AN-sObj-parentOl',
                ormma: false,
                scenes: [{id: 0,animationCount: 26,duration: 2304.9262693827914,dimensions: {height: 320,width: 320,expanded: false,fit: false},
                startAction: function(controller,event) {
                  myFunc(); // my function
                },
    But, in spite of I wrote in startAction, it happen AFTER start animation.

    I fix like that.
    Code:
              startSceneByID: function(sceneID) {
                var me = this;
    
    
                // restart current scene without flicker
                if (sceneID === this.currentSceneID) {
    
    
                  //this.scenes[sceneID].element.setAttribute('class','run restart') // N/A>:)
                  this.scenes[sceneID].element.setAttribute('class','restart'); // OK:)

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

      0  

    Default


    The 'start action' should go off at the start of the scene, but there is not guarantee that it will happen before the animation starts (might depend on the browser). Are you wanting a 'before start' action?

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    1
    Vote Rating
    0
    messki678 is on a distinguished road

      0  

    Default


    hi,
    this is really right what are you saying!
    messki678

Thread Participants: 2

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..."