Reputation: 6240
I'm developing an actionscript3 project in FB and I've faced the following bug. Once I write a code, which runs into some error e. g. TypeError: Error #1009: Cannot access a property or method of a null object reference.
I can not delete this code! I mean, I do delete it, but the compiler says there is an error on line, which doesn't exist any more.
Is it only me? How do I fix this bug?
package
{
import flash.display.MovieClip;
public class AirHockey extends MovieClip
{
public function AirHockey():void
{
}
}
}
Compiler says there's an error on line 200, but I've deleted the whole code and there's no line 200
Upvotes: 0
Views: 102
Reputation: 2503
I've seen this a few times with 4.6. The only solution I've found was to delete the entire class file (from the disk) and create a new one. Never found out why that works, but it does.
Upvotes: 1