i didnt do either..i found another way abt it ....in the file location below it has a image sequence i enabled tht ...the textures i named them in a sequence eg.tex01,tex02 ...etc tht solved my problem
but how to loop the texture...i mean say there r 10 images then the sequece goes to 10 but after 10th image it doesnt go back to image 1 ...how do i get it to loop. i.e come back to image 1