Skip to main content
Participant
September 16, 2013
Question

Movie still looping after using stop();

  • September 16, 2013
  • 1 reply
  • 1081 views

Hi im a noob...

what I want: make a movie start by a button press and then stop it at the last frame

1stFrame

introV.stop();

introB.addEventListener(MouseEvent.CLICK,playin);
function playin(e:MouseEvent):void
{
    introB.visible = false;
    introV.play();
}

141st frame

stop();

I tryed stop(); on the last frame on the 1st I tyryed this.stop(); I used every posible combination I even used both introV.stop() and stop() nothing works I got a headache from it already trying to figure it out for 2 days bought V2B intro to flash cs6 but didnt help me at all please help me

the button press at the start works but then it loops (not even showing the button)

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
September 16, 2013

if introV.stop() works on the first frame, use it on the last.

if that doesn't work explain what timeline (or video) you are trying to stop.

RafyKobyAuthor
Participant
September 16, 2013

It dosnt work... I use a simple FLV converted into a movie clip

the stragen thing is it dosnt loop if I remove the stop commands from the 1st frame...

kglad
Community Expert
Community Expert
September 16, 2013

are you using an flvplayback component to play your video?

if yes, what's the instance name of that component?

if no, attach on the timeline of the movieclip that contains the video in a layer above the layer containing the video.