Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








[F5] Play A Movie-Clip


Hi,

please forgive me that stupid question, but i don't know how to handle it (in Tutorials i found something, but i didn't work).

I have a Flash-Movie with several Instances and one scene.

Furthermore i have a movieclip which is called "Heroes".

This Movieclip contains an Graphic Object and on the single Instance 60 Frames. In the first frame is Alpha=0, on Frame 30 the Bitmap is Alpha=100% so this is to fade the image in.
On Frame 30 is Action "Stop", because from 31-60 the image will fade away again.

In the Main-Movie on the last Frame, i inserted the Movieclip so the Image is fading in and stays visible. The Stage is complete.

Now i want the Heroes to fade away, when a Menu-Button is pressed.

So i wrote in the Action-Field from the Button

on (release) {
Heroes.gotoAndPlay(31);
}

In the hope, the Movieclip plays from 31 to 60, but nothing happens.

What am i'm doing wrong ?

Thanks in advance for your time.

Yours
Marco




FlashKit > Flash Help > Flash Newbies
Posted on: 03-03-2007, 07:45 AM


View Complete Forum Thread with Replies

Sponsored Links:

Play Movie Clips To Fade Off THEN Play New Movie Clip
Hey guys, I've been doing a little searching and I can't find the answer to my dilemma.

I've made up some buttons that play a little movie clip animation when pressed. The scenario is like this: Push the "Illustration" button and little files pop onto the screen. Each file will be a button that opens up an image. Push the "Pictures" button and the "Illustration files" should fade off the screen so the "Pictures files" could pop in in it's place.

I can't find a way to make the "Pictures" movie WAIT for the "Illustration" movie to be done before it pop in. One goes in, and the other simultaneously goes out and I don't want that.

Is there any way?

View Replies !    View Related
When I Click On A Movie Clip I Need The Movie Clip To Goto And Play Frame 2
i have created a movieclip and draged it on to the stage i tryed used on mouse down then tell target goto and play but that ment when ever the mouse clicked any where, how do i tell in to only play when i click on the movieclip ?

View Replies !    View Related
HOW TO PLAY A MOVIE CLIP IN REVERSE AND PLAY ANOTHER SIMULTANEOUSLY
I need to find out how to play a movie clip in reverse. As well how to play another movie clip, forward, at the same time... any help?

christianpalino@hotmail.com

Thanks,
Christian

View Replies !    View Related
I Need A Movie Clip To Play, Stop And Play Again In The Next Frame
I need a movie clip to play, stop and play again in the next frame. So pretty much i have to get the movie clip to play once and stop then when you go to the next frame it should play again once and stop again. What i have is a slide show type thing where you click on the next button to advance to the next frame and in each frame i have all the animations in their own movie clips.

-Thanks

View Replies !    View Related
[CS3.AS2] Button In A Movie Clip Link To Another Movie Clip And Play
what im doing is that making a button in a movie clip link to another movie and play/stop certain parts of that clip

lets say that there are 4 buttons are in movieA, and the other clip is called movieB

when the user clicks button1 in movieA, movieB will play from frame 1 to 5 and stop.
when user clicks button2 in movieA, movieB will play from frame 5 to 10.
and so on

so far my code for button1 is:

on (release){
this._parent.movieB.gotoAndStop(5);
}

on (release){
_root.movieB.gotoAndStop(5);
}

button2:

on (release){
this._parent.movieB.gotoAndStop(10);
}

on (release){
_root.movieB.gotoAndStop(10);
}

with this code, it just jumps to the designated frame.
what i want is to have it play from current frame to a designated frame

can anyone shed some light on this?

View Replies !    View Related
Stop And Play Button For Movie Clip Within Moive Clip
hi i have problems with my buttons. i have got 2 fla files. 1) shell.fla 2) content.fla.

The shell.fla has a movie clip(name:holder) to load the content.swf. And within the content.swf i have got movie clip within movie clip.

Thru a search from the forum i came across this script

first frame:


Quote:




function stopAllClips(clip) {
clip.stop();
for (var i in clip) {
if(typeof clip[i]=="movieclip") {
if(clip[i]!=clip) {
stopAllClips(clip[i]);
}
}
}
};

function startAllClips(clip) {
clip.play();
for (var i in clip) {
if(typeof clip[i]=="movieclip") {
if(clip[i]!=clip) {
startAllClips(clip[i]);
}
}
}
};




for the button:


Quote:




on (release) {
if(!_root.stopped){
_root.stopAllClips(_root.holder_mc);
_root.stopped = true;
} else {
_root.startAllClips(_root.holder_mc);
_root.stopped = false;
}
}




everything works fine except after i pause and play, i doesn't play from where it has stopped. Anyone has got any ideas as to how i can solve this problem. Thanks very much.

View Replies !    View Related
Making More Than One Movie Clip Play From Another Clip
Hello,
It's been a while since my last post and I am afraid I am just as oblivious as I was before. Here is my dilema: on the main stage I have movieclip a,b,c,d I click on "a" to make the movie play. Now I want to click "b" to make that movie play but I would like a to go back to it's original position by finishing it's timeline which sends it back to the original position. Then I would like to be able to click on "c" and it would send "b" back to it's original position not in this order but randomly depending on which movieclip you select. How can I make this happen? Thanks for any help.

Anthony

View Replies !    View Related
How Do I Play A Part Of A Movie Clip From Another Movie Clip?
Hello
On the main timeline (_root), I have a movie clip with a button inside it. I want that button to link to and play from a particular frame in another movie clip which is located on a different frame in the main timeline (_root). How do I do that?

peace,
cc

View Replies !    View Related
[F8] Play Movie Clip Inside Another Movie Clip
Hi,

I have a movie clip inside another mc and I want to make the mc inside to play once the user rolls the mouse over it. The problem is that when user rolls mouse over, they can't reach the inside mc because they just roll over outer mc.

Is there any way to do this?
(tried:

Code:
outer_mc.inner_mc.onRollOver = function(){
outer_mc.inner_mc.play();
}
but did not work)

Any help will be very much appreciated.
E

View Replies !    View Related
TellTarget To Play A Movie Clip Within A Movie Clip
I currently have two movie clips in my scene with a button that lies inside one of the movie clips. We will call this movie clip for the sake of this post "ph." The button inside of ph has a rollOver/rollOut movie clip called "Buick_rollOut" attached to it as a parked movie clip through tellTarget. Currently Buick_rollOut only works if I put the parked movie clip on the same level as ph. I want Buick_rollOut to be within the movie clip, ph, that contains the button. I want that button be able to tellTarget the location of Buick_rollOut within ph. I hope this makes sense. Here is my code for the button that lies within ph. (this code only works when Buick_rollOut is located outside of ph on the same level).








Attach Code

on (rollOver) {
tellTarget ("/Buick_rollOut") {
gotoAndPlay ("rollOver");
}
}
on (rollOut) {
tellTarget ("/Buick_rollOut") {
gotoAndPlay ("rollOut");
}
}

View Replies !    View Related
TellTarget To Play A Movie Clip Within A Movie Clip
I currently have two movie clips in my scene with a button that lies inside one of the movie clips. We will call this movie clip for the sake of this post "ph." The button inside of ph has a rollOver/rollOut movie clip called "Buick_rollOut" attached to it as a parked movie clip through tellTarget. Currently Buick_rollOut only works if I put the parked movie clip on the same level as ph. I want Buick_rollOut to be within the movie clip, ph, that contains the button. I want that button be able to tellTarget the location of Buick_rollOut within ph. I hope this makes sense. Here is my code for the button that lies within ph. (this code only works when Buick_rollOut is located outside of ph on the same level).

on (rollOver) {
tellTarget ("/Buick_rollOut") {
gotoAndPlay ("rollOver");
}
}
on (rollOut) {
tellTarget ("/Buick_rollOut") {
gotoAndPlay ("rollOut");
}
}

View Replies !    View Related
Movie Clip Play And Then Repeat Frames 15-20 Until Entire Movie Ends
please let me know how to have a movie clip (flash 5) play through once and then repeat frames 15-20 until the movie clip is removed thank you for your answers

View Replies !    View Related
Control The Play On The Main Timeline From Within A Loaded Movie (not A Movie Clip)?
Question... I have a movie (main movie) that loads another movie (movie 2) automatically. Movie 2 contains a button that loads yet another movie (movie3). Now I’m having trouble with this next part... When movie3 loads I want "main movie" to stop where it’s at in the timeline and stop all other loaded movies until the user clicks another button where upon movie 3 will go away and "main movie" will resume. Movie 2 is like the paper clip guy in Word and movie 3 is my help movie. Therefore, it can be accessed at any point during the main movie and I don’t want to use a goTo command to jump to a frame label or scene. Does anyone have any idea how to control the play on the main timeline from within a loaded movie (not a movie clip)?

View Replies !    View Related
How To Get A Button Inside Of A Movie Clip Play The MAIN Movie
how to get a button inside of a movie clip play the MAIN movie

( reposted, bad grammer in 1st one)


I got a button, inside of a movie clip.....
How do I get the button to have the MAIN movie play on click, not the MOVIE clip

View Replies !    View Related
Instructing An External Movie Clip To Play From The Main Movie
Anyone tell me the easiest way to sort this one?

I have a movie clip that consists of 2 keyframes.

It is loaded onto level1 above my main movie and the first frame is blank (so that it does not come into play until instructed).

The second keyframe is the main part of the loaded movie and this needs to play after receiving instruction from the main movie.

My problem is 'How do I instruct this to happen??'
I have no knowledge of action script so if anyone could advise or tell me if there is an easier way to do this I would be eternally greatful........................................

View Replies !    View Related
Continuous Play Of Several Movie Clips From One Main Movie Clip
hi,

i'm trying to play several movie clips, one after the other from one main movie clip.

i've got 8 movie clips, "m1.swf", "m2.swf", etc. "m8.swf", and one main movie clip, "play.swf".

i've tried using loadMovie, but it only plays the last movie clip. this is what i've got.

in the main movie clip, i've put a play button, and the actionscript i have in the button is:

on(release)
{
this.loadMovie("m1.swf",play);
//this.unloadMovie("m1.swf");
this.loadMovie("m2.swf",play);
//this.unloadMovie("m2.swf");
this.loadMovie("m3.swf",play);
//this.unloadMovie("m3.swf");
this.loadMovie("m4.swf",play);
//this.unloadMovie("m4.swf");
this.loadMovie("m5.swf",play);
//this.unloadMovie("m5.swf");
this.loadMovie("m6.swf",play);
//this.unloadMovie("m6.swf");
this.loadMovie("m7.swf",play);
//this.unloadMovie("m7.swf");
this.loadMovie("m8.swf",play);
//this.unloadMovie("m8.swf");
}


is this wrong? how can i get this to work correctly. really important that i get this working for my job.

any help will be greatly appreciated.

cheers

View Replies !    View Related
Make A Button Within A Movie Clip Make The Main Movie Clip Play?
hi, is it possible to make a button within a movie clip make the main movie clip play?

at the moment i have it set to play(); on release put this plays the movie clip rather than the main movie, is there any way to make it play the acutal main movie insteat?

View Replies !    View Related
How Do You Attach And Play A Movie Clip To A Movie Object?
I have a movie clip in my library, and i want to use action script to play the clip on my scene1 stage. I know i can simply drag the clip on the stage, but solving this will make most of my other problems dissappear.

I tried in the first frame of my scene:
---------------------------------------
mymovie = new MovieClip();
mymovie.attchMovie(clip,clip,20);
mymovie.play();
---------------------------------------
but it did not work...help! :-)

any suggestions?
zavyzavy

View Replies !    View Related
Loading Movie Into Empty Clip, But Movie Won't Play
I have 4 movies that i am trying to load into an empty clip in an existing movie. my problem is that when each of these movies are loaded into the clip, I can physically see it, but it doesn't function as a movie, the rest of the larger movie is moving around it, but the smaller movies won't move. I thought this was because I put a stop action at the end of the smaller movies, but when I take it out, the movie just keeps looping when loaded into the empty clip in the new movie.

does that make sense.
PLEASE HELP ME.
HOW DO I SEE MY MOVIES

View Replies !    View Related
Play A Movie Clip
I am new at flash. I just want to know how to play a movie clip. I made a symbol that is a movie clip called city. I insterted the symbol on frame 35 in a layer called animation. How to I get the movie clip to play when it reaches frame 35. I tried right adding the action play() to frame 35, in the animation layer, and added play to the first frame of the symbol. Please Help. Thank You

View Replies !    View Related
Movie Clip Won't Play
on (rollOver) {
_root.rollGear1.gotoAndPlay(1);
}

This movie clip has a stop action on the first frame, it loads on rollover but does not play. If I remove the stop action it plays before rollover. How do I make the clip play on rollover?

Flash Ver 5

View Replies !    View Related
Play One Movie Clip After Another
I've made 3 movie clips and want one to begin playing when one finishes. Should it be done w/actions? What actions? I've used actions so that they do not loop, but don't know how to make one kick in when the previous one finishes.

View Replies !    View Related
My Movie Clip Won't Play
Hi,
I'm quite new to flash, and I'm using flash 5. I've made this clip, turned it into a symbol (behaviour movie-clip). Looks nice and moving in the library window. When I put an instance on the stage it never moves. I used the play action script. I must have missed something, but after going through the help files a couple of times i hope someone here can point the mistake out to me.

H.

View Replies !    View Related
Play A Movie Clip?
How can I play a movie clip from the library, using a button?

I saw a code that uses
_root.mypage = 1
_root.play();

I've tried to replace mypage by the IDname of my MC, but nothing!

Thanks
Chris

View Replies !    View Related
Cant Get Movie Clip To Play
i got a movie clip progress bar to start playing once i click the yes button(which is on another page, but for some reason the progress bar will play.

I can not get it to work.

I have included the fla file.Can someone provide insight to what i am doing wrong?

Any suggestions are always welcomed.

View Replies !    View Related
Play A Movie Clip
I've got a movie clip in a movie clip, how can I control the first one with javascript? I want it to play its animation or to stop it at certain frames. How do I do that? Thanks in advance

View Replies !    View Related
Movie Clip Won't Play....
Hello...

I have a movie (main_interface) that loads another movie (text_search) into a movie clip called switch_window.

In switch_window i have another movie clip called governate, and within governate there is a movie clip called governateView.

In governate, I have placed a radio group by the name of governateSelect. what im trying to achieve is that once someone chooses an option from the radio group governateSelect (out of 5), governateView jumps to a labeled frame and plays.

I got almost all of that working. This is the code written into a stop frame in the governate movie clip:


PHP Code:




stop();

// The display function
function governateSelect (component) {
    _global.gov = component.getValue() ;
    //trace ( _global.gov );
}

// We assign this function to the group governateSelect
GovernateGroup.setChangeHandler ("governateSelect") ;







That just checks if the user selected an option, and puts the option label into a global variable (it will be used more and more throughout the length of the movie).

This is the code I have placed on the governateView movie clip, the one i want to jump:


PHP Code:




onClipEvent (enterFrame) {
    // Set GovernateView
    if (_global.gov == "capital") {
        tellTarget (this) {
            gotoAndPlay("capital");
        }
    } else if (_global.gov == "central") {
        tellTarget (this) {
            gotoAndPlay("central");
        }
    } else if (_global.gov == "muharraq") {
        tellTarget (this) {
            gotoAndPlay("muharraq");
        }
    } else if (_global.gov == "northern") {
        tellTarget (this) {
            gotoAndPlay("northern");
        }
    } else if (_global.gov == "southern") {
        tellTarget (this) {
            gotoAndPlay("southern");
        }
    }
}







What this does is keeps checking for the existence of the global variable "gov", and then acts according to the user selection by sending the movie clip to a specified frame label. I had to use 'this' to point to itself because referencing a movie clip in a loaded movie placed in a movie clip is near impossible (tried it for 3 days straight).

Now, technically it should all work. and it does sort of. the movie clip governateView jumps to the right frame, but then it stops. doesn't play at all, despite the fact that the actionscript says goToAndPlay. i even set the frames in the movie clip with play(); commands and it still don't play. Any suggestions?

thanks in advance for your help.

View Replies !    View Related
How Do U Get A Movie Clip To Play Once?
i have inputed a .swf file in my flash project as a movie clip. I cant stop it from looping in playback. I have tried put in action script stop(20) and go to an stop (20) put nothing has stop it. this is prolly simple but i cant figure it out. if anyone can help i would appericate it

Cheers
____ ____
|edd |ucker

View Replies !    View Related
Movie Clip Won't Play.
(Using Flash 5 for this one)

Okay.

What I've done is put frame-by-frame animation within a movie clip symbol. My question is, how do I get Flash to play the frame-by-frame animation within the symbol? I want to be able to do this so I can have a "zooming out" effect on the frame-by-frames instead of re-sizing each frame to have the zooming effect.

- I know how to have a zooming out effect. But the background is the thing zooming out. I want the frame-by-frame animation to zoom out with the background instead of editing each frame individually.

Any help is appreciated, thanks guys .

View Replies !    View Related
Getting A Movie Clip To Play
question so simple but anyway..

I have a simple game, when a collision between a car and hose occours i want a movie clip (only two fromaes long) to go from frame 1 to frame 2


_root.house1.onEnterFrame = function ()

{
if (this.hitTest(_root.collision)) {

}

};

I guess the code would be something like house1_mc.nextFrame

could any1 help?

Thanks

View Replies !    View Related
My Movie Clip Don't Play
Hi

This is very strange. I made a motion animation inside a movie clip and at the start everything was running fine. I went on doing my work and after a while that movie clip started not playing the motion inside him.

So I went inside the movie clip and made a "Test Movie" to see what was wrong with the animation. For my surprise the animation worked, I published my work again and the problem was fixed.

But after some Previews this happened again, not only with this one but with all of MC

I don't know what is happening with my movieclips, they after a while began to stop playing the animation inside them.

I'm using Flash CS3 and making a project in Action Script 2.0

Can someone explain what's happening?

My best regards,

Yue

View Replies !    View Related
Play A Movie Clip
How do i get a movie clip to play when i click a button?
i tried typing (not on a new layer)
onRealease.gotoAndPlay ("the name of the movie clip")

View Replies !    View Related
Movie Clip Won't Play.
I've got a movie clip that, for the life of me, won't play. No idea why, it just won't. Basically, I use it to control the entire SWF file, what clips play when... And so on.

What happens is it plays through the first time and at the end it reaches a replay button. On that frame there is this script:


ActionScript Code:
stop();
_root.slidesMC.gotoAndStop("startFrame");
_root.textEnd.gotoAndPlay("inFrame");
_root.controlsMC.gotoAndPlay("replayFrame");
_root.controlsMC.replayButton.onRelease = function() {
    _root.textEnd.gotoAndPlay("startFrame");
    gotoAndPlay("startFrame");
};

The first three frames are to initiate clips to go to certain frames, which they do without a problem. Then after clicking the replay button that function is called. The first line just puts the current active movie clip back to it's beginning and then it puts the timeline controller movie clip back to it's beginning so it can play through again.

It doesn't play.

It gets to the first frame and stops. The first frame has this script:


ActionScript Code:
_root.titleMC._visible = false;
_root.continueButton._visible = false;
_root.continueButton.enabled = false;
_root.controlsMC.gotoAndPlay("controlsFrame");
_root.controlsMC.prevButton._visible = false;
_root.controlsMC.prevButton.enabled = false;
nextFrame();
The script works the first time around, and does the second time, but it won't move, until I added the "nextFrame();" command. Then it will go to the next frame which has this script on it:


ActionScript Code:
_root.homeSlideMC.gotoAndPlay("inFrame");
_root.skipControls.gotoAndPlay("homeSlideScript");
_root.continueButton._visible = false;
_root.continueButton.enabled = false;
play();
Again with more clip commands, none of which have any ability to stop this movie clip. It's as if it ignores the play command!

I don't know what's wrong and why it won't do it, I'm hoping someone else will.

View Replies !    View Related
Movie Clip Won't Play
I am new to flash and am having a hard time getting what seems like a simple problem to work. I am trying to have a movie clip which is located on the same frame but a different layer as a button, which is nested in a movie clip, play when a user clicks on the button.

Here is the code for the button:

on(release) {
_parent.game_over_mc.gotoAndPlay("game_over")


trace("no thanks button was pressed");
}

the trace works, but the screen does not change to the game over screen. Any help will be much appreciated.

View Replies !    View Related
How To Play More Than One Movie Clip Together
I building a game that is basicaly a character looking for something and at the same time he needs to run away from an enemy. But i don't know how to play de movie clips of the enemys together with the main character.

Any ideas??
Thank you!!

View Replies !    View Related
Can' Get Movie Clip To Play
I have a Flash movie that plays a movie clip called DR1 at frame 113 using this code:

DR1.play();

There is nothing else going on in the movie for the length of the clip, but when I play the movie, the clip does not play - I just have a blank screen for those frames.

Also, if I try dragging an instance of the movie onto the timeline at that point, the same thing happens - blank screen for the amount of frames that the clip is present.

If I play the clip in the library it plays correctly.

What am I doing wrong?

Thanks,
Beth

View Replies !    View Related
Play Movie Clip
Hi 'yall,

Just learning so please excuse the silly question

I need to have a movie clip play in a particular area when a navigation button instance is clicked.
The button and movie clip frame are on the main timeline and the movie clip is in the library but how do i get it to play when button clicked?
I don't want the movie on the main timeline before the button is clicked.

simple fla example attached, or go to:

http://www.mpg.net.nz/FlashQuestion.htm

View Replies !    View Related
Play Certain Bit In A Movie Clip
Hi, i have a movie clip with several different animated parts in the movie clips timeline. I've given them all frame labels. I want to tell a different movie clip (on the main timeline) to play a certain part within the other movie clip(also on the main timeline) when someone has clicked it.

I've done a hit test, but im not sure how to tell the movie clip to pay the specific point. What i have down is

_root.movieclipname.play(framelabel);

Which isnt working :S So whats wrong with that line oO.

View Replies !    View Related
Cant Play Movie Clip In .....
click the home button section.. and see the hit part where i inserted a movie clip.. cant work

http://www.ukdragon.com/b3ta/portfolio.fla

pls dun copy ok?

View Replies !    View Related
Hmm..can't Get Movie Clip To Play
Hey guys,

I'm building a quiz and have almost all of it figured out except for this:

function checkAnswer(ans:String) {
clipHolder.attachMovie("result_mc","clip",0);
clipHolder.clip.title_txt.text = "Question #"+n_curr+":";
clipHolder.clip.correct_txt.htmlText = a_xml[n_q].answer;
clipHolder.clip.pigscore.text = n_right;
if (correct == ans) {
clipHolder.clip.words.gotoAndStop(2);
clipHolder.clip.piggybank.gotoAndPlay("coindrop");
n_right++;
} else {
clipHolder.clip.words.gotoAndStop(1);
}
n_q++;
n_curr++;
completedText();
}

I bought the quiz from FlashDen and have been able to modify it pretty well except for the part in bold. I've added a movie clip that's suppose to play if the answer is right. I have a stop(); on the movie clip's first frame. I added a label to it's second frame called "coindrop". Any ideas why the clip won't play?

Thanks!

View Replies !    View Related
Play Movie Clip
Hi 'yall,

Just learning so please excuse the silly question

I need to have a movie clip play in a particular area when a navigation button instance is clicked.
The button and movie clip frame are on the main timeline and the movie clip is in the library but how do i get it to play when button clicked?
I don't want the movie on the main timeline before the button is clicked.

simple fla example attached, or go to:

http://www.mpg.net.nz/FlashQuestion.htm

View Replies !    View Related
Play Certain Bit In A Movie Clip
Hi, i have a movie clip with several different animated parts in the movie clips timeline. I've given them all frame labels. I want to tell a different movie clip (on the main timeline) to play a certain part within the other movie clip(also on the main timeline) when someone has clicked it.

I've done a hit test, but im not sure how to tell the movie clip to pay the specific point. What i have down is

_root.movieclipname.play(framelabel);

Which isnt working :S So whats wrong with that line oO.

View Replies !    View Related
Play Movie Clip One
Alright - so I'm a complete Flash noobie...and I'm sure this question is ridiculously simple for most folks, but I just can't seem to get anything to work quite right.

I have a movieclip symbol with a motion tween in it. I have actionscript stop the movieclip because I only want the clip to play once it is clicked by the user.

But I only want the movie clip to play once.

What am I missing...this seems like it should be dead simple.

Here is what I have for my actionscript

Code:
ball_mc.stop();

ball_mc.addEventListener(MouseEvent.CLICK,ballClicked);

function ballClicked(event:MouseEvent):void
{

ball_mc.gotoAndPlay(1);
}
Thanks in advance.

View Replies !    View Related
Play A Movie Clip At 35%
In my preloader I want to have a seperate movie clip play at 35% of total load. Im new at scripting and could use my help. I basicly do not want the movie to play untill it reaches 35%. Im not sure if I should have this code in the main stage and tell it to play the movie clip (instance name bug_L) or in the movie slip itself.


Code:



if (_root.getBytesLoaded() == _root.getBytesTotal()){//Check for finished loading
//If loaded, final update to fields
loadPercent = "35%";
loadBytes = (Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000 + " Kb of " + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + " Kb total Loaded.");

gotoAndPlay(2); //Where to go once your movie is loaded

}
else {
stop();
}




Using MX2004
Thanks

View Replies !    View Related
Botton To Play And Movie Clip
well i m making swf and want to put a action script on a button that will play a movie clip

like i have made a movie clip and what it to play when rollover take's place ... i cant seem to put the script at place coz i have giving a label on the movie clip and want a botton to play from that label..

plz try to help me out in here..coz i m getting late for my project.. like i m not that cool guru in flash ...but can say that i use flash

View Replies !    View Related
Play And Pause A Movie Clip...
i have a movie clip in the site i'm working on which is a line of photos that repeats and moves continuously from right to left and is 120 frames long. i need to make buttons that will tell the movie clip to play and pause but i can't figure this out!!! can anyone please help me with this??? it would be much appreciated!

thanks,
dan'l

View Replies !    View Related
How To Reversly Play A Movie Clip?
I need to make a movie clip play normaly, and then when it reaches its end, I need the movie to play again but reversly.

I tried to put this on the last frame:
stop();
current = _currentframe;
current--;
this.gotoAndPlay(current);

But that only reverse one single keyframe.
I want it to play the whole movie clip, not a single frame :-/

HELP!

View Replies !    View Related
Let Movie Clip Play Before Next Frame
i have a movie clip that loads a swf file.
loadMovie ("mov_talent.swf", testing);
name of my movie is testing.

is there an actionscript that lets you play the movie before it goes to frame 2. it's not a preload.

i just want to show an animation and when it stop the text fades in. the text would start on frame 2.

thanks

View Replies !    View Related
Call Movie Clip To Play
I made the fla that contain few movie clip and by pressing button they start to play. I want to call a movie clip from another one but it does not work. I used "_parent.movieclip"
and "_root.movieclip".
What is it that I am not doing right?

Thanks

View Replies !    View Related
Making A Movie Clip Play Only Once?¿?¿?¿?¿?¿?¿
How do you make a MC play only once? if it is started with a button...I know it has something to do with the loop count.

View Replies !    View Related
Play A Movie Clip Backwards
In it's simplest form I just want to play a movie clip backwards, from the end to the beginning, on the timeline.

In the finished product I want to do this..

I have a button, if I hover the button from the top, traveling downwards I want to play the movie clip backwards. If I hover the button from the bottom traveling upwards I want to movie clip to play forwards on the timeline.

Any ideas *are* appreciated.

Thanks,

Jnkyrd

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved