getScene() doesn't work

Hello there,

I’m trying to change a label-text from another scene BEFORE the scene appears, because when I’m changing the text in the new scenes function scene:enterScene( event ) you can see a delay.

now I tried the getScene method but when I’m doing this:

local other\_scene = storyboard.getScene( "seo1" )  
other\_scene.text1.text = ""  

the terminal says that it’s a nil value.

attempt to index local ‘other_scene’ (a nil value)

I also failed when calling a function of this scene.

I’m using the newest public build.

any help appreciated. [import]uid: 140000 topic_id: 30789 reply_id: 330789[/import]

despite the fact that this is not working for me I realized that there are several ways to solve my problem. and I’ve just found this wonderful new willEnterScene event routine.

sorry for the spam.
[import]uid: 140000 topic_id: 30789 reply_id: 123252[/import]

despite the fact that this is not working for me I realized that there are several ways to solve my problem. and I’ve just found this wonderful new willEnterScene event routine.

sorry for the spam.
[import]uid: 140000 topic_id: 30789 reply_id: 123252[/import]

Anything new here? Many month have passed by. It still doesn´t work.

I have been using getScene quite a lot over the last few months with various daily builds without problem in my app.

One gotcha is that if the scene has been dropped from memory (or not put in memory in the first place) getScene will not return anything, perhaps that is the problem?

Anything new here? Many month have passed by. It still doesn´t work.

I have been using getScene quite a lot over the last few months with various daily builds without problem in my app.

One gotcha is that if the scene has been dropped from memory (or not put in memory in the first place) getScene will not return anything, perhaps that is the problem?