public var doflip:Boolean;
doflip = Math.floor(Math.random()*2);
can have 0 or 1 as outcome, always worked fine in AS2.0, now in 3.0 it gives
Warning: 3590: Number used where a Boolean value was expected. The expression will be type coerced to Boolean.
Nevertheless, seems as flash resolves it himself since it works… but error is annoying. Anybody any non-error solution?
P