Hello,
I had a project started long ago, and I was using director class. Now I have a problem. I am passing a parameter to a function named “param”. When I print(param), it writes “music1” in the console. But when I want to test it in an if state, like below:
if(param == "music1") then ..
it doesn’t enter the if statement. And this only happens, while it is working on the mobile device. It works correctly on my laptop on the simulator, os windows.
Note: While this error happens, the application on the mobile phone gives director class - error, failed to execute new(params) function on ‘screen2’. I see the console by adb.
How can I solve it?
Thanks.