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




Changing Frame In MC With Button On Main Stage



I have one button and it's primary role is to stop all sounds in the project when triggered. It is just positioned on the main stage in the main project, not inside of a MC. I then have a very simple music playing system (4 buttons, one for each song) in it's own MC which displays text of the artist and title song when respective buttons are pressed. This works fine, apart from the fact that when I click the 'stop sounds' button the text is still displayed from whetever the last song was that had been playing. I was thinking there must be a simple method of incorporating an actionscript function into the 'stop sounds' button, so that when it's pressed it also takes control of the movie clip and moves it to the first frame which doesn't display any of this text. I was thinking of a simple gotoAndPlay command followed by something, but I don't know the command to tell Flash where to find frame 1 of this movie clip rather than just frame one of the whole project. Help please.




View Complete Forum Thread with Replies

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

Button On MC Not Going To Next Frame On Main Stage
Hey... I would have searched for this in the forum, but the search functionality is down. Here is what i need.

I have a button inside a movie clip.

The movie clip resides on the main scene named Scene 1.

I want the button to take me to frame 2 on Scene 1 when I hit it.

Here is the code i have for the button.

on (release) {
gotoAndPlay ("Scene 1", 2);
}

For some reason this is not working.

Additionally, I have a Stop action on the first frame of scene 1 where all of this is taking place...

Thanks.

Button On Main Stage Target Frame In Mc
This seems simple, but for some reason it is not working.
I have a button on the main stage. I want to target my MC (McSlidey01) that is placed on the main stage.

facts:

McSlidey01 is a MC that is 50 frames long. On the last frame it has an action script that takes it back to the root and advances to the nextFrame.

button01 is on the main stage. I want this button to stop McSlidey01 on frame 25. This way it will stop the MC and not advance to its last frame that has the nextFrame action on it.

Changing Frame On Main Timeline From Externally Loaded SWF Button/movieclip
Ok so I have a Main.swf which loads a menuheader.swf which is the menu.
I have a button called loginBut inside menuheader.swf that once clicked should change the frame on the main timeline, any idea's?

here is the code on the menuheader SWF, it obviously just changes the frame on itself.

ActionScript Code:
loginTestBut.addEventListener(MouseEvent.CLICK,myLoginFunction);

function myLoginFunction(evt:MouseEvent):void{
gotoAndPlay(2);
}


I also tried having the event listener on the actual main SWF aswell and put something along the lines of.


ActionScript Code:
var header:PreLoaderSwf = new PreLoaderSwf();
addChild(header);
header.y = -10;
header.startLoad("xswf/MenuHeader.swf");

header.loginTestBut.addEventListener(MouseEvent.CLICK,myLoginFunction);

function myLoginFunction(evt:MouseEvent):void{
gotoAndPlay(2);
}

I think the problem here was that I'm using my own PreLoaderSwf class to load it, so it refers to that when it looks to add the eventlistener.

Changing The Default Registration Point...of The Main Stage
is there any way to change the default registration point of the main stage? It always appears at the upper left corner of the stage, I want it to be in the middle!

Calling MC Frame Labels From Main Stage
Hi, everyone. I have a small problem that I can't seem to find an answer to. I have a small game based on the Rock-Paper-Scissors game. I have two movie clips on the stage, each with different frame-labeled animations.

The first frame declares two variables: "playerchoice" is set to 1, and "compchoice" is set to random {3}, and has a stop action. I have three buttons on the main stage in this frame, one each for rock, paper and scissors. By pushing these buttons, the user sets "playerchoice" equal to 1,2 or 3, respectively. Then I have a "Go" button that moves the main timeline to the next frame.

The next frame has an "if..then" statement for each possible number in the variables. "If playerchoice=1, then telltarget ("player") goto and play (rock)" ect. This wasn't working for some reason, so I took out the if..thens and just tried to get the frame to play the MC animations; didn't work.

Now, I've done this before, but I seem to be suffering from some form of amnesia. What is the proper syntax for calling MC animations by frame label from the main time line? I can't seem to get the hang of specifying target paths in flash. Is there a tutorial somewhere that I just can't find?

Anyway, any help would be emensly appreciated. Thanks!
JG

How To Address A Button On The 5th Frame Of A Movie Clip With Action Script Located On The First Frame Of The Main Time
I'm trying to make a button appear on frame 10 of a movie clip and write actionscript on the main time line that addresses that frame 10 button. I'm not sure of the method I need to do to get that frame 10 button to get a url. I tested the same button when put on frame 1 and it worked, but I'm not sure how to address buttons and other symbols that appear as a result of the playhead moving to different places on movie clip time lines.

Can anyone help, or give me a link?

Thanks
Dennis







Attach Code

//works
_root.buttons_mc.go_btn.onRelease = function(){
_root.mall_mc.gotoAndPlay(1);
//a stop action is placed on frame 10 of the mall_mc movie clip
};
//this button is inside the mall_mc movie clip on frame 10
//doesn't work
_root.mall_mc.url_btn.onRelease = function(){
getURL("http://yahoo.com");
};
//An instance of the same url_btn is dragged on to frame 1 of the mall_mc
//movie clip and given an instance name url_frame1_btn
//works
_root.mall_mc.url_frame1_btn.onRelease = function(){
getURL("http://yahoo.com");
};

Positioning A MC With A Button On The Main Stage
Hello and thanks in advanced! I have a MC within a MC(slider). I need to move (slider) using a button that is on the main stsage.

I have a button on the main stage button called buttonName, a Movie Clip named parentmc.
Inside parentmc I have a mc clip slider.

This is my script that is not working. I have this script in the first frame of movie clip called parentmc.


Code:
_root.buttonName.onRelease = function() {
_root.parentmc.slider.tx = 300;
_root.parentmc.slider.ty = 345;
_root.parentmc.slider.onEnterFrame = function() {
this._x += (this.tx-this._x)/2;
this._y += (this.ty-this._y)/2;
};
};

Any help would be nice!

Button Changing Main Scene Not Working
Ok. In the "Main" scene I have a menu with 4-5 buttons on it. I want the buttons to change the frame of the Main scene.

Right now they are:

on(press){
gotoAndPlay("Main",4);
}

But the buttons aren't doing anything. Any help would be appreciated.

Heres the file.

Get A Button Inside An MC To Control The Main Stage?
Ok, yet (hopefully another simple problem).

I'f i've got a movie clip, inside this movie clip i've got a button. I want this button to control the actions on the main scene. But it doesn't.

I've just added the usual to the button:


Quote:





on (release) {
gotoAndPlay("Scene 1", 2);
}






But obviously this doesn't work, any help would be much appreciated.

Thanks.

Button On Main Stage Won't Work When In External Swf
I know this has probably been answered somewhere but alas I can't find the
solution for my particular problem. Any help would be greatly appreciated as I'm nearing my deadline & can't figure it out!

So this is what's happening:

I have created a site using a Main movie (main.swf) which loads external swf's when the buttons in main.swf are clicked. Everthing seems to be working fine except when I go to a section called "Artists" (section2.swf). This section is fairly big, using a movie clip that contains more movie clips that navigate to different frames. When I'm in this section I want to be able click the "Artists" button (in the main.swf) and have it reload & go to the start of this external swf again. When I click it nothing happens. This is the code on the "Artists" button on the main.swf:

on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "section2";
container.loadMovie("section2.swf");
} else if (_root.currMovie != "section2") {
if (container._currentframe>=container.midframe) {
_root.currMovie = "section2";
container.play();
}
}
}

I suggested just having a "Back" button somewhere in the Artists section that would do this but the client won't budge! :'(

Movieclip As Button Loses Its Action When Given An Instance Name On Main Stage
I've created moveclip buttons that "pulsate" (light effect) upon mouseover. When I place them on stage, they work fine (pulsate during a mouseover).

However, once I give the movieclip/button an instance name on the main stage (to call a LoadMovie onPress), they lose their pulsate/movieclip action. They do however, fuction correctly in loading the specified movie - they just lose the mouseover action.

Here is an example of the code for the movieclip/button on the main stage:

(services is the movieclip/button instance name)
--------------------------------------------------
services.onPress = function() {
_root.createEmptyMovieClip("container", 1);
loadMovie("services.swf", "container");
container._x = 200;
container._y = 30;
};

---------------------------------------------------

The movieclip/button itself has the following code (which again, works fine on the main stage until an instance name is applied to it).

---------------------------------------------------
ACTION WITHIN FRAME ONE: stop();

ACTION WITHIN THE BUTTON GRAPHIC:

on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(1);
}
---------------------------------------------------


I've been searching, but can't seem to find what I'm looking for. Any thoughts? Feedback is greatly appreciated. Thanks in advance!

Movieclip As Button Loses Its Action When Given An Instance Name On Main Stage
I've created moveclip buttons that "pulsate" (light effect) upon mouseover. When I place them on stage, they work fine (pulsate during a mouseover).

However, once I give the movieclip/button an instance name on the main stage (to call a LoadMovie onPress), they lose their pulsate/movieclip action. They do however, fuction correctly in loading the specified movie - they just lose the mouseover action.

Here is an example of the code for the movieclip/button on the main stage:

(services is the movieclip/button instance name)
--------------------------------------------------
services.onPress = function() {
_root.createEmptyMovieClip("container", 1);
loadMovie("services.swf", "container");
container._x = 200;
container._y = 30;
};

---------------------------------------------------

The 'movieclip as button' itself has the following code (which again, works fine on the main stage until an instance name is applied to it).

---------------------------------------------------
ACTION WITHIN FRAME ONE: stop();

ACTION WITHIN THE BUTTON GRAPHIC:

on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(1);
}
---------------------------------------------------


I've been searching, but can't seem to find what I'm looking for. Any thoughts? Feedback is greatly appreciated. Thanks in advance!

Button Inside A Movie Clip, Link To Main Stage
Hi, I have created a button inside a movie clip, you can see this on my website at http://www.adzcool.1800-webhosting.com

I was hoping that someone could tell me how I could get it so that once I click on the button inside the movie clip it will allow the frame in the main stage to jump to another frame.

I tried to use the jump to frame code, inserting "Scene 1" as the scene but that didnt work, I'm guessing thats because I'm inside the movie clip instead of in the main time line.

I thought that I could solve the problem by having a variable in the movie clip that would be turned on on mouse release, then in the main time line have code that says if variable on, goto next frame, but I couldnt get that so work either.

I'm using flash mx 2004.

Thanks for any help

adzcool

Connecting Forms In A Movie Clip To SUBMIT Button On Main Stage
I have built a form in flash. Some input text fields exist on the stage and some exist within movie clips. The submit button exists on the main stage.

When submitted, the text fields on the stage are processed properly and email to where they need to be. The text fields that reside within a movie clip do not appear...The submit button cannot locate the input text fields when the are within a movie clip.

I am looking to:

1) Find a way to path the submit button so it finds all text fields

or

2) Find a way to send the variales entered into text boxes inside the movie clip to the main stage where the submit button can find them


thanks in advance

brett

Dynamically Loading Swfs - Next Button On Main Stage - How To Make It Work... ?
Hi all,

First time post to these forums long time reader...

Ok I was wondering if someone could help me on this small problem I am having. I have a total of 4 flash movies. The first movie will house all my navigation as shown below:

[Movie 2] [Movie 3] [Movie 4] [Pause] [Skip to Next Movie]

I am not sure if this is actually even possible thinking about it. Ideally lets say the user is watching [Movie 3] and they hit the skip button. I would like to have some sort of fade out occur and [Movie 4] to start playing.

So I have figured out all the code I need except for the [Skip to Next Movie] code. Since this button is in the first movie I figure it must be aware of which movie is currently playing in order for it to pick the next one in sequence. So if [Movie 3] is playing then play [Movie 4]

If anyone have any insight or has seen a tutorial that they could share I would really appreciate it. I know in Flash 2004 this is a bit simpler to create but unfortunately this one has to be done in MX.

thanks in advance

Flickering Main Timeline Frame And Button With MC
I have a problem with a button which when hit should go to a movie clip. The clip has only one frame in it as well as the the main timeline. I have put a stop action on the main timeline and one on the mc, the button on the main time line stage has a GoToAndStop ("name_mc") action (there are more buttons to press on the MC), the labels are made with the correct instance names and attached to script etc....the problem is that when the button is hit the MC and the main timeline frame flicker back and forth between the each other's two frames. Any suggestions?

Targeting A Frame Within An Mc On The Main Timeline From A Button In Another Mc
I'm sure you all find this quite simple, but I just can't figure it out!
Please Help!

I have two mc's on the main timeline

In one mc(agendaClip)I've got a button
In another mc (navLoopOnOff) I've got two frames

Now I would like to point to the second frame in the mc "navLoopOnOff" from the button within the mc "agendaClip".

How do I do that?

(I'm using flash MX 2004 pro)

Thanks a bunch!

Leoni

Goto Frame In Main Scene From Button In MC
I have a scene

-In which there is a MC

-In which there are buttons.

When hit i would like my buttons to go to and stop on a frame in the main scene.

I have got

on (release){
gotoAndStop (Frame);
}

But I relise this will have to be a frame in the MC how do i get it to refer to the frames in the main scene???

Thanks in Advance

AS To Tell Button Inside Mc To Go To Frame On Main Timeline?
Hi again!

I have a button inside a movieclip which when clicked i want to direct to a keyframe on the main timeline. Can anyone tell us the actionscript i need to apply to the button??

thanks

Referencing A Button On Frame 2 Of MC From Main Timeline
I have these two addEventListener's on my main timeline.


ActionScript Code:
// back1_btn is on frame 1 of loadWindow_clip
loadWindow_clip.back1_btn.addEventListener (MouseEvent.CLICK, clickedgoBack1);

// back2_btn is on frame 2 of loadWindow_clip
loadWindow_clip.back2_btn.addEventListener (MouseEvent.CLICK, clickedgoBack2);


When I test the movie, I receive the following error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.

If I remove:

ActionScript Code:
loadWindow_clip.back2_btn.addEventListener (MouseEvent.CLICK, clickedgoBack2);

I don't receive the error.

The movieclip, loadWindow_clip, has 2 frames. Frame 1 and frame 2.

On frame 1 of loadWindow_clip I have a button, instance named: back1_btn
On frame 2 of loadWindow_clip I have a button, instance named: back2_btn

What it looks like to me is that I cannot make reference to any other frame other than frame 1 of another movieclip, from the main timeline.

Am I correct?

How Can I Link From A Button In An MC To A Frame In The Main Scene?
I have a series of buttons in submenus (MCs) but I can't link from them. I think this is because it is trying to reach a frame in the MC. How can I get it to link to a frame in the main scene?

I can e-mail you the .fla if you like.


Thanks.

AS To Tell Button Inside Mc To Go To Frame On Main Timeline?
Hi again!

I have a button inside a movieclip which when clicked i want to direct to a keyframe on the main timeline. Can anyone tell us the actionscript i need to apply to the button??

thanks

Flash Button Wont Link To Main Frame Set
i am making a web page and i made a nav bar using flash. i have my nave bar in one frame set, and i want each button to link to the main frameset of the web page and not open to self or blank page. i am having trouble getting the link to go, is there a setting or a html code out there that i need to add..or is there something i need to add in the link field of my text when making the button and giving the web page html.

[MX04] MC Button Load Frame Main Timeline
Hi, I have not been able to get this to work! simply I want a button action in MC1 in frame_1 to load frame_2 on the main timeline. All good info greatly appreciated cheers P

on (release) {
_root.gotoAndPlay ("main", "frame_2");
}

Accessing 2nd Frame Movieclip Button From Main Timeline
I have a movieclip placed on the stage called splashScreen. Inside this movieclip i have a button called easy_btn on the second frame but every time i try and access this button from the main timeline using actionscript i get the message
TypeError: Error #1009: Cannot access a property or method of a null object reference.

I'm not sure why because i think i have referenced it properly. Here's my code -

splashScreen.easy_btn.addEventListener(MouseEvent. CLICK, chooseEasy);
function chooseEasy(evt:MouseEvent):void{
for (var i:int = 0; i < 5; i++)
{
etc.....

Can anyone help?

Help Getting A Button In Swf To Go Back To Main Timeline Frame And LoadMovie
Hi,
I am building myself a flash website and am running into a problem.

I have a swf being called into an empty movie clip that exists on the main timeline, the swf contains four buttons. I want each button to go to a different frame on the main time line and load a specific swf into a frame specific empty movie clip (each frame is its own page). I have no problem getting back to the specific frame on the main timeline (I can see the set of buttons unique to each frame). However, I can't get the movies to load on(release) using the buttons in the swf, but I have no problem doing so using button the main timeline which makes me think the problem is with my code on the button.

My code for the button in the swf that I am using as a test is below. (note: the instance name for the empty MC on the main timeline is container_mcdraw, the swf I am loading is draw_main.swf, and the frame on the main timeline that I am going to is 4)

on(release){
_root.gotoStop(4)
_root.container_mcdraw.loadMovie("draw_main.swf")
}

Any help is apreciated

How Do I Make A Button In A MC Go To And Play A Frame Label In The Main Movie?
Basically I'm making a MC symbol that contains a bunch of moving buttons. On the buttons I put the action:

on (release) {
gotoAndPlay("Scene 1", "pow");
}



where "pow" is the frame label I want the movie to go to. On this frame is a stop action.


If I just drag out an instance of the button it seems to work fine, but the buttons that are "inside" the MC don't work.


What am I overlooking?


Thanks,

Jonny

A Button That Plays An MC Clip, But Goes To A Diffrent Frame On Main Timeline
Hey all
Newbie in need of some help, am using Flash MX 2004. Ok, im trying to deisgn a photography site and need some help with the buttons. When you click between pictures (Clicking on the thumbnails) I want a disolve to white, between the images, so theres a smooth transition.

How I thought I could do this is to have an MC, that is called into action when the button is clicked. So the process would be like this......

On click-play movie
-jump to frame X and stop.

The movie would be a second or so long, but the jump to frame would have to be done quicker than that, and underneath the MC- if that makes sense.

I know that this can be done by using diffrent scenes, but I have about 100 pictures to put on and dont really fancy making 100 scenes!

If anyone can help with this then you will make my day, cheers

[AS][MC]MC Button Interact - Stage MC On Dif Frame
Last edited by digitalwax : 2003-11-05 at 15:32.
























Here's the prob,

I've got a button in a movieclip on frame 1, I want that button to tell a movieclip on the stage in frame 2, to go to a certain frame in its movie clip. Sounds simple enough but I can't get it to work.

I've been trying:

_root.gotoFrame(2) and _root.movieclip1.gotoFrame(2)

works half way, it goes to the right frame on the stage, but doesn't tell the movieclip to do anything. Your help is greatly appreciated.
Thanks people. Digitalwax.

Object In Button Reappearing After Changing The Frame
I've posted this before but have now greatly simplified the problem. I've got a button class which goes to seperate frames as the mouse interacts with it. Inside the button MC is a textfield, which is sent to another class to control. Problem is, the textfield manages to duplicate itself.

I've uploaded an example and source code here: Example

I'd really, really appreciate some help with this. It seems like an odd quirk or Flash but I can't figure out a way around it. I should also point out the the 60 odd lines of code are not up to my usual standards

On Rollout For Button. Changing All Instances On First Frame?
I have a map with about 50 instances of a button. When they rollout of a button I want to change a picture to a default pic. Is there any other way to do this other than adding a "on rollout" script to every single instance of all buttons?

In other words, can I use a script on frame 1 to say on rollout of any instanced button, display this pic?

Button In Mc Takes User To Specific Frame On Main Timeline In A New Scene?
Hi

Is it possible for a button in a movie clip symbol to take the user to a new scene?

For example:
On frame 1 of Scene 1 a movie clip symbol starts to play. When it's finished playing the user can click a button which takes them to the next movie clip symbol on (e.g.) frame 5 of Scene 1, or they can click a button that takes them to a specific frame in a new scene (e.g.) Scene 2.

Is this possible?? I've managed to get them moving from clip to clip within a single scene (using root.gotoAndPlay), but I can't figure out how they would move from a movie clip symbol in one Scene to a movie clip symbol in a different scene.

If it's possible please tell me how... I'm dyin' out here!!

Many, many thanks in advance!

sn

Problem Getting A Button From A Movie Clip To Play A Frame In Main Scene
I am at a stumbling block and need help!!

I have created a animation that is a scrollbar full of buttons as a separate clip, the prob is that when I set the action from the button of that clip to the main scene, the action doesn't happen.

Please help! you can reach me by aim or e-mail and I will send you the fla to help me debug, thanks!!

Button In Movi Clip To Frame In Stage
i made a movie clip with 4 buttons and i wanted one of th buttons to go to one of the frames in the stage, how would i go uppon doing this

Changing Movie Clip Frame On Button Press
How would I make it so when a button is pushed, a movie clip named "label" will go to frame 2

Button In Movie Clip Changing Frame In Scene?
So I created a navigation bar as a movie clip and i wanted the buttons in the movie clip to control what is going on in the scene. I put a action (on press goto scene1 and frame #) on a button in the movie clip and it doesnt take me to the scene frame. what exactly am I missing? help would be greatly appreciated.

I am doing all this in Flash MX.

Newbie - Changing Button Frame Number References
I didn't leave enough room in my timeline and need to move almost everything forward. The buttons frame refs (example: on(press) {gotoandplay(60)}) still stay the same and are then wrong. Is there an easy way to get the numbers to change automatically when i do move everything? Thanks!

Loading A Movieclip On The Main Stage From A Button Within A Movieclip - Big Headache
Hi there,

i am trying to put together a portfolio site, which uses a 'floating' panel with buttons on it. In order for it to move around it has to be a movieclip. So all the buttons are stored within a single movieclip, which is giving me a headache because i want those buttons to load other movieclips from my library onto the main stage (as like a popup window within the flash)

Its all slightly confusing. i have tried using this code based within the movieclip where my button is based:

button_play.buttonMode = true;
button_play.addEventListener(MouseEvent.CLICK, OpenBox);
function OpenBox (e:MouseEvent):void{
this.addChild(new mc_box());
}


button play is within a movieclip called mcTweenMe2 (which is on the main timeline) and i want the movieclip to be loaded on the main timeline (not within in the movieclip where the button 'button_play' is based) mc_box is the movieclip i wish to load on the main timeline (in the centre) with the ability to close it also!

Bit of a headache, please help me someone i have run out of sites to look for answers!

PS: does anyone know why stop (); wont stop my timeline playing like it used to in AS2? beacause another option for making my site work is making this button target labeled frames in the main timeline, however stop (); don't seem to work now!

Thanks!

Changing Stage Color When Changing From Scene
Hi,
I would like to change the color of my stage when I get in my next scene, is it possible?

So when people look to the movie Scene one should be black and scene 2 white. Don't tell me to put a big white square at the button of scene 2 coz when put it online I want all my window to change from color.

Thx

Changing A Button Stage In One File From A Seperate File.
ok - here's my problem.
I had to go in and redo a flash file that my company had done by an external person.
It didn't work when it was placed onto the domino server so - they are having me rework it.

so ok- i have one file which is the "frame" so to speak with 5 buttons on it- when a button is pressed it calls or loads a seperate swf file into the current one. (ex. would be to picture a tv - thats the main file - the external files being called into it are the different channels)

now ive gotten the buttons to change when it is hit so that the user can keep track of where he's at- but the problem comes in the other external files. - in the external files ( or the channels so to speak ) there are foward and backward buttons ( < > ) to progress or go back in the presentation. once it hits the LAST frame in that movie it loads the NEXT movie - the problem im having is when the last > button is pressed and it brings in the next movie how do i make the MAIN movie that has the buttons on it change the state of the button to the down position?

Its kinda hard to explain - but the only thing i can think of is the concept of a tv.
U have ur buttons below it and buttons in the channels to go threw each presentation.
I mainly need to know how to control one thing in a swf file from another swf file.

would it deal with labeling? the frames..then using the telltarget? or what?

I can't figure it out for anything and its gettin me madddd
ughz.. so please any help i would realllly appreciate!!!!


Thanks!

Michelle C.R

Should Be Easy. How Do I Get A Frame In A Movie To Go&play A Frame In Main Timeline?
Hi,

I trying to get a frame in a movie clip (that's 1 level down the hierachy) to gotoAndPlay a frame that's on the main timeline that's labeled "Fade1".

How do I do it?

Any help is greatly appreciated.

I'm using Flash 5.

Dan

Cant Get Frame In Main Timeline To Play Frame In Movie Clip
Hi all,

Ok, I want a section of a movieclip to play up until a certain frame on the main, or _root timeline. Then I want a different section of the same movie clip to play. Now I have the movie clip all set up all fine and dandy, yet I cant get it to the frames or 'section' it is playing when it reaches the apropriate frame. I have the following code on the _root timeline frame.


Code:
gotoAndPlay("stop");
(I have a frame label "stop" where it should be) Is this the right code I should be using? It has worked in the past, but it has been in between an on (something) event/action (not quite sure of the correct termanology there)

Please help.

Flash Menu In Top Frame Link To Anchor In Main Frame?
I have created a flash movie to use as a manu system at the top of my page. I have 2 layers, top layer is for the flash menu, and the body layer for the text and tables.

I have anchor positions in my bodylayer. I can't seem to be able to make it go to the anchor position, it goes to the page but not the position.

Heres what I inputed:

Anchor Image = About

Flash Link = #About
Flash Target = _self

p.s. I have tried using just an image with the link to the anchor and it works fine.

Any suggestions, I'm at a lose here.

Thanks

Loading A Movie From A Movie On Main Timeline, To A Specific Frame On Main Time Line
I need help loading a movie from a button in a movie on the main timeline. To a specific frame on the main timeline.
i.e. I have a navigation movie, in it is a load of buttons. I want to load separate movies to a blank movie on a specific frame on the main timeline.
I guess I am having target problems, I can load the movie in the main timeline, but not the frame i want it or the the blank movie in that frame.

? About Jumping From A Frame In A Clip To A Frame In The Main Scene
Hello. I have a question. I have a question about jumping from a frame in a movie clip to a frame in the main scene. In my main scene, I have a "stop" action in frame one. In this frame, I have a movie clip that is 100 frames long. On the 100th frame of that movie clip, I want to jump to the 5th frame of the main scene. This is the actionscript that I tried, but it didn't work:

this.gotoAndPlay(5)
//This is the code that I placed in the 100th frame of my movie clip, but it doesn't seem to work.

What am I doing incorrectly? Thanks in advance for any advice! (I am using Flash 5)

How Do I Make A Frame-by-frame Character To Put Into My Main Movie?
Hi I am trying to create an animation to put into my main animation. Eg) a moving character who moves across the main movies page. I've drawn all the keyframes for it by hand, in a new movie window, but what do i do next to get it into my other movie as a moving character?

Main Stage?
Im trying to do this tutoral here: http://www.flashkit.com/tutorials/In...-532/more6.php

Everythings going fine then it says "Now go back to the main stage and drag an Instance of the window Movie Clip"

What the heck is the main stage and what does dragging an Instance of something mean?

Link From Frame In MC To Frame In Main Movie?
I am making a website. The entire thing is flash, meaning inside the flash website a link to the next page will go to a new frame with different content instead of opening a new .html page. One big movie. I have a movie clip as a rollout menu on the header of the flash movie website. I need to know if it is possible to make one of the rollout menu items link to a frame of the website and not a frame in the rollout movie clip itself. If so...how please. if I just put a frame number in the actionscript it stays in the rollout menu movie clip. I have tried giving the desired frame a label but that didn't do anything.

any help is greatly appreciated.

How To Using Frame Label From A Movie Clip To GotoAndStop To Stage Frame?
I have a 100-frame movie clip, a_mc, on the stage.
I want it automatically gotoAndStop at a certain frame, labeled as "about", on the stage (root level).
How should I do?
(AS3 version please...)

I know how to do this from a root to control a movie clip only.

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