Dynamic loading pics

attached the fla I have so far…

so far it displays an external image in rows an cols.

I have to make it read the images from a txt file an add a function to then ( when you click on one it enlarges to 100% and on second click goes back to 15%)

the images number will be variable - so it has to function the same if there are 3 images or 20

can somebody help?