hey,
remove the brackets

change
Code:
effect(rocket_smoke_behavior() ,50, my.x, normal);

to
Code:
effect(rocket_smoke_behavior, 50, my.x, normal);
also add a wait(1) to your while loop

hope this helps