animation_file = "Desktop/Bart_Simpson_2.gif"; anim = new MovieLayer(animation_file); anim.set_fps(25); add_layer(anim); anim.activate(true);