Tween not working

77 Views Asked by At

i want to move an element on stage using the Tween class, so i did as usual:

import fl.transitions.*
import fl.transitions.easing.*
import flash.events.Event;
import flash.system.System;

new Tween(q1, 'x', Elastic.easeOut, q1.x, 600.5, 2, true);

it worked fine everytime i used it, but now i get these Error messages: enter image description here

any ideas what might caused this problem?

1

There are 1 best solutions below

1
Organis On

Classes of fl package are not built-in, they are an extension available in Flash IDE (CS3 and up) only. You are most probably using some other IDE or environment where fl classes are unavailable.