I'm also using the switch with static attributes from other class
without any problems. I guess you have a type error problem.
Check the trace of a strict equality test:
trace(currItem.getMediaType() === VideoVO.SWF_STATE);
If it returns true, then the switch should evaluate properly. If
I have a method that returns a number which I know to be of value 1
I have a static number variable in another class (SWF_STATE) which I
also know to be 1.
In an if() statement they evaluate to equal the same, however in the
following switch statement it will not evaluate?
Mail list logo