choose from list get results and choose from another list?

Hi all! I want to be able to have the script ask the user to choose from a list and after they choose from the list they would get another list to choose from. I would then use the values of their picks to move a file.

	set source_Folder to ("USERS:FileTransfer:")
	--set folderNames to name of folders of folder source_Folder
	set selec to choose from list folderNames with prompt "Choose file(s)"
end try
--Here is where I would like them to get another list to choose from
	set period_Folder to ("USERS:FileTransfer:" & selec)
	--set periodName to name of folders of folder period_Folder
	set Pselec to choose from list periodNames with prompt "Choose file(s)"
	--move oneFile to folder (period_Folder & Pselec & ":") replacing yes
	--Here is where I would use the results from both lists to move the file
end try


AppleScript: 2.1.1
Browser: Firefox 2.0.11
Operating System: Mac OS X (10.4)

Try this.



set default_source_loc to "USERS:FileTransfer:" as alias

set source_Folder to choose folder with prompt "Choose source folder." default location default_source_loc
set dest_folder to choose folder with prompt "Choose destination folder."

set files_to_move to choose from list my get_names(source_Folder) with multiple selections allowed

my move_files(files_to_move, dest_folder, source_Folder)

on move_files(files_to_move, dest_folder, source_Folder)
	tell application "Finder"
		repeat with i from 1 to count of files_to_move
			set this_file to item i of files_to_move
			set this_file to (source_Folder & this_file) as string
			move this_file to dest_folder
		end repeat
	end tell
end move_files

on get_names(source_Folder)
	tell application "Finder"
		set file_names to name of every file of source_Folder
	end tell
end get_names