It is possible you need to import the VideoEvent class explicitly.
I tried importing explicity fl.video.VideoEvent ......no way!
...i use cs5.5 MACOSX ....
in cs5 it work!! always
I just discovered this same problem in CS5.5. Could there be something corrupted in the AS properties? Below is the error message I am receiving to the COMPLETE event.
Scene 1, Layer 'Layer 2', Frame 1, Line 8 1119: Access of possibly undefined property COMPLETE through a reference with static type Class.
Here is my code I have used forever...
Anyone come across this? Is there a solution?
Message was edited by: socalfish
this is an old thread but if anyone else checks it looking for a solution:
publish for fp 10 or 10.1, not 10.2
I had trouble with this and then relaied that you have to be implicit with the Event. EG.:
player.autoRewind = true;
player.autoPlay = true;
You see I have added fl.video before VideoEvent and this fixed the problem. I hope this helps.
hi Nafem, wanted to thank u for this AUTO_REWOUND bit of code, it worked for me w/an FLVPlayback component when all else failed. It does NOT work w/streamed video however, and i am wondering if u know how to loop video (flv) when it is streamed, but more importantly in my case, it is NOT possible to add cue points to streamed video, and am wondering if you or anyone else here is aware of how to do that.
I will post a thread on this specifically, but am thinking that the issue but have done so here to ask:
is AS for streaming and FLVPlayback component radically different? Is it impossible to impliment action script that works w/FLVPlayback when a netConnection and netStream is used?
I don't know the answer off the top of my head, I will have to do some investigation and come back to you.
Here Ive got a code that didnt present the error!!!!
Myvideo.autoPlay = true;
Myvideo.source = "rollovers1.flv";