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




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.



FlashKit > Flash Help > Flash MX
Posted on: 10-08-2003, 02:37 PM


View Complete Forum Thread with Replies

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

Calling To A Different Scene, Inside A Movie Clip
I've created a movie clip, then inserted buttons in it. How can I make those buttons open up a different scene???

Calling A Scene From Inside A Movie Clip?
Hi

I have a Movie clip on my main stage. This movie clip contains all my buttons for my website. How can I make the buttons call another scene from inside this movie clip?

Can some1 help me out here?

If ur not sure what i mean, I will try and re explain it

PLease help me

Calling Button Inside Movie Clip
I'm using movieClipLoader to load swfs into my main page and everything works fine as long as all of my buttons are not within a movie clip. How do I get my movieClipLoader to respond to buttons within a movie clip?

Here's the code of tried that is not working:
ActionScript:
movieClip.movieClip2.button.onRelease = function () {
_level0.myMCL.loadClip("contact2.swf", 5);
};


Here is the file containing the code
Here is the file the button links to
And finally, here is the file where my movie clip loader script is located

PLEASE HELP Button Inside A Movie Clip..to Call Different Scene On The Movie
i have a button "within" a movie clip, i cant get it to work to call another "scene". i already used "_root." so the command will apply to the main time line but still, its not working.


on (release) {
_root.gotoAndPlay("scene2", 1);
}
thanks!

'Go To' A Scene From Button Inside A Movie Clip
Any help appriciated. I made a drop down menu with several buttons inside a movie clip. When one of the buttons inside the movie clip is clicked, I want my move to go to a different scene. I can't seem to get this to work. I've tried...

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

and

}
on (release) {
gotoAndPlay (".root_artist", 1);
}

Please help

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!!!!!

Change To Another Scene With A Button Inside A Movie Clip?
How do you make a button take you to another scene if that button is placed within a movie clip and not on the main stage.

I have 2 scenes i want to jump back and fourth to.

One is called menu and one is called overview.

On the menu screen I have a movie clip which contains a button within it. For the button Action I have the following code...

on (release) {
gotoAndPlay ("_root.Overview", 1);
}

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");
}

HELP Button Inside Movie Clip NAVIGATION To Next Scene
What scirpt would i put on a button to go to a new scene if the button is inside a movie clip........

Linking To Scene 1 From A Button Inside A Movie Clip.
Howdy people, first post.

Trying to do my flash assignment and Im stuck and cant find anything in the search so had to sign up to see if anyone can come to the rescue!

basically exactly how the thread words it.

i have a movie clip on Scene 1, when movie clip is rolled over it goes to its frame 2 where other stuff happens, one of which includes a button. how do I go to a frame number in scene one when the button is clicked which is inside the movie clip?

Ive tried

Ive got a button inside a movie clip, and when the movie clip is rolled over it plays, then the button can be pressed and becomes clickable.

How to do I get it, when clicked, to go to a certain frame in Scene 1 ?

Ive tried

on (press) {
gotoAndPlay(45);
}

and

on (press) {
Scene 1.gotoAndPlay(45);
}

both no luck anyone able to help

Ive tried a get URL command, even into a javascript window and can get it working fine, but for some reason cant get this working

How To Make A Button Inside A Movie Clip To Go To A Another Scene ?
october 25th ,2002

I have a button inside the time line of a movie clip ;
that movie clip is placed onto the time line of scene 2;
I have tried to make that button to get back to a previous
scene with different actions haven´t worked as below :

......

1- (jazz gallery is the name of that previous scene)

on (release) {
gotoAndPlay ("_root.jazz gallery", 1);
}

.......

2- I issued this label , jazz_gallery1 , at the scene I want to go


on (release) {
gotoAndPlay ("_root.jazz gallery", "jazz_gallery1");
}

........

3-

on (release) {
gotoAndPlay ("_parent.jazz gallery", 1);
}


........

4-

on (release) {
_root.gotoAndPlay ("jazz gallery", 1);
}


......

None of all above has worked !
Can someone please tell me what´s wrong ????
Thank you very much.
Cheers
MMKT

Button Inside A Movie Clip Controlling The Main Scene?
Hi, I have a button inside a movie symbol that is on the main scene.

When it is clicked I want to move to a certain frame on the main scene.

I have double clicked on the movie symbol and attached this script to the button:

on (release) {
tellTarget ("this._parent") {
gotoAndPlay(5);
}
}

but it doesnt do anything.

What is wrong?

Thanks.

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!!

How To Load A Movie In Main Scene While The Command Is Inside A Movie Clip?
Hi all,

Well, I have a scene that has a movie clip, and inside this movie clip there is a button. I want to program that button using ActionScript to loadMovie named "1.swf" inside a container in the main scene (which this movie clip belongs to).

Hope the question is clear and hope to get a fast answer as it is urgent..

Thanks alot in advance.


Regards

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!!!!!

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.

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.

Calling Javascript From Inside Movie Clip
Hi, guys and gals.
Hope you are cool.
I also hope that someone can help me where my teacher can't.
I have a button inside a movie clip on my main timeline. On the button I am trying to use a GetURL to call a javascript function.
I have tried this script:
on (release) {
getURL("_root.javascript:UpDownSteroid()");
}
This script opens a new page, which is an improvement, but it never finds the javascript.
Please help, as I am tearing my hair out!
Thanks
Carly

Calling Javascript From Inside Movie Clip
Hi, guys and gals.
Hope you are cool.
I also hope that someone can help me where my teacher can't.
I have a button inside a movie clip on my main timeline. On the button I am trying to use a GetURL to call a javascript function.
I have tried this script:
on (release) {
getURL("_root.javascript:UpDownSteroid()");
}
This script opens a new page, which is an improvement, but it never finds the javascript.
Please help, as I am tearing my hair out!
Thanks
Carly

Calling Variable From Inside Movie Clip
Hi
I'll try to explain the situation as best as i can.
I have _global.name; set on the first frame of the scene and the system would then ask me to input my name in an input text field then store my name in the name variable. This input text field is inside a movie clip and I have a button in the movie clip that have these actionscript :
on (release) {
name;
_parent.gotoAndStop("map");
}

Map is the label I put in the scene btw.
And in the "map" label, I have a button that will display my name when I click on it. So I will have a dynamic text field named "nameoutput" and the button have these actionscript :
on (release) {
nameoutput = +name;
}

I dont have any clue what went wrong..
Help pls..

Calling Local Variables Inside Of A Movie Clip...
I'm using Action Script 2 with MX 2k4 and I was wondering how to call local variables that I declared inside of a movie clip...

The action script that needs to call the vars is located on the first movie clip, which contains another movie clip.

This is the code I have:

code: if (this.MOVIECLIPNAME.VARIABLE = "true"){
//code
}

Any help would be much appreciated.

[CS3] Calling Parent Frame From Inside A Movie Clip - Help
I have a movie clip on the stage (scene1) and in that movie clip i have a button. Now when i click the button, frame 1 in scene1 (the parent frame/scene) should play. How do i do that?

Thanks.

Calling A Frame From The Maintimeline From Inside A Movie Clip.
I am have a stop action on the main timeline. from there i have a button that jumps and stops at the next frame where a movie clip plays. inside this movie clip, at the last frame, i want a button which when released will go to the next frame which is labeled Step2 in the main timeline, but i am having a tough time figuring out the right path.

any help would be appreciated. i tried the

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


but for some reason it stays within the current MC timeline instead of going to the main timeline

Going Nuts...calling Functions Inside Movie Clip..
hey all,

i need some help with calling a function from within a movie clip.

i wrote a function that is with a movie clip, something like this:
-----------------------------------------
function didYouRegister () {
if (userLevel == 1) {
loadMovieNum ("http://www.cnn.com", "blank");
} else if (userLevel == 2) {

}
loadMovieNum ("http://www.cbc.ca", "blank");
}

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

now, when the movie is loaded i need flash to figure out if the user has registered. in the main time line on the action script layer,i have this line of code, which should kick the user the cnn.com (according to the fucntion "didYouRegister") :

userLevel = 1;


now this is the line of code i have, also in the main timeline in the action script layer, that is supposed to call the function:

callFunction.didYouRegister();

The "callFunction" is the name of the MC that is holding the function called "didYouRegister"


So after all this, i cannot get the fucntion to be called.
Can anyone point me in the right direction?
Thanks so much.

Linking To A New Scene From Inside A Movie Clip
i have a button inside a movie clip that when pressed i would like it go to the beginning of another scene.... what am i forgeting ive tried
on (press) {
_root.invoice.gotoandplay;
}
invoice being the name of the next scene....


your comments are appreciated.... i really want to go home

Scene Navigation From Inside Movie Clip
i am having a problem with getting a movie clip to target a new scene. The movie clip is on scene 1 frame 1 with a stop action. All the action takes place in that movie clip. At a certian point i want to go to a new scene but it will either just stop at the end of the movie clip or it will play the movie clip from the beginning depending on which way i try to code it. I have even tried targeting a movie clip that contained just the code to go to a new scene and that still didnt work. Any help would be greatly appreciated.

Function And Target Problem (calling From Inside A Movie Clip's Timeline)
(Using Flash MX 2004 Pro, AS2)
I have a whole bunch of custom setInterval functions defined in an included AS file that have either a 'gotoAndPlay' or 'function()' action within. All of my setInterval functions that are being called globally from the main timeline of the movie work beautifully, however I have two calls that are calling their function from within a movie clip of the same timeline...they are not working, they're not even calling back to the function. Here's my function code in the AS file:


Code:
function cardRevealPause(){
gameLogic.gotoAndPlay("shuffle");
clearInterval(welcomeTimeOutIntervalID);
clearInterval(gameTimeOutIntervalID);
clearInterval(cardRevealPauseIntervalID);
}
Here's my global call code from within the movie clip 'gameLogic' timeline:

Code:
_global.cardRevealPauseIntervalID = (cardRevealPause, _global.cardRevealPauseInterval);
ANy thoughts as to why this won't work for me??? Thanks in advance!

Function And Target Problem (calling From Inside A Movie Clip's Timeline)
(Using Flash MX 2004 Pro, AS2)
I have a whole bunch of custom setInterval functions defined in an included AS file that have either a 'gotoAndPlay' or 'function()' action within. All of my setInterval functions that are being called globally from the main timeline of the movie work beautifully, however I have two calls that are calling their function from within a movie clip of the same timeline...they are not working, they're not even calling back to the function. Here's my function code in the AS file:




Code:
function cardRevealPause(){
gameLogic.gotoAndPlay("shuffle");
clearInterval(welcomeTimeOutIntervalID);
clearInterval(gameTimeOutIntervalID);
clearInterval(cardRevealPauseIntervalID);
}
Here's my global call code from within the movie clip 'gameLogic' timeline:


Code:
_global.cardRevealPauseIntervalID = (cardRevealPause, _global.cardRevealPauseInterval);

ANy thoughts as to why this won't work for me??? Thanks in advance!

Jumping To A Scene From A Buton Inside A Movie Clip
i need to make a button that is contained in a movie clip instance jump to another scene, but i can't seem to get it to work. this is the first time i decided to get organized and use scenes, so i dont really know how to do this. please help =)

so the action on my button (which is in a moviec clip) looks like this:

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

but obviously that doesn't work when the button is inside of a movie clip. any help is very much apreciated!

How To Make A Link From Inside Movie Clip To Another Scene
i made a movie clip that contains a button, but when i click the button it wont link to the next scene which i made in the actionscript...why?how to fix it?

Question On How To Direct To Different Scene Inside A Movie Clip
Hi

i am doing a slide show presentation. i had created a menu that links to individual slides.

these individual slide reside in each different "Scene". my menu is embeded inside a movie clip. but when i instruct the script inside the movie clip to goto the specific "Scene", it doesn't work.

the script does not recognise: _root.gotoAndPlay("Scene 2", 1) inside a movie clip.

how do i solve this problem.

many thanks.

How To Have A Button Link To A Certain Frame Inside A Movie Clip From Inside A Movie
Is this possible? I have a menu and would like to have a drop down box nested inside the menue which links to certain frames inside the main movie clip.

Button(movie Clip) Inside A Movie Clip
Hey guys,

I had 3 buttons in the main movie which was working fine.

an external actionscript file was responsible for the buttons' functions

playPause is the instance name of the button(made as a movie clip)


ActionScript Code:
playPause.onRollOver = function()
{
    if(this._currentframe == 1) this.gotoAndStop("pauseOver");
    else this.gotoAndStop("playOver")
}

What I wanted to do is create another button(instance name speaker) on the main movie that when a user rolls over with a mouse, it'll show the 3 buttons. Basically, a button(movie clip) in a button(movie clip).

I have this movie clip working fine but none of the action script on the original buttons are working (of course because target changed).

I have tried the following and it will not work (in external .as file)-


ActionScript Code:
speaker.playPause.onRollOver = function()
{
    if(this._currentframe == 1) this.gotoAndStop("pauseOver");
    else this.gotoAndStop("playOver")
}

any suggestions? thanks in advance

Button(movie Clip) Inside A Movie Clip
hey everyone, using flash 8 here,

here is my problem.

on frame 1 line 2 i have a button ( bt1_btn ) and added this code on frame 1, line 1
Code:
stop();

bt1_btn.onRollOver = function() {
_root.gotoAndPlay("animation"); // frame 2
};
which works fine,

on frame 2 line 2 i have this movie clip ( bt2_btn ) that contains animation and 2 movie clips ( buttons - capsules_btn, and cahier_btn)
i added this code which works also...

Code:
bt2_btn.onRollOut= function() {
_root.gotoAndPlay("home"); // frame 1
};
but, i can't seem to make capsules_btn, and cahier_btn to work.

i tried the obvious
Code:
on (press) {
trace("on press");
}
which resulted to nothing.

i tried using this code at the main level on line 1
Code:
bt2_btn.cahier_btn.onRelease = function() {
trace("button clicked");
};
and got nothing

i then tried this code on frame 1 line 1 of the movieclip bt2_btn
Code:
_root.bt2_btn.cahier_btn.onPress= function() {
trace("button clicked");
};
nothing also

wondered what am i missing, or what i aint doing right, either way, can anyone help me out here?

attached file included

thanks

Movie Clip Button Inside Movie Clip.
hey ive got a slider menu which opens when clicked. however the buttons (also mc instanced) inside the slider mc wont work... here is the code:

//Menu Slider Background
_root.menuSlider_MC.onRollOver = function() {
new Tween(_root.menuSlider_MC, "_x", Bounce.easeOut, _root.menuSlider_MC._x,-250, 20);s
}

_root.menuSlider_MC.onRollOut = function() {
new Tween(_root.menuSlider_MC, "_x", Bounce.easeOut, _root.menuSlider_MC._x,-305, 20);s
}

_root.menuSlider_MC.onPress = function() {
new Tween(_root.menuSlider_MC, "_x", Bounce.easeOut, _root.menuSlider_MC._x,50, 20);s
}

//Menu Buttons
_root.menuSlider_MC.web_MC.onRollOver = function() {
trace("yes");
}

the slider mc works however i cant seem to get the 'web_MC' to respond..

how can i fix this? cheers.

Using A Movie Clip Inside A Movie Clip To Start A Frame Of An MC Inside A Movie Clip
Situation:
I have a movie clip inside a movie clip with a button inside of it.

This button on release goes to a different movie clip(svideo) in a different frame on the maintime. This movie clip has a movie clip(portfolio) inside of it.
Okay: I use an absolute path on the aforementioned button
on release
_root.svideo.portfolio.gotoAndPlay(60);

But, for some reason Flash won't go to frame 60 of the portfolio movie clip that is inside of the svideo.

I have tried numerous variations on reaching frame 60 of portfolio. Like going to the maintime line and going to the portfolio MC. Also, portfolio and svideo are the instance names and not the name of the actual movie clip.

If anybody could help, I would appreciate it. Thanks.

[MX] Buttons That Are Inside A Movie Clip, Which Is On A Scene Do Not Work. Help Plse
ok, I have a website with 4 pages (home, services, portfolio and contact). on the portfolio page there are two buttons called "web" and "print". (Each page is its own scene.)

The web and print buttons are inside a movie clip. the reason they are in the movie clip is because i wanted them to float about the page (scene) looped. thus they are in a movie clip. when you click on each button they are supposed to go to their respective pages. Inside the movie clip i went in and added the "go to and play" action script. All other buttons on the site work except for the web and print button that move around the page in the movie clip.

so basically the buttons are now floating about on the page within the movie clip that is on the main scene. the problem is that when you click on the buttons they do not do anything. when you click on the button it changes color like it is supposed to, but it just doesent take you to its respective pages.
Thanks for any help....

Reply With Quote

Having A Button Inside A Movie Clip To Move The Root Movie To Another Frame?
i dont know much about actionscripting so explain to me in simple terms...

i have buttons inside a single movie clip and i want to have each button (when clicked or rollover-ed) move the frame header of the main (root) movie to another position. what actionscript does this require? and will each button actually be "clickable" since they're all encapsulated in ONE movie clip??


thanks

Movie Clip Buttons Nested Inside Movie Clip Dont Work
Hi people!
im having a problem here.

in my first frame i have a movie clip named "menu_mc".
i have this AS for this movie:

Code:
this.menu_mc.onRollOver = function() {
menu_mc.gotoAndPlay(8);
}
this.menu_mc.onRollOut = function() {
menu_mc.gotoAndStop(7);
}

thats working ok, the menu_mc plays on rollover from frame 8 till frame 12 where stops.
On frame 12 (this is inside the menu_mc movie clip) i have another movie clip, named button1_mc.
and also i have AS controling that MC:

Code:
this.button1_mc.onRelease = function() {
getURL("index.htm", "_self");
}


The problem is that when i rollOver on menu_mc it work fine and the button1 appears, the problem is when i try to click button1...
doesnt work.

the swf you can see it on www.wt.com.mx/menu.swf
can anybody help me please?
what im doing wrong?
or what other ideas can you give me so i can make that work.

thanks!

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

Movie Clip Inside A Sub Movie _ Button Wont Work
Hi,
my problem is i have a main movie, a sub movie and a button in the sub movie. everything is working fine until i press the button in the submovie to go to another page in the submovie, but the button wont work. i have tried frame numbers and labels with no luck.
I have posted the flas (main movie and submovie) at www.guntherrohn.com/team.fla  and www.guntherrohn.com/guntssite.fla

once on the homepage go to team page. the buttons i am talking about are on the seperate pages within team.
Thanks again for ur help
Regards

Calling A Movie Clip From A Button
Hi

I am trying to call a movie clip when the user clicks on a button.
I have attached

on (release) {
    point1.attachMovie(respon_001,point1a,1);
}

to the button

point1 being instance name of maovie clip
respon_1 being linkage name of maovie clip
point1a being the new name (not sure what this is for ???)
and 1 being the depth

I suppose another way round it would be to simply go from the button to an empty frame with the movie clip in, but i would rather not do it that way

cheers


Calling A Button Within A Movie Clip
I'm using movieClipLoader to load swfs into my main page and everything works fine as long as all of my buttons are not within a movie clip. How do I get my movieClipLoader to respond to buttons within a movie clip?

Here's the code of tried that is not working:

ActionScript Code:
movieClip.movieClip2.button.onRelease = function () {
    _level0.myMCL.loadClip("contact2.swf", 5);
};

Playing Movie With A Button Inside A Movie Clip
OK LETS START FROM THE VERY BEGINING HERE...

I HAVE A BUTTON THAT IS IN A MOVIE CLIP, WHEN I TELL IT TO GOTO AND PLAY THE FIRST SCENE FRAME 2, IT PLAYS THE ANIMATION IN THE MOVIE CLIP AND NOT THE SCENE. WHAT SCRIPT DO I USE TO TELL THE BUTTON TO PLAY THE MOTION TWEEN IN THE FIRST SCENE ON THE SECOND FRAME.

How To Manipulate A Movie Clip On The Main Stage From Inside Another Movie Clip
I have a button inside a movie clip, and I want it to work that when you hit the button, a different movie clip will go to frame 5. anyone know how to help? I think it has something to do with which level it is on, but I can't manage to figure out anything else.

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!

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