flash - embeded movie quesiton
- Started
- Last post
- 13 Responses
- lefton
hello people. i have a flash file with embedded video and i am having a problem tell getting the video to shoot back to a scene once the video is done playing. instead, it loops. not sure why it is looping, but it is.
i have tried making an actions layer and unloading the movie, then using gotoAndPlay to move it to another scene, but all that happens is the video goes away, the audio keeps going, and it does not switch scenes.
any help is greatly appreciated!
p.s. i can't post the file because it's really large (with the video and all)
- Nirvous0
try a goto command before the last frame is reached instead of the absolute last frame of video.
- lefton0
tried some gotoAndPlay("Scene Selection", 1);
before the last frame, and it doesn't seem to have any effect :/ any other suggestions? thanks for the reply.
> j
- unformatted0
is the video in a mc?
if not try putting put it in one. are you sure there's a stop?
- lefton0
is the video in a mc?
yep, it is. but the mc has no instance name. perhaps i should give it one and then control it with that?
if not try putting put it in one. are you sure there's a stop?
sure there's a stop where?
thanks for the help!
- unformatted0
make a blank keyframe after the last frame of video. put a stop(); command there and see if that works.
- lefton0
ok i've tried giving the movie clip which it is embeded in an instance name and calling on it, but it doesn't seem to be working. i tried:
_parent.test_mc.stop;
and just plain
test_mc.stop;
booooo :/
- lefton0
ok part of the problem was that i was only testing the scene and not the whole movie (that shit always throws me, heh)
now i can stop the movie from playing with a stop(); on a blank keyframe, however if i try to gotoAndPlay a scene, it loops the video.
any ideas?
- unformatted0
how is your whole thing setup exactly?
i try and not use scenes, cuz too many problems.
- lefton0
yeah, i hate scenes, too. but i didn't create this fla. someone else did unfortunately. basically it has a scene which is a submenu and when you click a section of it it brings you to another scene.
in this scene there are a few layers (bg and whatnot) and one which is a movie clip that has video embeded in it (with all the video spread out over frames).
think that explains it. i need it to send the user back to that submenu once the video is done playing, and right now it's just looping its silly ass off.
thanks again.
- unformatted0
how about putting the movie in a diff. fla and load the movie via loadMovie, then at the end unload the movie.
- lefton0
yeah. i would love to do that. and it would probably work. but it's friday at 630 and i'm still at work. i think it's time to say f-it and get outta here.
thanks for the suggestions, hopefully i'll get it worked out. :) take care. oh and can i get your email addy unformatted in case i get this thread going again?
- unknown0
maybe the movie has a loop action on it?
bear in mind that I have no clue about working in video in flash, I just know that you can specify quicktime movies to loop.
- lefton0
thanks for the shot rasko. when you import video into flash, it can actually convert the video into frames, and that's what's happened in this case. so, it's not actually a true embed of a quicktime video. but thanks!
:)