Just now I ran into a problem when trying to use to VideoPlayer class for the first time. Dang.
Problem:
When doing this:
import fl.video.*;I get this:
1172: Definition fl.video:VideoPlayer could not be found.
Solution:
I dragged an “FLVPlayback” component onto my stage, and then deleted it. I guess that forced flash to load in the needed classes. I’m not sure if this is a bug of if I’m missing something. I found my answer at the Actionscript.org forums, where it looks like a few other people may have had the same problem. I think there’s some people there that have posted speculations on why this might happen. If you care to read, the link is below.

Helped me !
thanks
Comment by quakeboy — September 24, 2008 @ 8:48 am
u saved my time
Comment by abhinav — January 16, 2011 @ 9:39 am