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




Create A Movie Clip As A Button To Jump To Half Way Through Another Movie Clip?



hi guys and gals,
i am wondering if i can make a movie clip (as a link for a website) jump to half way through another movieclip...
thanks in advance



FlashKit > Flash Help > Flash General Help
Posted on: 12-06-2007, 10:10 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

How Do You Make A Button Able To Jump From Movie Clip To Movie Clip
how do you make a button able to jump from movie clip to movie clip

I have 5 movies i the same scene , I need the buttons to jump from movie to movie ... how do I code this in the acrions ?

Can't Jump Scene From A Button Inside A Movie Clip
can anyone help me?
i'm using a script made by joshua davis (reverb) called boxes. in plane words it looks like 5 squares onj the stage, rolling over makes them bigger, rolling out makes the smaller (in a very sophisticated way), u can also drag the squares.
the script that rules the button that makes possible all this is:


on (press) {
startDrag ("");
}
on (release) {
stopDrag ();
}
on (rollOver) {
tellTarget ("/I_1_exp") {
play ();
}
if (/:ZSorting eq "Deactivated") {
/:recentM = getProperty(_target, _name);
/:Zorder = Number(/:Zorder)+1;
duplicateMovieClip ("/" add /:recentM, /:recentM add "temp", /:Zorder);
set ("/" add /:recentM add "temp:mynumber", eval("/" add /:recentM add ":mynumber"));
/:Zsorting = "Activated";
set ("/" add /:recentM add "temp:growth", 50);
set ("/" add /:recentM add "temp:switch", 1);
removeMovieClip ("/" add /:recentM);
}
}
on (releaseOutside, rollOut) {
tellTarget ("/I_1_exp") {
gotoAndStop (1);
}
/:Zorder = Number(/:Zorder)+1;
duplicateMovieClip ("/" add /:recentM add "temp", /:recentM, /:Zorder);
set ("/" add /:recentM add ":mynumber", eval("/" add /:recentM add "temp:mynumber"));
/:ZSorting = "Deactivated";
removeMovieClip ("/" add /:recentM add "temp");
set ("/" add /:recentM add ":growth", 50);
set ("/" add /:recentM add ":switch", 0);
/:recentM = 0;
stopDrag ();
}


What i tried to do is replacing:

on (press) {
startDrag ("");

with:

on (press) {
gotoAndPlay ("Scene2", 1);

because I want to jump from scene 1 to scene 2
but when i tried to modify the script in this way nothing happens, the scene remains the same.
i'm going crazy!!!!!

Can Not Jump To Scene From Inside A Movie Clip/button In A MC
Hello...
I am obviously fairly new to flash to be asking such a question, but could someone please tell me how i can jump to a scene or frame label from inside a movie clip? I have the same problem when trying to jump to a different scene/frame label when using buttons embedded in movie clips... The code below gives example of my problems. Want to jump to a frame labelled theend inside scene 1:

on (release) {
gotoAndStop ("Scene 1", "theend");
}

Create An Empty Movie Clip Inside An Existing Movie Clip?
I'm making sort of a tabbed navigation scheme by reading the data for each tab in from an XML file. What I'm wondering is if it's possible to use createEmptyMovieClip() to make a new empty movie clip inside a movie clip that already exists on the stage.

Using
ActionScript Code:
m_anchor.loadMovie(bg_image);
works as I would expect. bg_image is just the relative path to an image file, and m_anchor is a movieclip already on the stage. However, doing a similar thing:
ActionScript Code:
m_anchor.createEmptyMovieClip("textbox", this.getNextHighestDepth());
and then drawing a shape (a rounded rectangle, which I then want to put text on top of) doesn't work. It works if I just say "this.createEmptyMovieClip" instead of attempting to create it inside the m_anchor clip, but if I do that, the "textbox" is created at the root level and I can't unload it along with everything else in the "m_anchor" clip. Is it possible to create a new empty movie clip inside of one that is already on the stage?

Thanks!

How To Create A Movie Clip Button
Hello everyone,

I've created a website that has a movie clip on it's opening page with set of scrolling images that continuously scroll across the page. I'd like to make those images a button that links to a particular page on the site.

Please take a look at the site: http://alaricphoto.com

In the .fla file, in the movie clip for the scrolling images, I put each image on a separate layer. I then converted each graphic image into a button, and added the following actionscript to each button.

on(press) {
gotoAndStop("portfolios");
}

When testing the movie, it didn't work. What I'd like to do is make the scrolling images link to one page of the site.


Does anyone know how to do this?

Thank you in advance. Much appreciated!

How To Create A Button That Continually Scrolls A Movie Clip
I want to know how to create a button that when you press it down a movie clip(eg.text) will scroll down until you let go of the mouse. I know how to create a movie clip that scrolls when you click on a button but not when you hold the button down to continually scroll...hope this makes sense.

How Do You Create A Double Click Movie Clip Button
How do you create a double click Movie Clip button?

Targeting A Frame Label In A Movie Clip From A Button In A Separate Movie Clip.
I have two separate movie clips placed on a timeline-MovieclipA and MovieclipB. I have a button in MovieclipB clip that wants to target a frame label located in the MovieclipA timeline. Can someone help me?

Code 4 MovieClip Button To Load A Movie Clip Into A Placeholder Movie Clip.
Yeah that title sounds a little confusing...so i will explain:

Is there a way to tell a "movie clip button" that once it is clicked on to load a "movie clip" into a "movie clip placeholder". So instead of loading an external swf into the placeholder, it will be a movie clip from within the same library. Putting every single custom clip on the timeline would take a while, so that is why I thought it would be easier like this, and the other movie clips are not that large that I want to load into it so there is no need for external swfs, trying to keep it clean. Here is the code along the lines I am trying to go for.

__________________________________________

this.profile_mc.onRelease = function() {
placeholder_mc.loadMovie("profileSection_mc","plac eholder_mc","_root.content");
}
__________________________________________

- "profile_mc is the button I am trying to activate to load the
"profileSection_mc" into the "placeholder_mc". but so far no good.

- the movie clips are within the same library, not on the timeline or external library.

- Is this possible?

[F8] How To Create Multiple Actions From On Release Of One Button/movie Clip
Hi...this is a basic question but for the life of me can't make this work. Maybe it can't.

But i have a button (inside of a movie) and am using actionscript on the movie clip to control on rollover, release and out. Can i create two actions under one commmand like on (release)???

so the code might look something like this:

on (release) {
_parent.gotoAndPlay(54);
_root.mcMaster.gotoAndStop(3);
}
on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(8);
}
on (release) I wanted to finish the remainder of the mc in which the code resides...and then at the end of playing that jump to a frame in a parent mc. BUT i need to jump to a specific frame in that parent MC...based on the button that is released...so the first instruction for on (release) says finish this mc and then goto and stop on frame 3 of the root.

does that make sense? i know i'm approaching this completely wrong...is there a better way someone could suggest? like play this mc to this point and then jump here.

A Button Inside A Movie Clip, Within A Movie Clip, Calling Another Scene:
Is it even possible?

I have been trying to do it for the last few days for a site I am working on.

I have done searches in many forums and it's foolish looking for an answer that way, because quite frankly every thread I opened was something to do with LoadMovie or GetURL, etc.

What I have right now is on the button in my Menu Bar Movie Clip:

on (release) {
gotoAndPlay(285);
}

Which plays a fancy little animation in the movie clip and then on the last frame of that movie clip I had:

gotoAndPlay("Contact", 1);

Which is the Scene for the "Contact Us" Scene named "Contact"

One would think that it would load up the scene and play at frame 1, however all that happens is it reloads the movie clip of the "Menu Bar" at frame 1 and starts over, not even realizing what I asked.

Anyways, I figured there's a script or something that tells it to look outside of the movie clip or to the _Root, or whatever.

If someone has a solution, it would be greatly appreciated.

Sorry I have no example to show, since I have yet to upload it. (It's my company's web site, and I don't think customers would want to see some half-arsed web site that's not complete.

Thanks in advance.

Control Movie Clip In Container From Button Inside Other Movie Clip
There are three movie clips involved in this question.

1. A main movie clip that has a target empty movie clip where an external swf loads.

2. A menu movie clip that is built from button symbols and has its own timeline.

3. The external movie.

When a user clicks on the menu, the external swf loads into the empty movie clip target.  This part works fine. Here's the code:
on (release) {    
    loadMovie ("Lesson1.swf", "_root.container");
}

I want to use one external swf for all lesson, versus 20 external swfs. The problem I'm having is controling at what frame the external swf loads.  I've tried adding --gotoAndStop (15) -- for example. I've also tried adding, gotoAndStop "_root.container" (15), but that doesn't work either. The gotoAndStop action ends up controlling the menu movie clip timeline instead of the movie loaded into the container. I figure this is because the menu mc has "embedded" buttons and it's own timeline.

Any  help you can offer will be much appreciated.

Thanks
Sheila



Creating A Button To Open A Movie Clip From Inside A Movie Clip?
I'm using a hexagon menu to display some images. One image is placed on each slide of the hexagon menu (which can then be rotated left and right to see other "slides").

What I want to do now is to be able to click on the object (image) as a button and for it to go to another scene which shows the image blown up and some description next to it (which is another movie)

I have tried the following which doesn't seem to work:
Created an invisible button (or choosing the image as a button) and having

on(release) {
gotoAndPlay("scene 5", 1);
}

this doesn't work when I use it over the hexagonal menu, but when I move the button to somewhere else on the screen (not over the movie) it works.


Please can someone help with this - Ive been working on it flat out over the weekend and desperately want to make it work. any ideas would be appreciated!! thank you

Loading External Movie Clip With A Button Inside Another Movie Clip Help
Hi,

I am working on a scrolling thumbnail movie clip, that when you click on the thumbnail button inside the movie clip it will load an external movie clip. I have an empty movie clip on the main stage, and have been trying all sorts of code, but for some reason it doesn't like that I am inside a movie clip using buttons. It can't seem to find the external swf.

I have tried:

on (release) {
loadMovie (ithink.swf, "loader");

and

on (release) }
if (firstTime == true) {
loadMovie("ithink.swf", _root.loader);
firstTime = false;
} else {
_root.clicked = "ithink.swf";
_root.loader.gotoAndPlay("goback");
}
}

and so far nothing, for some reaosn when I click on a button outside of the movie clip with the above code it loads... and than the other works too, but if I click on the buttons inside the scolling movie clip first they won't work.

Any suggests or ideas!!?

I would really appreciate it... I am beyond frusterated!!

Using A Button In A Movie Clip To Control The Movie(and Not Movie Clip) Timeline
Ok i have a button placed in a movie clip. I want this button, when released, to go in another scene, frame one, on the movie(scene) timeline and not on the movie clip timeline.

So i tried: gotoAndPlay("mission", 1); (mission is the name of my scene)

But it goes to the frame 1 of my movie clip, It would be great if someone could tell me how i can control the movie timeline while my button is in a movie clip

thaks
Vakarm

How To Jump From One Movie Clip Into Another
If I am inside a movie clip and would like to have a button in it that on release will go to the root of the scene, jump into another movie clip and go to a specific label or frame number in that movie clip. What is the action script for something like that. I know about going to root and jumping to a frame on the root scene but would like to know how to extend that and jump into another movie clip and go to a specific frame in that movie clip?

thanks a lot
michal

How To Jump From One Movie Clip Into Another
If I am inside a movie clip and would like to have a button in it that on release will go to the root of the scene, jump into another movie clip and go to a specific label or frame number in that movie clip. What is the action script for something like that. I know about going to root and jumping to a frame on the root scene but would like to know how to extend that and jump into another movie clip and go to a specific frame in that movie clip?

thanks a lot
michal

How To Jump From One Movie Clip Into Another
If I am inside a movie clip and would like to have a button in it that on release will go to the root of the scene, jump into another movie clip and go to a specific label or frame number in that movie clip. What is the action script for something like that. I know about going to root and jumping to a frame on the root scene but would like to know how to extend that and jump into another movie clip and go to a specific frame in that movie clip?

thanks a lot
michal

How To Jump From One Movie Clip Into Another
If I am inside a movie clip and would like to have a button in it that on release will go to the root of the scene, jump into another movie clip and go to a specific label or frame number in that movie clip. What is the action script for something like that. I know about going to root and jumping to a frame on the root scene but would like to know how to extend that and jump into another movie clip and go to a specific frame in that movie clip?

thanks a lot
michal

Movie Clip Button Inside Movie Clip Button Is Driving Me Nuts
hellllllo everyone, this thing has been bothering me for weeks, i've been hiding from it for days but it always seems to come back and bug me..
this is the problem..
on my main timeline i have a movie clip button that plays over/out state within this clip and on the over state it also opens 8 other movie clip in this movieclip that i am hoping to make them clipable, i only made an over state for the first movieclip out of the eight, but it just wont do the rollover effect..
i think there is a better way to do this..if i need to start over..let me know..thanks!!!

i will attach the file please help me out! i am tired of hiding!
thank you again!!!!!

Jump From Movie Clip To Scene
Hi all,

probably very simple, but I still don't get it to work:

My Scene (Scene 5) starts with a movie clip, so in Frame 1 I put action script "stop". At the end of the movie clip, I want to go back to scene 5 and start on frame 2. So I named frame two "menu" (on a keyframe in the "action" layer). At the end of the move clip I put a keyframe and say actionscript:

stop();
gotoAndPlay("Scene 5", "menu");

But, instead, it runs the same movie clip again...

Why is that?

I hope sbd can help me on this...

Thanks in advance for any indication.

Jump To New Frame Outside The Movie Clip
Hello,
First time poster here so hi everyone. i beelieve the problem i am having right now is very basic but indeed very annyoing so any help is appreciated. I have a button within a movie clip which on roll over causes some animations to occur, nothing to big, however i want this button to jump to a differant frame outside of the movie clip but on the same scene the movie clip is on, therefore the movie clip would be gone as we would be taken to a differant fram which does not contain the movie clip. how is this done? the basic on release goto frame does not work and for some reason the scene i select is blue when i try to do that. Please help me. thank you.

Robert

Jump To New Frame Outside The Movie Clip
Hello,
First time poster here so hi everyone. i beelieve the problem i am having right now is very basic but indeed very annyoing so any help is appreciated. I have a button within a movie clip which on roll over causes some animations to occur, nothing to big, however i want this button to jump to a differant frame outside of the movie clip but on the same scene the movie clip is on, therefore the movie clip would be gone as we would be taken to a differant fram which does not contain the movie clip. how is this done? the basic on release goto frame does not work and for some reason the scene i select is blue when i try to do that. Please help me. thank you.

Robert

Help: Jump To Next Scene From A Movie Clip
Hi! Was just wondering...is there a way to jump to the next scene from a movie clip? In my current scene, I have a steady background, but I also have a movie clip that continous playing. So I placed a stop action at the scene so that the background in the scene stops playing, while the movie clip runs.

That works fine, but I can't jump to the next scene from the end of the movie clip. I used a gotoandplay (scene name, frame number) action at the end of the movie clip, but it doesn't seem to work. Can anybody help please?

How To Jump To A Different Scene From A Movie Clip
I am building a site in flash, and each page has its own scene. The nav however is a movie clip so I can reuse it on in each scene. My question is, how can I jump to one of the other scenes from this one movie clip. I tried using this actionscript:

on (release) {
gotoAndPlay("Scene Name", Frame #);
}

and it doesn't work. Does anyone know how to do this?

Thanks!!

Jump To Next Frame After Movie Clip Is Done
Another simple question to answer for a flash nimrod. I have a main flash file and in one of the frames a movie clip is loaded in. I put a stop on that frame so the movie clip runs. Once the movie clip is over, I would like the next frame on the main flash file to be shown. How do I go about doing this?

I don't know if I'm going about this the right way but I've tried doing this:
Let's say the movie clip itself has about 20 frames, at the end of those 20 frames, I've tried putting in an action to tell it to go the next frame of the main flash file. Let me know if anyone can help, its probably really easy but as I said, I'm an idiot.

How Do You Jump From A Movie Clip To Another Scene?
Can anybody out there help an old man?
I hope that I haven't posted this question twice - I have just joined the forum and maybe messed up>

I have limited experience of Flash 5 but can still produce something moderately useful. However, I am absolutely stuck on this one!

I have created an FLA file that contains two scenes, Scene 1 and Scene 2 (no labels). I have also created a new symbol movie clip entitled "To whom with rats" which I dragged into a frame in Scene 2.

In the final frame of the movie clip I have inserted a button which I want to send the action to Scene 1 Frame 15. I am hoping that someone out there will be able to help this old man by providing me with the precise action script that the button needs to do what's expected of it!

I have tried reading through the Action Script manual but it just blows my mind!

Thank you in anticipation.

Onqchris

Movie Clip To Another Scene Jump How ?
hi guys..
i need some help...
well i am working on a project....
i am using flash mx, i have created a movie clip in 'scene 1' & a button inside the movie clip. so the thread is like this scene 1 > movieclip > button

now i have used my 'goto' action into the button to jump to scene 2. but its not happening....it goes to scene 1 and frame 1...

please help...
mail me at mohantyabinash@yahoo.com
thanks

Movie Clip To Another Scene Jump How ?
hi guys..
i need some help...
well i am working on a project....
i am using flash mx, i have created a movie clip in 'scene 1' & a button inside the movie clip. so the thread is like this scene 1 > movieclip > button

now i have used my 'goto' action into the button to jump to scene 2. but its not happening....it goes to scene 1 and frame 1...

please help...
mail me at mohantyabinash@yahoo.com
thanks

Can A Movie Clip Jump From One Guide To Another?
(I don't even know if a Guide is the right solution)

What I would like to do is have a movie clip follow a path. Then when there is a new event, move the movie clip along a DIFFERENT path.

I have no idea how to tell a movie clip, "Ok, I know you're on path A, but now I want you to jump to path B, starting at the righthand end."

My knowledge level: I know how to cause a graphic to follow a Guide path. I haven't tried getting a movie clip to follow a Guide path. I'm learning about actions and making decent progress.

Thanks,
John

A Button Inside A Movie Clip To Move Another Movie Clip
I'm building a web page and I have a button that I need to make two movie clips play. The button is inside one movie clip and in addition to it playing I want it to make another movie clip play. It doesn't seem to recognize the movie clip target names. Any help as to how this can be done would be much appriciated.

Thanx

Controlling A Movie Clip From A Button Inside Another Movie Clip.
I'm confusing myself just typing this.

I'm working on an interactive map. The map itself is a MC inside a container, but also contains all the buttons as well. On my main stage(scene 1 and menu) is a window(MC) that will show info and photo of building. Now if I create a button on the main stage I can control the movieclip(images) easily. But when I use a button from inside map(MC) it doesn't seem to recognize the (images.gotoAndStop(frame))command.

I'm just not sure what to put in order to be able to control the MC's timeline from within that map movieclip.

Sorry if this is confusing. Of course at the same time it might be a simple solution for most people here as well. At least that is what I'm hoping anyways.

[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?

Place Movie Clip Button Inside Movie Clip
Hi, I have searched the forum but cannot find exactly what I am looking for.
I have a movie clip of a map that I can zoom and drag and what I would like to do if possible is to have several other movie clips inside the first movie clip which when clicked go to and play at a given frame number on the timeline where a photo is displayed.

The 'several' movie clips will be small flashing red circles. Each one represents a place of interest and when clicked will display a photo of the place of interest.

Button Nested In Movie Clip Just Repeats Movie Clip
I have a button that is inside of a movie clip. (the button falls down from the top). BUT, when i click on the button, it just plays the movie clip over again? Am I missing something?
Thank you

Help Pls Making A Button In A Movie Clip Goto Another Movie Clip (pic)
Hi guys and girls,

i need ya help. What action script would i need to make a button in one movie clip goto and play a frame in another movie clip. I've added a pic to help. Im not very good at flash but i've been trying my usual codes but it dont work..

Cheers

Help Pls Making A Button In A Movie Clip Goto Another Movie Clip (pic)
Hi guys and girls,

i need ya help. What action script would i need to make a button in one movie clip goto and play a frame in another movie clip? I've added a pic to help. Im not very good at flash but i've been trying my usual codes but it dont work..

Cheers

Jump To Next Scene Wihtin A Movie Clip
Hi guys -

some things about Flash really drive me nuts
I am in scene 1 in a movie clip - at the end, in the action layer, I want to indicate that he should jump automatically to scene 2, frame 1
I tried

_root.gotoAndPlay("2");
_parent.gotoAndPlay(2); (from which I would tell it to go to scene 2 in the action layer)

But at the end of the movieClip ... nothing happens. aarrgh

What should I do?

Load Movie Clip And Jump To A Specified Frame ?
hello.

whow can I jump to a specified frame or label in a new
loaded movie clip.
I want to load the new clip from a different navigation
clip, but I can not just tell him, hey load "kit.swf" and
go to label "god", no?

sure very easy, but not for me.

? (with flash 5)

thomas garcia godines

Can You Jump To A Scene Frame From A Movie Clip?
Ive got an animated button as a Movie Clip and I want to jump to a frame within a scene Ive created. Ive got the Actionscript working fine and jumping to the scene called 'webSites' on a normal button, script below:

on (release) {
gotoAndPlay("webSites", 1);
}

But when I try something similar on my Movie Clip button it doesnt work, the MC button works fine when jumping to a frame label named 'web site' within its own scene which is weird:

this.onPress = function() {
_root.gotoAndPlay("web sites");
};

Ive read in my Flash 5 bible that you cant issue a command from within a Moviw clip to go to and play a frame in another scence. THis sucks if its true. Can someone confirm this? Is there another way around this if so?

Cheers....John

Jump To Frame Label Within Movie Clip
Hey Guys,
I'm stumblin' through flash at the moment and have hit a problem that I cant seem to work out myself so I hope you guys have an idea.

I have a movie clip on one frame that is an image viewer in which small graphics can be clicked and larger versions can be viewed.

The larger versions of the graphics are all in another movie clip with frame labels at the start of each image display.

I need to click on one of the smaller graphics, move the main time-line on one frame(to display the movie clip with the larger images in it) and go directly to a frame label within that clip.

So I thought that 'on press' I could move the time-line on one frame to display the movie clip, and 'on release' could tell it to go to specific frame labels within that movie clip. Seemed pretty logical.

I'm trying to use this at the moment but know I'm missing something. Any help would be greatly appreciated.

on (press) {
_level0.nextFrame();
}

on (release) {
_root.mc_intimages.gotoandPlay("pic1");
}

**where 'mc_intimages' is the instance name of the movie clip that displays when I move the time line on one frame, and 'pic1' is the frame label within that clip it needs to go to.

Thanks to anyone advance for any help given.

B

How To Jump To Previous Frame At End Of Movie Clip?
Using Flash Professional 8. I have a menu with a Play Movie button on frame 1, and a movie clip on frame 2. On Frame 1, the action script reads:

stop();

myBtn_btn.onRelease = function(){
gotoAndStop(2);
};

Thus, on the release of the button on frame 1, it goes to frame 2 and begins to play the flv movie clip (using FLVPlayback). After 9 minutes, when the movie clip is over, it stays on frame 2 and the playhead of the movie clip goes back to the beginning.

What action script should I use to tell it to go to frame 1 at the end of the 9-minute movie clip?

Thanks for any help.

From A Different Movie Clip, I Need It To Jump To A Specific Scene & Frame
From a Different Movie Clip, I need an actionscript for the button to jump to a different Movie clip. In the movie clip, i've got 2 scene. Therefore, i need it to jump to a specific scene and to a specific frame number.


example, 1.swf & 2.swf

In 1.swf, i've got 2 scenes. scene A & scene B.


From 2.swf, i need the button to jump to 1.swf, scene B, frame 10.


anyone out there knows the actionscript to it?

A Movie Clip That Will Jump If The User Is Pressing <space>
Hello,
I want to make a movie clip that will jump if the user will press space button.

I know how to make a movie clip to move.

thank yu all

Random Frame Jump In Movie Clip/symbol
Is there a simple actionscript line that will allow a movie symbol that is playing to got to and stop on a random frame of said movie.

For example: if I have a 6 frame movie, that is stopped on frame 1...

I click a button to 'play'

& the movie simply jumps to a random frame... (2, 3, 4, 5, or 6 & then just stops there.)

Jump Frames From Movie Clip To Main Timeline
I'm very new to flash and ActionScript.

I need help using a button in a movie clip to jump to a frame on my main timeline. I'm trying to use flash to create a presentation as an alternative to powerpoint or keynote. This button I describe is my "home" button that takes me back to the main menu.

Any help is appreciated.

Problem With Movie Clip Moving When The Mouse Passes Over A Button On The Clip
The swf in question calls up a series of ads. To change the ads the user clicks on the forward and back button. However, when you mouseover the forward and back buttons the controlBar goes a bit haywire (as a result of the mouseOut on it).

All the files are attached in a zip file. Thanks in advance for your help guys.

Making A Movie Clip In A Movie Clip Go To The Next Frame Of The Original Movie Clip
I have a movie clip (for simplicity I'll call it movie_a) in movie_a I have another movie clip movie_b.

in movie_a i have a button that when pressed makes movie_b play (it has a stop frame every once in a while so the button acts as a "next" button)

I want it so that when i get to the last frame of movie_b and press the button, it will go to the next frame of movie_a

I hope that doesn't confuse u and u can help me solve this problem, as i am stumped and I've tried everything I could think of (which isn't that much as I'm not too good with actionscript)

thnx

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.

Copyright © 2005-08 www.BigResource.com, All rights reserved