1 Reply Latest reply on Aug 31, 2010 8:41 AM by kglad

    Random Images on CS5




      I do have a problem to make jpeg images random in a swf movie.


      I have found a tutorial which explains people to apple a single line of code:


      imagenes_mc.loadMovie("ima00" + (1+random(5)) + ".jpg");


      to the first frame of the movie which contains an empty mc "imagenes_mc" which should load a diferent JPEG each time someone gets into the website.


      Thing is: ON my published swf nothing happens with that code and on the output windown i get "1120: Acess of undefined property mages_mc" and also "1180: Call to a possible undefined method random"


      Surelly there is something wrong..


      Does someone knows how to fix this problem or other action which could work to produce a random?