Access of possibly undefined property COMPLETE
Hi
I'm building a simple AIR app to test video on the iPad... (in Flash CS5.5)
I dropped a FLVPlayback component on the stage, and hooked it up to an external flv file.
I've added some code (all on the stage) to check for when the video has stopped playing:
import fl.video.*;
flvPlayback.addEventListener(VideoEvent.COMPLETE, videoFinished);
But I'm getting a compiler error:
| Scene 1, Layer 'STOPS', Frame 2, Line 2 | 1119: Access of possibly undefined property COMPLETE through a reference with static type Class. |
This all works fine if I build for Flash Player 10 & 10.1
But when I build for AIR for iOS I get this error... any thoughts?
Thank you
-rich
