My first script using a video component and it does not work: (. little help?)

Hello, I m using FLCS4 and AS3 and try to import the FLVPlayback component uses AS3, so this is the code:

Import fl.video.FLVPlayback;

Video: FLVPlayback var = new FLVPlayback();
Video.source = "banda.flv";
addChild (video);

the video is in the same folder as the .fla file, but it pops up an error:

1172: definition fl.video.FLVPlayback could not be found.

Try dragging a component FLVPlayback instance on the stage and then delete the scene and rerun your file

Tags: Adobe Animate

Similar Questions

Maybe you are looking for