Changing Maps

Hello,

I am having difficulty returning to a scene that I changed from (using director).

Here is a some of the code that I am using:

I have a button in a map called “space_map” that calls the following function

local onButtonRelease = function(event)

Runtime:removeEventListener(“enterFrame”, onUpdate)

director:changeScene(“World_1”, “fade”)

end

This code changes the scene to “World_1” without a problem. From the “World_1” map, I am using the following code to return back to “space_map” but it isn’t working:

local onTap = function(event)

director:changeScene(“space_map”, “fade”)

end

Do I need to do anything special to re-enter a map that was loaded previously? It seems like I can load as many new maps as I want with the above code but just can’t reload an existing map.

Thanks,

Dan
[import]uid: 55714 topic_id: 10320 reply_id: 310320[/import]

Without seeing the rest of the code it is hard to tell however you may wish to look at the Viewer app included in the release, it shows one way to to use Director with Lime. I also have a new tutorial coming soon that is written by a Lime user showing how they got Director and Lime working together. It is all written I just need to get it all online. [import]uid: 5833 topic_id: 10320 reply_id: 37687[/import]