Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Movie still looping after using stop();

New Here ,
Sep 16, 2013 Sep 16, 2013

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)

TOPICS
ActionScript
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 16, 2013 Sep 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 16, 2013 Sep 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...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 16, 2013 Sep 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 16, 2013 Sep 16, 2013

sry I think I dont understand... you want me to put the video in one layer and the movie colip in a different layer above?

I usedd the 2nd option uppon import ( embed FLV ind SWF....)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 16, 2013 Sep 16, 2013

your video is already in one layer of a movieclip timeline if you imported the video using the 2nd option.

add another layer and add a stop() at the last frame of that timeline.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 16, 2013 Sep 16, 2013

tjhats what I did... And it works untill I put a stop command on the 1st frame...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 18, 2013 Sep 18, 2013
LATEST

attach a screenshot that shows what you're doing.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines