4 Replies Latest reply on Jul 10, 2013 5:52 AM by Emraan.Khan

    url on xml thumbs images..

    Emraan.Khan

      function miniThumbs () {

       

      thumbURL = myImages[i].attributes.thumb_url;

             

              myThumb_mc = wall.createEmptyMovieClip(i, wall.getNextHighestDepth());

              myThumb_mc._x = _root.thumb_height * i;

              myThumb_mc._x = _root.thumb_position = -3000 + (i-j)  * 372;

              myThumb_mc._y = _root.thumb_position = 180;

       

              clipLoader2.loadClip("shop/" + thumbURL,myThumb_mc);

       

       

       

              preloader2.onLoadStart = function(target)

              {

                  target.createTextField("my_txt",target.getNextHighestDepth(),0,0,10,10);

                  target.my_txt.selectable = false;

              };

       

       

              preloader2.onLoadProgress = function(target, loadedBytes, totalBytes)

              {

                  target.my_txt.text = Math.floor((loadedBytes / totalBytes) * 100);

              };

       

              preloader2.onLoadComplete = function(target)

              {

                  new Tween(target, "_alpha", Strong.easeOut, 0, 100, .5, true);

                  target.my_txt.removeTextField();

                  //target.onRelease = function()

      //            {

      //                callFullImage(this._name);

      //            };

       

                  target.html=true;

                 

                  target.onRelease = function() {                                      // not working

                  getURL("");                                                                     // not working

                      };                                                                                 // not working

       

       

       

                  target.onRollOver = function()

                  {

                      this._alpha = 100;

                  };

       

                  target.onRollOut = function()

                  {

                      this._alpha = 100;

                  };

       

              };