checking parameter with a text in director class

Okay, I am testing it now. But as I said before, it’s working fine in Corona simulator.

I will write the results in ten minutes.

When I change the line as you say, in the simulator, it wrote false.

Same in the device console. What’s the cause?

Yes it’s not the comapre that’s changed look at the string where a added aphostrophes on each side to see if there are any spaces or other characters in it that would caue it to be different. Look at the ‘music1’ in the device log and see if there’s something there that shouldn’t be.

There is six characters only, nothing more.

Well something is that string thatz is causing it to not be same on device. Mybae a dot from the file name that simluator ignores or a backslash that would be interprated differentli on simulator and device. If you look at the screen shot of your console you will see that there is some weirfness there as false should be printed after the string but it’s printing in front over existing text. Maybe you have carriage return simbol in front that the simulator ignores because it’s not followed by a new line and the device just moves the output position. Something has to be in that string that is causing this.