Variable value differ while tracing it.
Hi, I am having a really annoying problem with my mobile air project.
I have variable that value is updated every enterFrame (gyroscope roll value) and every thing is ok when I trace it like:
private function update(event:EnterFrame):void
{
trace(roll);
_onUpdate(roll);
}
but when I remove "trace(roll)" line my value seems to to contain some really random data, once it is refreshed other time it is not. Can anybody tell me what is going on ? how trace statement can do anything ?
