VideoEvent does not work in Flash Player 10.2

VideoEvent does not work in flash player 10.2

import fl.video.VideoEvent addEventListener(VideoEvent.READY, ready); Compiler Error: ( For Flash Player 10.2, works fine in Flash Player 9) 1119: Access of possibly undefined property READY through a reference with static type Class. 

Any suggestions for resolving this issue?

+6
source share
1 answer

(Since this was decided some time ago, I am posting the answer here as a public courtesy to get it from the unanswered list. Asker can post his own answer and accept it, or just accept it ..)

The compiler seems to be confused in fl.video.VideoEvent. Use the full link instead.

addEventListener(fl.video.VideoEvent.READY, ready);

+4
source

Source: https://habr.com/ru/post/918834/


All Articles