Here is another dang photo gallery question

is it possible (instead of having to do the pArray and type in each file name… ) to just have action script know that you want to use all the files in that directory