flipping string's as3 iOS app
im using actionscript 3 to program my app, which includes hebrew characters. The user enters these characters in an input box which then displays the characters on screen - however by default they are displayed backwords. I use a simple function that flips the string. This all works well once i debug the app on my pc, but once i publish the app and use it on my iphone, the textbox never displays the flipped string.
I narrowed it down and used the app in different version - it works fine without the reversing of the string, but once I enter the code that reverses the string (it can be english/hebrew chars) it doesnt work correctly.
The reversing code is this : (user enters string in the textbox inputtxt)
newstring = inputtxt.text.split("").reverse().join("");
^
for some reason this line of code does not work in the app itself, but while debugging and testing it on the pc it does work.