Check what frame thats current

Hi

how do I check what frame that’s current, according to their names, not the number, that is:

if(_root._currentFrame!=“producers”)

is that a correct way to compare strings? or is there a function, like javas compareTo?

regards henrik

Flash can’t do that… which is rather a limitation. You will have to use the actual number of the frame.