You could use a global variable to store the current level then, on your level complete screen you add one to currentlevel
name you level layouts level1,level2,level3,...
In levelcomplete layout:
currentLevel = currentLevel + 1
you call action go to layout(byname) with "level"&str(currentLevel)
Here is a tutorial that uses this approach scirra.com/tutorials/311/level-select