Need a little help to skip an intro with transitioning images

So I have an introduction that consists of images telling a story and they change using transitions.  Here is the example:

local function beginIntro()

local image = display.newImageRect(“etc.png”, etc)

image.x = etc

image.y = etc 

image.alpha = 0

transition.to(image, {time=1000, alpha=1})

transition.to(image, {time=1000, delay=4000, alpha=0})

etc 

etc 

etc 

end 

introTimer = timer.performWithDelay(1000, beginIntro, 1)

So now, I tried to create a skip button so players can go straight to the gameplay rather than wait and watch the intro (even though they SHOULD be watching it) and it does go to the gameplay but one problem: the introduction is still playing even though I canceled the intro timer when the player presses the skip button.  What would be an easier way to cancel the transitions?  Do I have to cancel each transition one at a time? Any help would be appreciated, thanks! 

I would chain the transitions using functions and onComplete parameters.  Then you could put an “if” test in each function to see if you’re leaving the scene and have it stop the chain from going to the next transition.

I would chain the transitions using functions and onComplete parameters.  Then you could put an “if” test in each function to see if you’re leaving the scene and have it stop the chain from going to the next transition.