1 Reply Latest reply on Jan 11, 2012 3:41 AM by kglad

    Problem path + variable

    MaxRQ77

      I need to run the code below, writing well is probably not something you happen to be? ^ _ ^


      How it works:


                           _parent.loadBitmapSmoothed("galeria1/picture"+numerito+".jpg", _parent.mc1.mc);


      It does not work:


                          var numerito:Number;

                          numerito = 1;

                     

                          _parent.loadBitmapSmoothed("galeria1/picture"+numerito+".jpg", _parent.mc[numerito].mc);

       

       

      Thank you all for everything! ^ _ ^

       

      Mx

        • 1. Re: Problem path + variable
          kglad Adobe Community Professional & MVP

          use:

           

           


                              var numerito:String;

                              numerito = "1";

                         

                              _parent.loadBitmapSmoothed("galeria1/picture"+numerito+".jpg", _parent.mc[numerito].mc);

           


          1 person found this helpful