I'm using the set command to store a variable with the name of the current scene so I can get it from within some plugins I'm developing.
I'm setting it on each scene like this:
and I'm reading this variable via AS3 on the onloadcomplete event handler function:
This works perfectly and I have it working with one plugin. The problem I've hit is when I use the same behaviour on another loaded plugin. Only one of the plugins gets the variable value. I've tried to load them individually and they work ok, but never together. It's like the variable value is lost when it's read by one plugin.
Can anyone help me out on this? Want am I doing wrong?
Thanks,