Composer: Can I have a global bg stick behind changing menus?

Hello

I am trying to set a background image that will be displayed in the back while i scroll through 

the menu scenes in my project. What i do is slide each scene from the side while the leaving

scene is exits sliding to the other side.

I know something like that can be done by setting the effect on “composer.gotoScene(e.target.tag, “slideLeft”,1000)” but that will make the bg slide with the scene since it is a part of it.

If I use the same background and try “”(meaning no effect) as an effect to transit between scene, there is some kind

of a short black flash that indicates the transition between the scenes and i don’t want that.

I would like to have that effect without the flashing black screen in between.

Do you have any suggestions? ideas?

Any help would be very appreciated.

Thank you for reading

Saiphan

Just create the background in main.lua, don’t add it to any group and the scenes will appear on top of it. 

Check out this link

http://docs.coronalabs.com/api/library/composer/stage.html

See the example at the end, it will show you how to insert objects in order i.e have the background behind the composer stage…

Hope this helps…

Thanks for the replies

nick - i tried it before and it appeared on top of everything.

cbriggsnz - that seems what i need so i will try this

thanks again

bg:toBack()

Just create the background in main.lua, don’t add it to any group and the scenes will appear on top of it. 

Check out this link

http://docs.coronalabs.com/api/library/composer/stage.html

See the example at the end, it will show you how to insert objects in order i.e have the background behind the composer stage…

Hope this helps…

Thanks for the replies

nick - i tried it before and it appeared on top of everything.

cbriggsnz - that seems what i need so i will try this

thanks again

bg:toBack()