all groups > flash actionscript > february 2004 >
You're in the

flash actionscript

group:

Video - controlling a loaded video causes random errors


Video - controlling a loaded video causes random errors fullyarmed
2/6/2004 10:52:17 PM
flash actionscript:
Evening all,

I've created a video player which loads a separate video .swf into an empty
movieclip ("holder"). This all works fine until I attempt to control the
playback of the video with commands like holder.stop(); and holder.stop();
etc.

At this point I get strange errors - stop and restart the video and the
sound is missing, or it plays back at double speed. Also it sometimes
unloads every Flash movie in the HTML page, leaving "Movie not loaded" when
you right-click. These errors only seem to occur when I tell the video
holder to start playing again.

I've searched the forums and Google and found one person with a similar
problem, but no solutions, so any help will be very much appreciated. I'm
using Flash Player 7 in my browsers but the files are exported as version 6
from Flash MX.

Cheers,

Gareth Jones

Re: Video - controlling a loaded video causes random errors ricalien
4/17/2004 9:12:38 AM
Did you get an answer to this or figure it out. I too am trying add controls
to a movie clip (video) that I have loaded into a container. I want the
controls to live in one timeline and control another.

Is this basically what you are doing?

ricalien
Re: Video - controlling a loaded video causes random errors maryvp
4/22/2004 1:12:22 AM
This might help. You can't use it with CuePoints but it definately loads the
FLV in an outside SWF.

http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=288&thre
adid=812248

Also for the Pause and Play buttons, I used the folloeing code.

on (release) {
var m = _root.movies.bg.controls.host;
m.pause();
}

"Movies" is my empty MC and "bg.controls" are nested slides in the SWF being
loaded. "Host" is the MediaDisplay on the controls slide that I'm controling.
Re: Video - controlling a loaded video causes random errors ricalien
5/4/2004 11:47:11 PM
AddThis Social Bookmark Button