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




Button, Movie Help



Hello thanx again for answering all of my questions, you can exspect many more coming..lol..

Ok, here is todays question...

I have made a movie clip for the over part of the button, now i should mention that the button is in a movie clip it's self. I did everything I'm suppose to, and the button works fine, but the movie for the button plays before the mouse goes over it, how can I stop it from doing that? I'm sorry if I'm not explaning this very good, but I am still new, and trying my best to. Thanx to everyone how helps me out!!


James of asydra m/



FlashKit > Flash Help > Flash Newbies
Posted on: 01-08-2002, 01:52 AM


View Complete Forum Thread with Replies

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

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

Display Movie-clip With Image/text/button ..when Clicked On A Button
We had generated a template.

Template has 2 area
Buttons on left and right had side area is blank

on click of button we want to display a movie-clip having image/text and buttons for nvaigation.


We found that on click we can display the movie ...it displays image text is not diapled. Also we want to display buttons on the same.

Your help is great value addtion to us.

Thanks in advance

Ramesh

On Stage Pressin Button..works, Test Movie, Press Button Dosent Work
i really need some help on that, it's really annoying me, on the stage i enable simple button and simple frame actions, then i click and it goes to the specified frame, but when i go and test the movie and click on the button, it just sits there, i've tried everything, any ideas?

Button: Level1 Button Tells Level2 Movie To GotoAndPlay
on (release) {
_root._level2.gotoAndPlay ("interact", "startscreen");
}
___________________________________________

What's wrong with that?

I have a button within a level 1 movie, and I want it to tell the movie on level2 to go to the 'startscreen' label within the "interact" scene.

I've tried a few variations, but nothing seems to make it work. Any ideas?

(the _root. thing was added, cause I saw everyone else using it. still doesn't work)

Thank you all for being so helpful in advance!

Tone.

Jumping To A Scene From Button In A Movie Clip Button?
I need to jump to a scene from a button inside a movie clip of ascene. Can any one please help? On the frame for the button in the movie clip I have this action script:

on (press, release) {
gotoAndPlay ("presCambells", "presCamp");
continue;
}

It works (with enable simple button action) in flash, however, when I publish and preview as a swf flash file it just shows the current scene with the movie clip looping after I click on it. Please Help.

Trying To Get A Button To Play A Movie Clip After I Click The Button
trying to get a button to play a movie clip after i click the button. right now when i preview my web i have to hold the button for it to play and after i let it go it dissaperes. please help with flash mx. use to corel rave so simple but limited

Movie Clip Within Button - How Do You Disable Down State Of Button?
Hi - I have created a menu down the side of my flash site which is in the form of a button so that when the user rolls over the button, it brings up the menu. Within, this button is just text - the names for each page the user can select to go to (text is within movie clips so I can add actionscript to them).

However, I want to add on (press) {gotoAndPlay("home",1); } etc for each movie clip within this button but when i test the site, this code does not work as the buttons down state has priority over the movie clips within it.

Is there some actionscript code which could disable the down state of a button? (as i only need the button as a rollover anyway and i need the movie clips within the button to have priority in terms of actionscript for linkage etc)

Thanks

Movie Clip Button Doesn't Let Button Change
if i have a btn inside a mc, and i want the btn to change colors in rollover but the movie clip on top does not let it. what can i do?


thanks gneius people

[f8] Button RollOver Show's Movie. How To Unshow Movie On RollOver Other Button
I've made a productoverview in flash.

There are 4 productphoto's (buttons with just a rollOver-function, no clicks).

Behind every productphoto there is a detailed product-specification (movie) that shows up when rollOver on the productphoto's.

So I want the product-specification movie to appear when theres a rollOver on the productphoto. The movie has to show on rollOver and has to stay visible on rollOut. But when u move to the next productphoto (rollOver) the previous product-specification movie has to disappear and the new one has to show.

I don't know what to do. so far i have this:

on (rollOver) {
tellTarget ("sony-1-1") {
gotoAndPlay (2);
}

Graphic In A Movie In A Button In A Movie In A Button?
ok i tried putting a graphic in a clip that fades into another graphic, an put the movie in a button, an i make another movie clip, so that on rollout of that button, itll fade back to the original graphic. and i put that final movie in a button so that i can put it on my scene in order to direct the button to go to a frame in the movie. but obviously there is a conflict in the actionscript and the final button in the scene doesnt redirect on press.

summary: i need an animated button that changes on over and changes bac on rollout so i can put on my scene. any advice?

[F8] Button Within A Movie Within A Button Within A Movie....so Close
Although I feel this is probably quite complicated, I am very much a newb, so I am trying here. I am self taught, with the help of my good freind, Dr Google and the many generous persons who are willing to share their knowledge with us Newbs.
This is what I want to be able to do:
have an swf file that when you mouse over it, another image slides up from the bottom to almost cover it. This new image has a button on it, that when clicked, performs an action (using getURL).

This is how far I have got
I have my swf file, and this other image slides up when mouse over. I have also tested the button action and it works.

This is my problem
When the new image slides up and stops, all is good UNTIL I put my mouse over the button. Then the slide up image cycles very quickly through its animation constantly. If I bring my mouse onto to the image above the button and bring it down onto the button, and it starts cycling, and I slowly move my mouse downwards, the cycling only comes up as far as my mouse is so that as my mouse travels down the screen the new image comes up the screen less and less (probably a red herring but I thought I should mention it).
I know it is not the actionscript in the button that does this because I have tried it with a button with no actionscript and it behaves the same.

This is how I got to there
I have an instance on the stage of btnPage, which is a button.
btnPage has in it an instance of Background_Image on the 'UP', and an instance of the same image on the 'OVER' with a movieclip as well called AnimPage, that starts below the stage and moves up via tweening. Now within AnimPage movie Clip I have three layers, the new image tweening up, an actions layer to get it to stop, and a third layer for the button.
It all works perfectly until I add the button. The way I have added the button it on the last frame I have dragged a jpg from the library and then right clicked on it and converted it to a button.
As soon as I do that the problem appears.

At 416KB the fla file is too big to upload (limit here is 300) so I will try to resize everything in the morning to upload it.
I am hoping there is something glaringly obvious to you guru's out there that can be seen without the fla, but as I said I will upload it in the morning.
I would be deeply, deleriously, joyed if anyone can help me with this.
Cheers Al.

How Do I Center A Text, Graphic, Button, Movie Clip Or Anything In A Flash Movie?
??
And also centering something in a rectangular. Please help.

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

Controlling The Main Time Line Of A Movie Via A Button Within A Movie On A Different Level.
Hi there!
I have two movie is two different levels,
Level 5 is my base movie and I am loading another movie on top of this into level 10.
Once the user clicks onto a button within the movie on level 10, I would like the animation in level 5 to stop (the animation runs on the main root timeline of level 5).

Once the user clicks on a different button within the movie on level 10, I would like the animation on the main timeline of the movie in level 5 to start again from the point where it previously left off.
Is this possible?

It would be great if someone could help me out with this.
Thanks, midi_ie

Movie Clip As A Button And Graphic As A Button
what is the "rule of thumb" for creating a button that has a movie clip. I often get confused to what order to do things...(ie..do I create the movie clip first, the button first)?? I'd like sound on different stages (over and down). Does that go into the button or actionscripting?...see how confusing it is???

Also if I wanted to pull a .jpg image into flash and have it drop down a menu..what is the rule of thumb to do that? (i.e. do I create the drop down menu first). I get so confused what order to do things...please help.

Many Thanks,
Andrea
fitchic77@yahoo.com

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!

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

How Do I Get An Animated Button Within A Movie To Play A Frame In A Seperate Movie?
i've got a menu made out of photo buttons that slide up and down. when i click on one of the buttons i want an area outside of the movie to refresh and show a full size version of the image.
how do i do this?
i have saved all the large images as a movie with the seperate images fading in and stop(); between each image.

Load Movie Command From A Button Nested In A Movie Clip.
I'm designing a flash site in which the navigation menu stays in place while content is loaded below it. I want each navigation button to load an SWF file into the dummy movie clip that is positioned beneath them.
But my buttons are placed within a movie clip infact 2 levels down in a movie clip..i.e _root.mc1.mc2.button ..(this is my path)
I m not gettin the write output i want to load the movie clip over the same file but itz not happening.
This is the scripting i have given on my button: (which is placed directly on stage)

on(press){
_root.createEmptyMovieClip("astro_mc",1);
_root.loadMovie("s1.swf", "astro_mc",1);
_root.astro_mc._x=200;
_root.astro_mc._y=200;

}

THIS IS GIVING ME WRITE OUTPUT but when i place d same button in the path i wrote earlier i.e in mc1.mc2.button , then my scripting does not work.. Kindly help me out.. I also tried giving _root. n ol.


Waiting desprtly 4 ur reply.

Load Movie Command From A Button Nested In A Movie Clip.
I'm designing a flash site in which the navigation menu stays in place while content is loaded below it. I want each navigation button to load an SWF file into the dummy movie clip that is positioned beneath them.
But my buttons are placed within a movie clip infact 2 levels down in a movie clip..i.e _root.mc1.mc2.button ..(this is my path)
I m not gettin the write output i want to load the movie clip over the same file but itz not happening.
This is the scripting i have given on my button: (which is placed directly on stage)

on(press){
_root.createEmptyMovieClip("astro_mc",1);
_root.loadMovie("s1.swf", "astro_mc",1);
_root.astro_mc._x=200;
_root.astro_mc._y=200;

}

THIS IS GIVING ME WRITE OUTPUT but when i place d same button in the path i wrote earlier i.e in mc1.mc2.button , then my scripting does not work.. Kindly help me out.. I also tried giving _root. n ol.


Waiting desprtly 4 ur reply.

Scripting A Button From One Movie To A Labeled Frame Of Another Movie (it's Scene 2)
Hello, I have researched this issue in this forum for days now and although what I have found, including the suggested tuturials, have helped me alot, I am still trying to make this work. The last script I attempted was this:

on (release) {
_level0.gotoAndPlay("Carlos_Portfolio_2005.swf_fra me_label1");

}

which didn't do anything. Not even an error... Before this script I tried this:

on (release) {
loadMovieNum("Carlos_Portfolio_2005.swf", 0);
_root.gotoAndPlay("label1");
}
but got this error:
Error opening URL "file:///Macintosh%20HD/Users/carlosguerra/Documents/My%20Art/flash%20pages%20for%20portfolio/Carlos_Portfolio_2005.swf"

The button itself, that I am scripting from, is named: return_button in the original movie.

I would appreciate any help!

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

Help Need To Load Movie Clip In Current Movie From Button
I need to play a movie clip upon pressing a button in the current movie. Movie clip shld play in the current movie.. pls help... thanks in advance!!!

Coed For Movie In Targeted Movie Clip From Button In Mc
Hello, hope someone can help me with this?
How would one or what would the script be for a
button inside a movie clip to load a movieinto a target movieclipon the main timeline as the button is inside a movieclip not on the main timeline.??????????????????

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.

A Button In A Movie Clip Controlling The Main Movie
I have a button in a MC, i want it to tell the main movie to go to (& stop at) a frame labelled "hr". why doesn't this work?: -

on (release) {
_level0.gotoAndStop("hr");
}

TY in advance

Button In Movie Clip To Affect Main Movie
HI

I was wondering how I can make a button in a movie clip affect the whole movie.

I have a button in a movie clip, that is in the main scene. But the button doens't affect the main scene, which I want it to.

THanks...

How To Load Sub-movie Include Button In The Main Movie?
helo there,

i need to find an answer to solve my flash speed problem, the problem is i made one website which i didn't separeat into several file, i put everything in one file, the file size is 2.48mb, and the sef file is 338kb, but when i test run it from online and offline, it seen very slow, everything turn up so slow, fast animation become slow animation, so now i wanna ask any god here can help to solve this speed problem??? because i really need to speed up the page.......!!!!

in the main movie page, there have main button, - middle main movie - bottom part movie, now the question is how to change the middle movie from movie 1to movie 2 or movie 3 without changing the main button and the main page???is it using load movie or loadframe???

I Want To Have A Movie That Starts Playing When I Click On Another Movie/button..
I want to have a movie that starts playing when I click on another movie/button and pauses or stops when I hit it again.. very simple, but I need help

Thanks

Button Inside Of Movie, Want It To Control Parent Movie
Hi, i tried finding this on your message board but couldn't find anything. Im trying to make a flash movie and im stuck on something that im sure is easy for a pro flash mx user. I have a flash document. There is a movie inside it. The movie has a button. I want the Button inside that movie to controll the flash document its in and make it go to frame 5. Could anyone try to help me out. I would really appreciate it. Im working in Flash mx

I thought this scrip would work.
on (release) {
_parent;
gotoAndPlay(5);
}

But it doesn't.

Please help
Thanks
Frank

Movie Clip Button That Takes Top Spot In Movie
I have a problem.
I have created 14 movie clip buttons. Each button has a roll over effect when you mouse over. When you mouse over there is a graphic that gets bigger and then gets smaller when you roll out. The problem is each movie is on it's own layer and when I roll over a movie, one will zoom under a movie and hide the image and if I put the movie on top of that one it'll cause the same problem for a diffrent one. This is what will fix my problem but I don't know how to implement the code. I need a code that will place the current zoomed movie on top of any other movie clip, so no matter which movie clip button I roll over and zoom,
the code will allow it to be the one on top. Can this be done?

Any help would be greatly appreciated.
Thanks in advance.
-Asesino

Problems With Loading External Movie From A Button In Another Movie....
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!!

Button Inside Movie... Movie Is On Main Timeline
Hey all, I have this question that a lot of people have asked, but I never found an answer to this question.

I have a button, and that button is inside a movie clip, and this movie clip is on my main timeline. How can I reach the button?

Thanks and kind regards...

Somberlain

Use Customise Cursor Over Movie Clip Or Button Only Not Whole Movie
i've found loads of tutorials which allow you to change your cursor over the whole flash movie but can anyone one tell or point in in the direction of how i can achieve this over a button or movie clip alone.

thanks dave..

Trying To Get Button To Change A Movie And Play Movie
Hey all,

I am having problems trying to get it so that when a button is pressed it will play the movie from its first frame but will also get another movie to play from a certain frame...

I am just trying to create a menu that has pop-up bits and once the user goes to another pop-up bit the one that was open before would close...

Thanks for your time, hope you understand the question cause Im still just a newbie to this stuff :/

Thanks

- Lone

Button In A Movie To Tell Target Movie On Timeline
I have this probelm where i want to tell a movie on the main timeline to gotoandplay (2) from a button within another movie. How do i do this and is it using something like _root.score?

Any help appreciated

Cheers
James

Playing Movie From A Button Inside Of Movie
I appreciate any help! I made a movie it has four buttons. I am try to Link those button to play four other movies. I am not sure of the Actions I need to apply inside of the movies.Or the actions needed in the main movie. My main objctive is to make a flash site with four clickable pages. Please Help Thanx

Puting My Button Movie Into My Main Movie AGH
OK so im trying to figure this out...

I made a small dimensioned movie consiting of 2 butons and 2 instances of each buton. simple, all it does fade in and out and move and tween and stuff. (Example 1st one is news.fla)

Once each button is done i will place it into my main animation (main.fla)

BUT HERE IS PROBLEM!!!!

when i import news.fla into main.fla it doesnt save or read any of the instances action commands or the frames action commands.


I tried messing with library sharing settings but it didnt work. If any one cane help or point me in a easier direction it'd be great.

THanks! =)

Button On Movie, Opens Another Movie In Same Space
have one movie with a "play intro" button

the button has

on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(11);
}
on (release) {
}
on (release) {
tellTarget ("_root") {
gotoAndPlay("1");
}
}

However when i preview, clicking on the play intro button opens the wrong movie. In gotoAndPlay("1") do I what do I change to find the movie I want to play. its a matter of name I assume but I can't figure it out.

Please Help With SWF Movie Button Keep Go Back To Main Movie
Hi thx for looking at this.
well...i have no ideas what is going on with this movie. i have two swf movie and one (picture) button on the top. everything load up fine except when u press down on the (picture) button it kinda go back to the main.swf then it load the pictures.swf, everytime you press the (picture) button it does that.
i have this script on the picture button

------------------------------
on (release) {
_root.contents.loadMovie("pictures.swf");
}
------------------------------

so maybe i have have it wrong.

Disable Button From Root To Movie Within A Movie
Please help... i have a flip book and when im on nother page, the button is still active on the back of the pages... so what i have is a button called "but_mov" within a swf called "list" which is in a swf called "book", now, from book i want to disable "but_mov"

i just need that one line so i can insert it into my if statement which will onnly enable the buton when im on that page in "book"

can anyone please help??

[CS3] Linking A Button In A Movie To A Frame In Another Movie
I have an issue with this webpage I'm working on for a client.
Under the models / fashion / Andrea gallery (I've been working on this because once when this issue is solved the rest will pan out correctly) I have a movie clip (contentMain) with buttons I need to go to polaroids_MC and play and stop a frame within that.

Because of the mask over the scrolling content, I can't include it into the same movie clip which would have made it way easier.

I'm a a loss on how to set it up. I have included the FLA file in hopes on shedding light on this issue I've been having.

Since it's kinda big I have it uploaded from my own webspace:
http://www.edgey-berzerker.com/anitanorrismm.fla

Run Button Inside A Movie Effect Outside A Movie
hi
I am working in flash 8 on Windows XP. I am creating a US Map Project . Under which when i mouse over on a particular US-state it's size is increased. I did it by using a movie clip. I made such moive clip's for each state of USA.
Now my requirement is when i mouse over on a particular US State it must grow its size. and further it must have few spots on that movie. on which when user clicks a small panel with some information about that location should be shown.

For this i made a movie for each US State. and set mouse over event .
on(rollover){
mcName.gotoAndPlay(2);
}
till here it works fine. But for further spots for locations i made button in each moive.

Now when i mouseover on movie it gives me desired results. But when i try to click on the button
inside that movie. It doesnt work.

Please Urgent Help is required .

Click The Button, Load Movie+another Movie?
Alright, so here is what I am trying to do.

On the home page, you can click so the featured series that I have to go to their pages.

(http://manga-addict.com/newio/index2.html)

Now, I want to make a page, section_manga.swf.

And then in that swf, much like in index.swf, have a masked area that loads another swf.

i.e.

>index.swf
>>section_manga.swf
>>>manga_jojo.swf

So my question is, can I make a button on the home page load the 'section_manga' part, with the 'manga_xxx' part?

Kinda like in PHP the whole

index.php?area=manga&manga=jojo

Is that possible? If so how? thanks !

Unload Movie Then Load Another Movie Same Button?
can I script a buttons to unload a movie clip or swf, then load a different movie?

HELP Loading Movie Into New Movie Button Problem
Hi all. I was hoping somebody here can help me. What I am trying to do is load a movie into a new movie, simple enough. Ive done this a few times and never had a problem. But the problem here is as follows. I have a menu bar fly onto the screen. Now the button that I want to press to load the movie is not following the action I am telling it. actually, i am probably using the wrong action. In the past I would just have the button there at all times and it works fine. So I assume that since this button is part of a movie, that is what is causing me problems. Here is the script that I am using.

on(release){
this.portfolio.loadMovie("web.swf");
}

portfolio of course being my blank movie.

Can anybody give me a hand here. I assume it has something to do with the path. Please help!!

Thanks so much

Joe

Movie In Button: How To Play Movie In Reverse...
I have a MC inside a button and I put in in the "Over" state. Can someone help me how to make the MC play in reverse on mouseOut? Or is there a better or easier way of doing this? Tnx!

Button In 1 Movie Initiating A Loadmovie In Another Movie
Is there any way of having a button in one movie, when pressed it loads a .swf into another movie..

I have two .swf's on a site and I need one .swf to load another one into a different movie.

Thanks for any help, I searched but couldnt find what I was looking for.

Click The Button, Load Movie+another Movie?
Alright, so here is what I am trying to do.

On the home page, you can click so the featured series that I have to go to their pages.

(http://manga-addict.com/newio/index2.html)

Now, I want to make a page, section_manga.swf.

And then in that swf, much like in index.swf, have a masked area that loads another swf.

i.e.

>index.swf
>>section_manga.swf
>>>manga_jojo.swf

So my question is, can I make a button on the home page load the 'section_manga' part, with the 'manga_xxx' part?

Kinda like in PHP the whole

index.php?area=manga&manga=jojo

Is that possible? If so how? thanks !

Unload Movie Then Load Another Movie Same Button?
can I script a buttons to unload a movie clip or swf, then load a different movie?

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