1 Reply Latest reply on Jun 2, 2011 12:21 PM by jafproductions

    VideoEvent.COMPLETE not working for Android and iOS publishing?

    eudoxis3 Level 1

      Hello

       

      I have a project that I want to port to mobile platform on Android and iOS.

       

      The project uses a v.addEventListener(VideoEvent.COMPLETE, completePlay) handler to detect when video is finished playing and trigger the next action.

       

      The project is running perfecty when publishing for Air or Flash Player 9 and above.

       

      However when just changing the target player for publishing to Air for Android or iOS the following error occours:

       

      Access of possibly undefined property COMPLETE through a reference with static type Class.

       

      Can anyone very kindly advise why this is happening and what I am missing.

       

      Many thanks.