Can’t import fl.video.VideoPlayer?
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.
http://www.actionscript.org/forums/showthread.php3?t=153762
May 30, 2008 | Filed Under Flash
Comments
One Response to “Can’t import fl.video.VideoPlayer?”
Leave a Reply

Helped me !
thanks