Director 1.3 ?

it loads my first scene no problems
it loads my second scene no problems
the problem is the transition from first to second
i want to “moveFromRight” but non of the transitions are working for me
here’s my code of the first scene
[blockcode]
module(…, package.seeall)

– j strahan –
– intro screen –
– © 2011 –

function new()

local setup, startIntro, startCircle, jstrahanCircle, stopCircle, addCT, clearMemory, fbFlash
local lt0, fbi, fbFlash, fbFlashTimer, introSound, spriteSheet
local ct, ready = 1, 1
local sx, sy = ( display.contentWidth / 768 ), ( display.contentHeight / 1024 )
local a = {}
local lt = {}
local intro = display.newGroup()
local splash = display.newGroup()
local corona = display.newGroup()
local localGroup = display.newGroup()

function setup()
intro:insert( corona )
intro:insert( splash )
localGroup:insert( intro )

spriteSheet=grabber.grabSheet(“jstrahan”)
introSound = audio.loadSound( “intro.mp3” )

coronaPng = spriteSheet:grabSprite( “corona”, true )
coronaPng.x = display.contentWidth / 2
coronaPng.y = display.contentHeight / 2
coronaPng:scale( ( 1.5 * sx ), ( 1.5 * sy ) )
corona:insert( coronaPng )

blackOut = display.newRect( 0, 0, display.contentWidth, display.contentHeight )
blackOut:setFillColor( 0, 0, 0 )
splash:insert( 1, blackOut )

lt0 = spriteSheet:grabSprite( “j.png”, true )
lt0:scale( 0,0 )
lt0.x = display.contentWidth / 2
lt0.y = display.contentHeight / 2
splash:insert( 2, lt0 )

for ct = 1, 7, 1 do
a[ct] = math.pi
end
lt[1] = spriteSheet:grabSprite( “lt1”, true )
lt[1]:scale( ( 1 * sx ), (1 * sy ) )
lt[1].x = display.contentWidth + lt[1].contentWidth + ( ( 14 * 1 ) * sx )
lt[1].y = ( ( display.contentHeight / 2 ) - ( 160 * sy ) )
splash:insert( lt[1] )
lt[2] = spriteSheet:grabSprite( “lt2”, true )
lt[2]:scale( ( 1 * sx ), (1 * sy ) )
lt[2].x = display.contentWidth + lt[2].contentWidth + ( ( 14 * 2 ) * sx )
lt[2].y = ( ( display.contentHeight / 2 ) - ( 160 * sy ) )
splash:insert( lt[2] )
lt[3] = spriteSheet:grabSprite( “lt3”, true )
lt[3]:scale( ( 1 * sx ), (1 * sy ) )
lt[3].x = display.contentWidth + lt[3].contentWidth + ( ( 14 * 3 ) * sx )
lt[3].y = ( ( display.contentHeight / 2 ) - ( 160 * sy ) )
splash:insert( lt[3] )
lt[4] = spriteSheet:grabSprite( “lt4”, true )
lt[4]:scale( ( 1 * sx ), (1 * sy ) )
lt[4].x = display.contentWidth + lt[4].contentWidth + ( ( 14 * 4 ) * sx )
lt[4].y = ( ( display.contentHeight / 2 ) - ( 160 * sy ) )
splash:insert( lt[4] )
lt[5] = spriteSheet:grabSprite( “lt5”, true )
lt[5]:scale( ( 1 * sx ), (1 * sy ) )
lt[5].x = display.contentWidth + lt[5].contentWidth + ( ( 14 * 5 ) * sx )
lt[5].y = ( ( display.contentHeight / 2 ) - ( 160 * sy ) )
splash:insert( lt[5] )
lt[6] = spriteSheet:grabSprite( “lt4”, true )
lt[6]:scale( ( 1 * sx ), (1 * sy ) )
lt[6].x = display.contentWidth + lt[6].contentWidth + ( ( 14 * 6 ) * sx )
lt[6].y = ( ( display.contentHeight / 2 ) - ( 160 * sy ) )
splash:insert( lt[6] )
lt[7] = spriteSheet:grabSprite( “lt7”, true )
lt[7]:scale( ( 1 * sx ), (1 * sy ) )
lt[7].x = display.contentWidth + lt[7].contentWidth + ( ( 14 * 7 ) * sx )
lt[7].y = ( ( display.contentHeight / 2 ) - ( 160 * sy ) )
splash:insert( lt[7] )


fbi = spriteSheet:grabSprite( “www.png”, true )
fbi:scale( ( 1 * sx ), ( 1 * sy ) )
fbi.alpha = 1
fbi.x = display.contentWidth - ( ( fbi.contentWidth / 2 ) + 20 )
fbi.y = display.contentHeight - ( ( fbi.contentHeight / 2 ) + 20 )
intro:insert( 4, fbi )

fbiGlow = spriteSheet:grabSprite( “fbGlow.png”, true )
fbiGlow.x = display.contentWidth - ( ( fbi.contentWidth / 2 ) + 20 )
fbiGlow.y = display.contentHeight - ( ( fbi.contentHeight / 2 ) + 20 )
fbiGlow:scale( ( 1 * sx ), ( 1 * sy ) )
intro:insert( 3, fbiGlow )

fbi:addEventListener( “tap”, fbTap )
startIntro()
end

function fbFlash( event )
transition.to( fbiGlow, { time = 300, xScale = ( 1.1 * sx ), yScale = ( 1.1 * sy )} )
transition.to( fbiGlow, { time = 300, delay = 300, xScale = ( 1 * sx ), yScale = ( 1 * sy ) } )
end

function startIntro()
audio.play( introSound )
fbFlashTimer = timer.performWithDelay( 600, fbFlash, 0 )
transition.to( lt0, { time = 3000, xScale = ( 1.3 * sx ), yScale = ( 1.3 * sy ), rotation = 720, onComplete = stopCircle } )
transition.to( lt[1], { time = 400, x = display.contentWidth / 2, onComplete = startCircle } )
for ltCount = 2, 7, 1 do
transition.to( lt[ltCount], { time = 400 + ( 80 * ( ltCount - 1 ) ), x = display.contentWidth / 2, onComplete = addCT } )
end
end

function addCT()
ct = ct + 1
strahanCircle()
end

function strahanCircle()
for ltCount = 1, ct, 1 do
x = math.ceil( ( 160 * sx ) * math.sin( a[ltCount] ) + ( display.contentWidth / 2 ) )
y = math.ceil( ( 160 * sy ) * math.cos( a[ltCount] ) + ( display.contentHeight / 2 ) )
lt[ltCount].x = x
lt[ltCount].y = y
lt[ltCount].rotation = math.deg( -a[ltCount] - math.rad( 180 ) )
a[ltCount] = a[ltCount] + 0.083
end
end

function startCircle()
Runtime:addEventListener( “enterFrame”, strahanCircle )
end

function stopCircle()
Runtime:removeEventListener( “enterFrame”, strahanCircle )
fbi:removeEventListener( “tap”, fbTap )
transition.dissolve( splash, corona, 1500, 1500 )
timer.performWithDelay( 5000, clearMemory )
end

function clearMemory()
intro:removeSelf()
timer.cancel( fbFlashTimer )
director:changeScene( “splashScreen”, “moveFromRight” )
end

function fbTap()
print( “fb Tap” )
system.openURL( “http://www.j-strahan.com” )
end

setup()
return localGroup
end

[/blockcode]

any ideas why the transition isn’t working
[import]uid: 7911 topic_id: 11992 reply_id: 311992[/import]

Just taking a shot at it . I noticed that you didnt cancel your timer that calls clearMemory(). [import]uid: 39088 topic_id: 11992 reply_id: 43735[/import]

didn’t work
i also tried removing the intro:removeSelf() [import]uid: 7911 topic_id: 11992 reply_id: 43737[/import]