Can A Button In A Movie Clip Control A Different Movie Clip?
I'm working on a web page with a draggable menu which is in its own movie clip. Can the buttons in this menu affect different movie clips or the main page?
FlashKit > Flash Help > Flash ActionScript
Posted on: 05-02-2005, 01:49 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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
Using A Button In A Movie Clip To Control The Movie(and Not Movie Clip) Timeline
Ok i have a button placed in a movie clip. I want this button, when released, to go in another scene, frame one, on the movie(scene) timeline and not on the movie clip timeline.
So i tried: gotoAndPlay("mission", 1); (mission is the name of my scene)
But it goes to the frame 1 of my movie clip, It would be great if someone could tell me how i can control the movie timeline while my button is in a movie clip
thaks
Vakarm
Making A Draggable Movie Clip Control The Location Of Another Movie Clip
http://www.kineticz.net/jba/residental.jpg that is a picture of what i am trying to do. the white bar at the bottom is the draggable movie clip and the group of 3 pictures right above that is the movie clip that i am trying to control w/ the draggable clip. I am having trouble writing a script that will do this. any help you can give will be much appreciated.
Control Movie Clip With Button In MX
Er, simple question I know...
I want a movie clip in a scene to go to a specific frame of its timeline when I press a button also in the scene. With old Flash I'd do this with a tellTarget, how do I do it in MX? A listing of the steps would be much appreciated.
Movie Clip Button Control - Help Please
Hi all, I hope someone's around who can help with this. I'm working on a slot machine Flash, and I cannot seem to control it.
I have a button on the machine. When the user presses this button, I want it to play a movie clip (the spinner). I've tried all sorts of Target stuff, but nothing seems to work.
I've tried multiple times to search the forums, but it keeps timing out. Any suggestions/examples? Thanks in advance and happy holidays!
-Alyssa
Button Control Another Movie Clip
i have a button symbol that when pushed needs to cause a different movie clip to goto a certain frame. What is the code to do that? i tried a tell target but dont know if my set up was wrong.
thanks
Trying To Get My Button To Control Movie Clip
I using Flash MX. I have a button, that when you roll over 'clipA', it plays. Then when you roll out 'clipA' play in reverse from where it has left off. This is the script I've attached to my button:
code: on (rollOver) {
_root.clipA._currentframe+=1;
}
on (rollOut) {
_root.clipA._currentframe-=1;
}
And this script I attached to 'clipA'
code: onClipEvent (load) {
this._currentframe=0;
}
I get no action at all, where did go wrong?
Help Using A Button To Control A Movie Clip
Ive been working on an interface for a friends web site, ive gotten everything done but one thing.... Ive been trying to make a gallery which involes 4 buttons each when clicked should start a seperate movie clip but ive put in the script
(same idea for each button)
MB_But.onPress = function () {
MB_TinClip.gotoAndPlay(1);
}
but i get errors that i cant figure out.
any suggestions?
Movie Clip That Control A Button
HI there,
how can I make my buttons when movie clip is loaded to go to active state.
this is my code.
Code:
stop();
i = Math.ceil(Math.random()*4);
_root.nm.loadMovie("cento"+i+".swf");
var bt = "btn"+i;
bt.gotoAndStop(10);
trace(bt);
trace(nm._url);
var aLocalConnection:LocalConnection = new LocalConnection();
aLocalConnection.connect("demoConnection");
aLocalConnection.printOut = function(aString:String):Void {
i = aString;
_root.nm.loadMovie("cento"+i+".swf");
};
activebtn = 0;
activeanimation = 0;
btn1.onRollOver = function() {
if (activebtn == this._name) {
return;
} else {
btn1.gotoAndPlay("in");
}
};
btn1.onRollOut = function() {
if (activebtn == this._name) {
return;
} else {
btn1.gotoAndPlay("out");
}
};
btn1.onPress = function() {
activeanimation.gotoAndPlay("out");
activebtn = this._name;
activeanimation = btn1;
btn1.gotoAndStop("active");
_root.nm.loadMovie("cento"+i+".swf");
trace(activebtn);
};
btn2.onRollOver = function() {
if (activebtn == this._name) {
return;
} else {
btn2.gotoAndPlay("in");
}
};
btn2.onRollOut = function() {
if (activebtn == this._name) {
return;
} else {
btn2.gotoAndPlay("out");
}
};
btn2.onPress = function() {
activeanimation.gotoAndPlay("out");
activebtn = this._name;
activeanimation = btn2;
btn2.gotoAndStop("active");
_root.nm.loadMovie("cento"+i+".swf");
};
btn3.onRollOver = function() {
if (activebtn == this._name) {
return;
} else {
btn3.gotoAndPlay("in");
}
};
btn3.onRollOut = function() {
if (activebtn == this._name) {
return;
} else {
btn3.gotoAndPlay("out");
}
};
btn3.onPress = function() {
activeanimation.gotoAndPlay("out");
activebtn = this._name;
activeanimation = btn3;
btn3.gotoAndStop("active");
_root.nm.loadMovie("cento"+i+".swf");
};
btn4.onRollOver = function() {
if (activebtn == this._name) {
return;
} else {
btn4.gotoAndPlay("in");
}
};
btn4.onRollOut = function() {
if (activebtn == this._name) {
return;
} else {
btn4.gotoAndPlay("out");
}
};
btn4.onPress = function() {
activeanimation.gotoAndPlay("out");
activebtn = this._name;
activeanimation = btn4;
btn4.gotoAndStop("active");
_root.nm.loadMovie("cento"+i+".swf");
};
so nm loads random swfs and how to say when i = 3 , btn3.gotoAndStop("active");
first Swf is loading randomly then via LocalConnection continue to next number like i+1.
Now it works but only when is clicked..
thanks
Button To Control A Movie Clip
I'm new to actionscripting, so would appreciate some help with a problem:
On the right hand side of my movie I have a rectangular graphic - say it's called 'list'. On the left, I want to have two buttons - one to move the list up when you hold the button down, the other to move it down. When you release each button, the list should stay put and not jump back to a former position. Can anyone help me with the code? Many thanks.
Trying To Get My Button To Control Movie Clip
I'm using Flash MX. I'm trying to get an invisible button to control the timeline of a movie clip. On rollOver, I want my movie, clipA, to move foward 1 frame for every fps that the user is over the button, starting with frame 40, until clipA reaches frame 50. Then on the rollOut I want clipA to move backward 1 frame for every fps that the user is off the button until it goes back to frame 40.
I was trying to use _currentframe+=1 & _currentframe-=1, but i got no response. Any suggestions???
Trying To Get My Button To Control Movie Clip
I'm using Flash MX. I'm trying to get an invisible button to control the timeline of a movie clip. On rollOver, I want my movie, clipA, to move foward 1 frame for every fps that the user is over the button, starting with frame 40, until clipA reaches frame 50. Then on the rollOut I want clipA to move backward 1 frame for every fps that the user is off the button until it goes back to frame 40.
I was trying to use _currentframe+=1 & _currentframe-=1, but i got no response. Any suggestions???
Movie Clip Control From A Button
I can't get it to work.
Here's my action script
on (release) {
_root.movieclip1.movieclip2.stop();
}
why doesn't this work? I'm still new to action script..is there something I have done wrong?
Control A Movie Clip From A Drag N Drop Movie Clip
I need a script that allows the user to control the timeline of a MC from a drag-able MC.
Basically I want a MC that drags is constrained to the x position with a limited movement of say 100 Pixels, as the drag MC is moved along it controls the play position of a tween in a different MC.
So when you push the Drag MC back and forth it moves the second MC play position back and forth.
a great example of this is at http://fable.lionhead.com/fable.html
on the pop up book parts
Movie Clip Inside Movie Clip - Control From Timeline
hello all.
i have a movieclip (instance name: mov1) with a movieclip (instance name: mov2) inside of it.
mov1 is on my main timeline. I want to control mov2 from the main timeline. how can i do it?
i am trying what i thought would work which is
_root.mov1.mov2.stop();
Using A Button To Control A Movie Clip Position
I'm sure my asnwer is somewhere on here but I'm a still a novice at AS so I needed a detailed answer.
I have a small graphic that I want to slide up and down alongside a menu depending on which menu button I rollOver.
Example: The graphic starts out next to "home" and when my mouse hits "products" the graphic eases down next to products.
I can use SetProperty to just change the position but I want it to slide down and ease in.
Any help is appreciated.
Simple Button To Control Movie Clip
Hello,
I was relatively comfortable with AS 2.0, but am having a hard time warming up to 3.0. I feel that this should be something simple to find help online with, yet I'm finding it difficult to get a simple answer.
I have a button that is inside a movie clip within another movie clip:
mainMenu_mc > whoBtn_mc > whoButton
This button appears to work fine controlling a movie clip on the same timeline. This is the code so far (on an Actions frame in WhoBtn_mc):
whoButton.addEventListener(
MouseEvent.CLICK,
function(evt:MouseEvent):void {
whoGlow.gotoAndStop("click");
}
);
I have another movie clip on the main timeline that I would like to control with this button:
blackFadeBottom_mc
What would the code look like for this?
Any help is appreciated - Thank you.
How To Control Movie Clip After Button Is Pressed
How do you control a movie clip's animation after button is pressed?
I have created a Flash animation in a movie clip, but I want to let the animation play, and then it fades out when it reaches the last keyframe.
another instance, once another button is pressed-- I want the previous one to finish the animation and then the another button to start another animation.
Slider Button Control The Transparency Of Movie Clip
Hi,
Does anybody have an idea about how to let a slider button control the transparency of movie clip?
I constructed the slider with its action script and its moving up and down perfectly? but what i can't do is how to let this slider control the transparency of the mc!!
Thanks in advance ..
Button Control Of Specific Frame Within Movie Clip
Hi
I'm creating an interactive project for my 9th grade Studio In Art classes, dealing with 1 point perspective.
I need to enable a series of buttons to activate specific frames within a movie clip. I am using the Flash MX 2004 tutorial book, but cannot find any reference to changing arguments for timeline control.
This is the basic button command I'm using:
on (release) {
this.squareguides.play();
}
Can anyone tell me what to add to send it to a specific frame within the movie instance?
Thanks in advance..
Release A Button, And Be Able To Control A Movie Clip W/ Mouse
Hello. I'm trying to make a movie where after clicking on a button named maunal, you can control a movie clip with mousemove. Unfortunatly, I can't find the problem in the script. On the button I have:
on (release) {
manual == true
tellTarget ("manual") {
nextFrame();
}
tellTarget ("auto") {
prevFrame();
}
}
On the movieclip I have:
onClipEvent(mouseMove){
if (manual == true) {
nextFrame();}
}
My guess is it's in the manuel == true, but I don't know why. Any clues? Thanks,
-A
**Making A Button Control More Than One Movie Clip On Different Occasions?**
Okay... here's the deal, as best as I can explain it.
I am doing an interactive portfolio for a class. I am using movie clips to display each piece. The movie clip is set up as follows:
1. A stop on frame one.
2. Five frames of fade in.
3. Five frames of still.
4. Frame 11 has "gotoAndPlay(6)" to cause the still image to loop.
5. Frames 12-15 the image fades out and loops back to the stop on one.
So I have a series of movie clips set up in this same way. Each with thier own instance name. While each piece is up, a back button appears. On the back button, I have the following:
code:
on (release) {
if (_root.movieclipa._currentframe<=11) {
tellTarget (_root.movieclipa) {
gotoAndPlay(12) {
// etc etc....
Which should then play to the end and put the movie clip back to stop, and therefore invisible.
This works great with one image- exactly how I want it to go. But when I put the second images' script on the button- ex:
code:
on (release) {
if (_root.movieclipa._currentframe<=11) {
tellTarget (_root.movieclipa) {
gotoAndPlay(12) {
}
}
}
}
on (release) {
if (_root.movieclipb._currentframe<=11) {
tellTarget (_root.movieclipb) {
gotoAndPlay(12) {
// etc. etc....
Now, when I click the "back" button, it shows BOTH pieces fading out on top of each other. I was under the impression that the "if" statement would mean that the direction would only be carried out if that clip was currently being played.
I've checked and double checked, and the code checks and doesn't report any errors.
I'm sure this is something simple and stupid, but the resources on this site are huge, and I haven't found anything that's handling this exactly how I'm trying to handle it. I am relatively new to Flash.
Can anyone help me out with this one?? Thanks in advance!
Button Movie Clip Control And Alignment Issues
I’m trying to develop a flash based website to showcase our house project. My question is this: I have three plans that are on three different layers. I want users to be able to click on any of the three plans to 1) view a small version (a large thumbnail) 2) the option to open a larger view of the plan in a new window, or 3) return the plan to the its original location.
My desire is to animate the plan to “rotate” clockwise from its staring place to the display place (motion tween) elsewhere on the stage. If the user decides they do not wish to view the plan I want the user to have the option to click the plan which will cause the plan to rotate counter clockwise back to the starting position.
My other question is how to align a jpeg within a clip when it is loaded using the loadmovie action script. When the elevation is loaded into an instance “clip” the picture is located to the bottom right within the instance that I’m loading it to. Frustrating. My desire here is to align the picture in the center both horizontally and vertically.
Main Timelline Control With Button In Movie Clip
I'm trying to make a photo gallery site with a dropdown menu. Within the menu are buttons to jump the main timeline to the corresponding scene, each scene will have a different group of pictures.
I can get the buttons to work only if I don't have a 'rollover' and 'rollout' control on the dropdown menu (ie if the menu movie clip is NOT animated).
I'm pretty unfamiliar with actionscript so I would love some help.
http://www.missouri.edu/~bdlhb9/menutest.html
Here is the link to what I have. As you can see the buttons are not working but the movie clip is. How can I tell the buttons to work?
Thanks.
Using A Button To Control The Transparency (alpha) Of A Movie Clip
Hello i am completely new to the forum and i have been racking my brain searching for tutorials on this, i have done a search on buttons controlling movie clips and alot of stuff did come up but it was not exactly what i was looking for.
i am creating a HUD ( heads up display) for a game me and a few friends are making, i have windows i made in photoshop and turned into movie clips which i would like to control using buttons.
What i would like to do is when i click the buttons i would like them to control the transparency of the windows, for eg. when i click my button i would like the window to appear at 100% then when i click it again for it to go to 0% as if i have closed the window.
Any help would be greatly appreciated as this has had me up late so many nights. I am using flash cs3 and action script 2.0 as i a familiar with it.
Movie Clip/button Control Inside Other Swf File
Hello,
I have a tech question
I used this tutorial to create a fun scroll over function for an image.
http://www.flashkit.com/tutorials/In...1238/more2.php
It works great as a stand alone file, but when the swf file is used inside of my main swf file, the function no longer works.
It still recognizes that the image is a button, but the animation no longer plays when it is scrolled over.
Anyone have any thoughts on this?
Thanks a ton
Movie Clip _x Control By Button Is Working But Needs _x Constraints
I have a movieclip thats position is controlled by a mcBack and mcNext buttons. Everytime the button is clicked the button moves 100 right and if the other button is clicked the movie clip moves the other direction 100. This all works fine but I need the movie clip to stop when it it reaches -1928 in one direction and 0 in the other direction. Can anyone help me? Here is the code that makes the timeline move on the stage.
PHP Code:
mcBack.onPress = function(){
mc_timeline._x += 100;
}
mcNext.onPress = function(){
mc_timeline._x -= 100;
}
Control Root Movie Clip With External Button
Hi,
In lay-mans terms i have a main movie (level0 by default). You click on a button to load an external image (level1).
Under neath this now loaded image (mc) (level1) , on level 0 movie has the main site navigation buttons that are still active, which i want to de-activate (as it very easy to click on them by mistake, i can do this part.
But when the user unloads the image in level 1, i want the main buttons to go live again.
So on the main movie level0 my buttons are instanced as 'red' and have
two key frames - "active" buttons (active) on the timeline and "not active" buttons with both these labels.
So my level 1 movie when it unloads itself (via a button)
i have -
on release
tellTarget
("red")
gotoAndstop("active")
this does not work;
How do i tell level1 button to control a clip on _level 0 ??
i remember i used to put _levelx after mc instance year ago, but i have forgot how to implement it, since flash has now changed, and im using old version.
i can email a basic version over if anyone want to take a look.
Im using MX 2002 - don't give me any samples as i have never been able to open anything :( , from you very helpful members.
best,
rai
EDIT;
ok i just got it to work with the levels. But my problem now is this
by previously making the buttons on level0 a symbol (mc), the navigation stops working so i can no longer seem to go to other parts of the movie, instead of going to new labels on the main movie level0 scene 1, its just seems to play the timeline of the button MC within itself - movie clip 'red' and goes to active and not active labels.
Close but so far :(
Edited: 11/25/2007 at 04:53:51 PM by raigraphixs004
Code 4 MovieClip Button To Load A Movie Clip Into A Placeholder Movie Clip.
Yeah that title sounds a little confusing...so i will explain:
Is there a way to tell a "movie clip button" that once it is clicked on to load a "movie clip" into a "movie clip placeholder". So instead of loading an external swf into the placeholder, it will be a movie clip from within the same library. Putting every single custom clip on the timeline would take a while, so that is why I thought it would be easier like this, and the other movie clips are not that large that I want to load into it so there is no need for external swfs, trying to keep it clean. Here is the code along the lines I am trying to go for.
__________________________________________
this.profile_mc.onRelease = function() {
placeholder_mc.loadMovie("profileSection_mc","plac eholder_mc","_root.content");
}
__________________________________________
- "profile_mc is the button I am trying to activate to load the
"profileSection_mc" into the "placeholder_mc". but so far no good.
- the movie clips are within the same library, not on the timeline or external library.
- Is this possible?
Control Mouse Cursor And Movie Clip Using Same Button Commands
Can you control both a movie clip and the mouse cursor simultaneously whilst using one button.....essentially Im trying to get an animated gun to follow the mouse cursor, which will be invisible within the game,using the arrow keys. So when you press left the mouse cursor moves left and the animated gun aims in that direction, and moves by the same degree (angle)...any tips most welcome, or a better work around to achieve the same result.
Many thanks............
Button Action Not Working To Control A Different Movie Clip Timeline
Hi.
I have a button action not working to control another movie clip timeline. The movie clip timeline I want to control has an instance name but for some reason it's not playing. The button is on a different movie clip timeline. Both movie clips are on Scene 1. I think there is something wrong with my target path?
on(release){
_root.insMcWorkNav.gotoAndPlay("lbWork04");
insMcWorkNav is the movie clip, lbWork04 is the frame to play
Any suggestions? Thanks!
Problem In Button Script In Movie Clip To Control New Scene
hi,
do me a favour. i hava a problem in some actionscripting.
i have a button in movie clip and place this movie clip on the main stage and want to go to next scene through this button. i tried
_root.mybutton.onRelease = function () {
_root.gotoAndPlay("scene2", 1);
}
but this didn't work.
can u help me in this regard.
it is very urgent.
regards
ruchi
Flash 8 -- Trouble With Getting Button To Control Parent Movie Clip
I am making an e-learning where i have a shell file that holds a movie clip that loads in the lesson pages as they are called from a separate actionscript file. in the actionscript file, i have a global variable adds or subtracts, and then functions which place the lesson pages in the shell, etc. at the end of one of the lesson pages, i have a movie clip button that i need to remove itself and advance the user to the next page in the lesson.
my question is, how do i get the button on one lesson page to unload that lesson page from the shell movie clip, and then advance the user to the next part of the lesson?
HELP - Converting A Clip To Control A Movie Clip Raher Than Getting A Url - HELP
I've downloaded a movie from the FLASHKIT open source which scrolls to a link when the user types what they are looking for which is great!- see details below
+ + + + + + the clip im trying to convert + + + + + +
Search Window
http://www.flashkit.com/movies/Utili...27/index.shtml
2000-05-03 8.91
Search window with complete funcionality; resizable window with resizable scrollbar , arrow and enter keys functionality implemented, word find. Open source modified from Active Search by Degrees. By Nenad Markovic
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
NOTE- IM USING flash 5 so its automatically updating the scripting when i open the fla file
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
But i want the clip to give a Teltarget and goto comand in order to allow the user to navigate a flash movie rather than linking to external URLs
but i cant get the bastard thing to play ball- ive tried email the original author if the script but their eamil address in no longer valid
please help im on deadline
ross
ross@sevencreative.co.uk
NOTES
HERE IS THE SCIPT I THINK I SHOULD BE CHANGING
on (press) {
n = substring(getProperty("", _name), 7, length(getProperty("", _name))-6);
pressTime = getTimer();
trace (pressTime);
if (Number(n)<>Number(/:selectedButton)) {
setProperty ("over", _visible, true);
setProperty ("../button" add /:selectedButton add "/over", _visible, false);
/:selectedButton = n;
/:selectButtonNew = n;
} else if (Number(pressTime-pressTimeOld)<200) {
// extract button number
n = substring(getProperty("", _name), 7, length(getProperty("", _name))-6);
location = eval("/:link" add n);
getURL ("http:/ /" add location, "_blank");
}
pressTimeOld = pressTime;
}
on (release, keyPress "`") {
setProperty ("../button" add n, _visible, true);
}
on (keyPress "`") {
k = 0;
while (Number(k)<Number((1300-CPUlag))) {
k = Number(k)+1;
}
setProperty ("../button" add n, _visible, true);
setProperty ("over", _visible, false);
}
AND THIS IS WHAT IM TRYING AND IT DOESN'T WORK
on (press) {
n = substring(getProperty("", _name), 7, length(getProperty("", _name))-6);
pressTime = getTimer();
trace (pressTime);
if (Number(n)<>Number(/:selectedButton)) {
setProperty ("over", _visible, true);
setProperty ("../button" add /:selectedButton add "/over", _visible, false);
/:selectedButton = n;
/:selectButtonNew = n;
} else if (Number(pressTime-pressTimeOld)<200) {
// extract button number
n = substring(getProperty("", _name), 7, length(getProperty("", _name))-6);
location = eval("/:link" add n);
tellTarget ("nav") {
gotoAndPlay ("http://" add location);
}
}
pressTimeOld = pressTime;
}
on (release, keyPress "`") {
setProperty ("../button" add n, _visible, true);
}
on (keyPress "`") {
k = 0;
while (Number(k)<Number((1300-CPUlag))) {
k = Number(k)+1;
}
setProperty ("../button" add n, _visible, true);
setProperty ("over", _visible, false);
}
Pulling What Little Hair I Have Left Out On This Button Based Movie Clip Control
Hi guys,
Hope you can help as I've been stuck on this for literally days and I'm on the verge of tears / tantrums / self harm.
I have a site that is loading external movies into a container MC. What I want to do is get that external MC to play from a certain point when any other button is pressed.
Here's what I have at the moment:
code: on (release) {
loadmovie("site.swf", placement = "_root.container");
}
on release, releaseoutside) {_root.whereToGo="back";
}
whereToGo is a variable that I have in "site.swf" and "back" is a frame label in that movie also.
When I test the movie and click on my button it loads the swf in the container (all well and good) but when I click another button on the main timeline nothing happens. When I click a button within site.swf it plays from "back".
How can I get that instruction into the main timeline and not inside the swf that I've loaded?
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.
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!!
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!!!!!
Movie Clip Control Other Clip, Actionscript Help
How do I make a movie clip control another movie clip? In this case, when I click on the green box(Movie1), the blue box(Anim1) will move. I added "Stop()" to the first frame of Anim1. I think I got the actionscript right, any idea what's wrong?
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.
|