Copy link to clipboard
Copied
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)
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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...
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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....)
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
tjhats what I did... And it works untill I put a stop command on the 1st frame...
Copy link to clipboard
Copied
attach a screenshot that shows what you're doing.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now