[Resolved] Hiding an Overlay

I have a storyboard scene, which shows an overlay that covers the bottom 3rd of the screen. I then have a button on the overlay that dismisses it and all is happy… so I thought.

My client wants me to be able to hide it from a control in the storyboard scene that showed the overlay in the first place. From my understanding storyboard.hideOverlay() is called from the overlay to dismiss it. I don’t know how to reference the overlay from the calling scene.

I don’t really need to dismiss it, I just need to transition it off the screen temporarily.

Any ideas?

Thanks
Rob
[import]uid: 19626 topic_id: 31938 reply_id: 331938[/import]

I am maybe wrong here and misunderstood you,

I just tried to unload my overlay from my mainscene and it seems to work. So you dont have to call storyboard.hideOverlay() from the overlay scene as I see it.

Joakim

[import]uid: 81188 topic_id: 31938 reply_id: 127376[/import]

I am maybe wrong here and misunderstood you,

I just tried to unload my overlay from my mainscene and it seems to work. So you dont have to call storyboard.hideOverlay() from the overlay scene as I see it.

Joakim

[import]uid: 81188 topic_id: 31938 reply_id: 127376[/import]

How did it go? [import]uid: 81188 topic_id: 31938 reply_id: 127932[/import]

Well someone pointed out that you can call hideOverlay() from any scene (this is why we can only have one overlay). The scene that shows it can now hide it as much as it wants. I’m setting a flag to determine if what I’m doing is finished and can trigger the end of scene functionality.

[import]uid: 19626 topic_id: 31938 reply_id: 127934[/import]

How did it go? [import]uid: 81188 topic_id: 31938 reply_id: 127932[/import]

Well someone pointed out that you can call hideOverlay() from any scene (this is why we can only have one overlay). The scene that shows it can now hide it as much as it wants. I’m setting a flag to determine if what I’m doing is finished and can trigger the end of scene functionality.

[import]uid: 19626 topic_id: 31938 reply_id: 127934[/import]