|
-
Product Designer
Where are the Events????
I am trying to build a little Object-Oriented video player (for files, not server).
I have set up:
- a NetConnection object with .connect(null);
- a NetStream object within the connection, and called .play(url);
- a Video object, to display the stream;
I have put handlers to handle:
- NetConnection NetStatus events;
- NetStream NetStatus events;
- NetStream onMetaData events (through a custom class as client);
- NetStream onPlayStatus event (through a custom class as client);
Well, playing around with commands, I figured that VERY FEW events actually get dispatched.
Basically, when calling .pause() or .close(), on the stream, no event is fired.
When the file reaches the end, I see the following events being fired, and the movie plays over again:
NetStream.Buffer.Empty;
NetStream.Buffer.Flush;
NetStream.Play.Stop;
NetStream.Seek.Notify;
NetStream.Buffer.Empty;
NetStream.Buffer.Full;
What the hell is going on????
Why don't I see ANY pause/play event?
Why don't I see ANY complete event?
Why!!??????
Altruism does not exist. Sustainability must be made profitable.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|