I have also encountered this problem when importing behaviours from stencylforce to the newest build of stencyl. 4.0.2
Just try to edit/open each behaviour before attaching in to an actor, save, and then attach the behaviour to actor.
Another problem that I encountered was that when I have opened a behaviour it actually showed nothing inside, no blocks of code, nothing, I believe this is a bug of the newest stencyl build, when it comes to use old behaviours from stencylforge.
in order to solve this you should use an older version of stencyl to check and see the code inside behaviours export it and import it to stencyl 4.0.2