-
were you able to mess with the file?
-
Give this a try in frame 1 (adjust frame 5 and 10 as well):
PHP Code:
vid2.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler99);
function mouseDownHandler99(event:MouseEvent):void {
event.target.removeEventListener(event.type, arguments.callee);
if(vid){
vid.closeVideoPlayer(0);
vid.removeEventListener(Event.COMPLETE, completeHandler);
}
gotoAndStop(5);
}
vid3.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler98);
function mouseDownHandler98(event:MouseEvent):void {
event.target.removeEventListener(event.type, arguments.callee);
if(vid){
vid.closeVideoPlayer(0);
vid.removeEventListener(Event.COMPLETE, completeHandler);
}
gotoAndStop(10);
}
-
looks like it's still trying to close the "default" video... when I click vid2 or vid3 buttons... I get this:
VideoError: 1007: Cannot delete default VideoPlayer
at fl.video::FLVPlayback/closeVideoPlayer()
at home1_fla::MainTimeline/mouseDownHandler99()
-
anymore ideas on this one by chance???
-
Well - you can comment out the 'closeVideoPlayer' lines and it will stop that error from occurring. That code should handle your earlier problems but without closing the netstream it's still going to be taxing your download pipe unnecessarily...I've gone over the flvplayback class a couple times and I don't see anything that would give you more direct control of the netstream object inside...
-
ok.. I'm at work now, but when I get home tonight I'll try getting rid of this:
vid.closeVideoPlayer(0);
and leaving the rest... if that doesn't work.. I guess I'll just make each video contain all 3 videos.... if I did that method... (the files would be bigger obviously which would suck) is it possible to get the flv player (vid) to loop?
Thanks again for all your help!
-
still goes nuts when I click fast.... dammit!!!!!!!!!!!!
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
|