Is there a way in lua (or with the Corona SDK) to reference the name of the file the code in question resides in?
I’d like to be able to keep track of file names programatically so that I can use a function to remove storyboard API scenes rather than having to manually set up many different files. For instance I’m hoping I can develop a system that sets a meta table with the current scene’s file name, transitions to a new scene, references the meta table and then removes the previous scene.
Please let me know if anyone has any thoughts whether this is possible!
Thanks in advance
[import]uid: 105707 topic_id: 31723 reply_id: 331723[/import]