I’d like to have this work
o? return o.stage : return false//1084: Syntax error: expecting identifier before return.
but it give me an error. Is this just not achievable? at the moment I have resorted to doing this:
if(!o)return false;
else return o.stage;
or this …
var b:Boolean;
o ? b = o.stage: b = false;
return b;
which both work fine…
Thanks for your consideration,
S.