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








Embedded Button In Movie Clip


Hi,
I created an equalizer with a button in an external file. I am loading this clip into a container into another movie. The music starts to play automatically (which is what i want), but i have to push the "play" button twice to get the equalizer visual effects to start (after it starts, everything works fine). In addition, the standalone swf of the equalizer (when run by itself) works perfectly. I am not sure how to identify the button and either change it to "playing", which is in the action script or how to identify the button and call a "double click".

I am using the loadMovie("equalizer.swf",mc_eq) mc_eq is the container.

Thanks in advance for any assistance.

-mike




Adobe > ActionScript 1 and 2
Posted on: 05/21/2008 08:31:53 AM


View Complete Forum Thread with Replies

Sponsored Links:

[F8] Movie Clip Embedded In A Button
Hello, everyone! I'm new around here, and relatively new to Flash as well.

I am currently working on making a map. I've gotten the map completed, with basic navigation functions and whatnot, and now I'm working on imporving the map. The first way I though to improve the map would be to make it draggable, so that people don't have to necessarily use the navigation buttons to move the map around.

The map itself is a Movie Clip with embedded buttons and movie clips. After messing around with it for a bit, I learned that, in order to make the map draggabe, it needs to be a buttoon, so I could apply on (press) and on (release) actions to it. However, after doing this, I ran into a bit of a problem. Everything about the map works perfectly fine, except the optional selectable icons (such as parking lots and smoking areas, for example) can no longer be toggled on and off by the viewer.

I know what the problem is, I just don't know how to fix it. So, the button for the map is labeled "btn_map" and the movie clip is labeled "mc_map". Now, before I made the btn_map with the embedded mc_map, all I did was use the collowing code (dissmoking being the X next to the text that pops up when the item is visible):

on (press) {
if (this._parent.mc_map.smoking_mc._visible == false) {
this._parent.mc_map.smoking_mc._visible = true;
dissmoking._visible = true;
} else {
this._parent.mc_map.smoking_mc._visible = false;
dissmoking._visible = false;
}}

The problem is that, after embedding the mc_map into the btn_map, I can no longer direct the action script to the "smoking_mc" movie clip using this line of code: this._parent.mc_map.smoking_mc. I tried using the target locator as well, but the btn_map doesn't have the little plus sign next to it, indicating that I can expand it and select something withing the button itself, so I can't get access to the mc_map embedded in it. I've also tried adding in btn_map between _parent and smoking_mc, but to no avail. I know that it's either something really simple that I've just overlooked, or it just can't be done, lol.

If anyone could give me a hand here, I would greatly appreciate it!

View Replies !    View Related
Button Embedded In Movie Clip Not Responding
I've been using Flash for a while but not very intensely so I'm stil rather new to it.

I have several animated buttons inside of a movie clip which is inside a nother movie clip. When I play the SWF file, the buttons aren't active. For the over state of them, I have them turn white to let me know when they're working and when I play the file, they don't turn white when I move the mouse over them.

Can anyon tell me why this might not be working?

I'm running Flash MX 2004 btw.

View Replies !    View Related
Controlling A Button Embedded In A Movie Clip
Hello all!
I am creating a game where there is a box, and when you click on the box your score raises and the box moves to another random position.
I am using Flash 7.0.
I use attachMovie() to place the box, and I want to be able to access the button embedded in the movie clip that I attached. But how? Whenever I try it ends up doing nothing. This is kind of hard to explain, so tell me if you don't understand.
Thanks,
Blake

View Replies !    View Related
Targeting Embedded Button In A Movie Clip
I have placed a movie clip on my main stage. I've embedded a button (invisibleButton_btn) in this movie clip (puzzleOpen_mc). I've scripted the movie clip to go to certain frames on roll over/out using the following on my main timeline>actions layer>frame 1:

this.puzzleOpen_mc.onRollOver=function() {
this.gotoAndPlay("up");
}
this.puzzleOpen_mc.onRollOut=function() {
this.gotoAndPlay("down");
}

That works fine.

Again, on my main timeline (not the movie clip timeline) I've written the following on frame one of my actions layer:

this.puzzleOpen_mc.invisibleII_btn.onRelease=funct ion() {
trace("test");
}

The button does not trace when released. I've tried removing the "this." before everything and that didn't work. I tried adding "_root", "_parent", you name it. One thing that did make the button functional was removing the rollover/out statements and making the movie clip inanimate, but I need those to animate the movie clip. I've tried attaching the button script in the movie timeline's action layer. I've tried attaching the script directly to the button in the movie clip. I'm beyond wits end. Any suggestions would be greatly appreciated.

Thanks!

View Replies !    View Related
Button Embedded Inside A Movie Clip?
For the getProperty tutorial, he has a button inside a movie clip containing the

on (release) {
_root.xpos = getProperty ( _target, _x );

}


Does anyone know why the button has to be inside a movie clip to work?

I placed the code in the button without being in a movie clip and I kept getting 0 as my x position.

thanks for you help!

View Replies !    View Related
Targeting Embedded Button In Movie Clip
I have placed a movie clip on my main stage. I've embedded a button (invisibleButton_btn) in this movie clip (puzzleOpen_mc). I've scripted the movie clip to go to certain frames on roll over/out using the following on my main timeline>actions layer>frame 1:

this.puzzleOpen_mc.onRollOver=function() {
this.gotoAndPlay("up");
}
this.puzzleOpen_mc.onRollOut=function() {
this.gotoAndPlay("down");
}

That works fine.

Again, on my main timeline (not the movie clip timeline) I've written the following on frame one of my actions layer:

this.puzzleOpen_mc.invisibleII_btn.onRelease=funct ion() {
trace("test");
}

The button does not trace when released. I've tried removing the "this." before everything and that didn't work. I tried adding "_root", "_parent", you name it. One thing that did make the button functional was removing the rollover/out statements and making the movie clip inanimate, but I need those to animate the movie clip. I've tried attaching the button script in the movie timeline's action layer. I've tried attaching the script directly to the button in the movie clip. I'm beyond wits end. Any suggestions would be greatly appreciated.

Thanks!

View Replies !    View Related
Button Embedded In Movie Clip Not Solved
Very URGENT PLZ HELP Me......hi i had make a movie clip in flash that when the mouse roll on the clip the movie stop play and when the mouse roll over movie start playing in that i want to give link to seperate URL means for each photos in clip diff. url should be there i also tried that and i got 50% succeess the problem is that when i move mouse to clip the movie stops but the link doesnt work.

plz help me in sorting these problem....

View Replies !    View Related
Button Embedded In Movie Clip Not Responding
I've been using Flash for a while but not very intensely so I'm stil rather new to it.

I have several animated buttons inside of a movie clip which is inside a nother movie clip. When I play the SWF file, the buttons aren't active. For the over state of them, I have them turn white to let me know when they're working and when I play the file, they don't turn white when I move the mouse over them.

Can anyon tell me why this might not be working?

I'm running Flash MX 2004 btw.

View Replies !    View Related
Button Embedded In Movie Clip...not Working
I'm a pretty experienced Flash user, but mostly self taught and not at all an expert on ActionScript. Here's what I have going:

I have a movie with many multiple scenes embedded. In one of the scenes, I have a layer that has a movie clip inserted to a keyframe. In that movie clip, is a button that slowly floats around. I want to make it so that when someone clicks on the button, wherever it is on the page, it can load the scene that I specify. However, when I set up the action, and then click on the button, it just reloads the scene that the button is in.

Does anyone know an action I can use to correct this? Or do I just need to take the button out of the movie clip keframe, and just create the animation and motion in the scene timeline itself.

Hopefully someone can help. I'm thinking it's an easy fix, just probably something I've never come across before. Thanks!

View Replies !    View Related
How Do I Code For A Movie Clip With A Button In It Embedded In The Main Scene?
This should be easy for any one who designs websites in flash.

I have a movie clip embedded in my main timeline that appears after an animation sequence happens. In this movie clip is button that changes color when you rollover it and links to an email address. Pretty simple.

I am not sure how to correctly code the actionscript for this. So far, when you rollover the movie clip and try to click the button, the whole movie clip flashes.

How do I tell flash to point to the button embedded in the movie clip?

You can see the god awful mess I've created online at:

http://www.espavoproductions.com/flash_site.swf

Look at the CONTACT button to see what I am talking about.

Please help. I would be so very grateful.

-Stephanie

View Replies !    View Related
Making The Main Timeline Play From A Button Embedded In A Movie Clip
How does one make the main timeline play from a button embedded in a movieclip that is on the main timeline?

View Replies !    View Related
Embedded Video In Movie Clip
hi,
is there any way to place embedded video in a movie clip (rather than into the main timeline)and still utilize video controls as well (play/pause/stop)? i'm doing a cd-rom with several video excerpts, and want to keep the projector size down. thanks.

View Replies !    View Related
Controlling An Embedded Movie Clip
I'm new to the flash game, but I'm hacking my way through it fairly well.

My current problem is -- I have a little movie clip animation -- it's about 15-20 frames. I have it saved as a Symbol and I want to use it over and over again, in my main scene.

Now, I suppose I could just keep placing new instances of the symbol to play the animation over and over as needed... HOWEVER... I'd rather just be able to control the clip from the Main scene.

What I'd like to do is this: While the main root scene plays straight through -- it is a 200 frame animation -- I want to have complete control over the short nested clip. For instance, I might have it play through then freeze on a frame or "rewind" to frame 0 and play again as needed. Can I script such an action? Can someone give the procedure because everything I've tried is not working.


Thank you.

View Replies !    View Related
Location Of An Embedded Movie Clip
I need to find the x and y of an embedded movie clip in relation to the stage. _x and _y just give where the movie clip is in relation to its parent.
I tried:
_x + _parent._x and _y+_parent._y, but that didn't work

any help would be appreciated

View Replies !    View Related
Quiz Embedded In A Movie Clip
Hi guys,
I have got a quiz made by the quiz template, just by itself it's ok.
When I want to load this quiz into a movie clip in another document it won't work.

It loads the quiz, but when I click the next button,the button greyes out and doesn't change the frame.

Am I doing something wrong?

Cheers

View Replies !    View Related
Embedded Movie Clip Rollovers
I have a movie clip symbol (bar27), that when rolled over causes bar29 and bar30 to move over....

bar27.onRollOver= function(){
bar29._x +=8
bar30._x +=10
}
bar27.onRollOut= function(){
bar29._x -=8
bar30._x -=10
}


but also bar27 is a movieclip that has a rollover embedded in it....

main1.onRollOver = function() {
gotoAndPlay(2);
}

does the first rollover cause the 2nd rollover in the bar27 movieclip to not function correctly? if so, how do I get it to work correctly?

View Replies !    View Related
Buttons Embedded In Movie Clip
Question: Can you reference multiple buttons inside one movie clip? If yes, how do you do it, since the buttons would give up their instance name inside the mc, right? Or am I not thinking right?

Any insight would be helpful. No article I have found discusses this.

View Replies !    View Related
Embedded Movie Clip Riddle. (Flash MX)
Hi all,

While self studying embedded movie clips I created 2 cars moving accross the screen. In each car I have an embedded spinning wheel.

At the end of the race one of the car has its wheel still spinning!?!

I'm starring at my timeline, the movie explorer and can't see what's going wrong...

My example is in the cars.fla file.

View Replies !    View Related
Loading Movieclip Within Embedded Movie Clip
Hello, as an interface to a website I am creating, I have a movieclip that holds several movie clips that when the button they contain is clicked, it slides the movie clip left/right for people to see the content within. However, some of the content will be far too large in size to all load at the start. So, Is there a way to load external .swfs into embedded movieclips of root? that way, the loaded swf doesnt layer over top of all the sliding tabs, I need something that will be loaded according to the layer it is in.

Thanks

www.dangerradio.com/index2.html <-what I'm talking about if what I said doesnt make sense

View Replies !    View Related
Embedded Text Not Loading In A Movie-clip...
This script should work:

loadVariablesNum("http://www.jemcreations.com/jamesnews.txt", "type");

but all it does is load the .txt file in a new browser window.

Can someone explain levels to me also? thanks.

View Replies !    View Related
Pausing A Movie Clip Embedded In A .swf When The .swf Is Paused
Hi everyone,

I'm new to this site so I hope I'm in the right place - I've tried searching for this answer but have got nowhere.

I'm stuck on a problem I'm having with a flash animation I'm working on.

I have embedded several movie clip for various things inside the main movie.

My problem is that when the main movie is paused, the embedded movie clips keep on playing.

Is there a way to somehow link the embedded clips to the main movie so that if the main movie is paused, the embedded clips will pause at the same place?

Do I have to redo the entire movie un-embedding the movie clips to solve this problem?

Thanks for your help!

Meriel

View Replies !    View Related
Embedded Movie Clip To Play Maintimeline
Hello everyone, once again im really lost.

I have an embedded movie clip with two buttons. One button call a webpage which works beautiful. The Other button is supposed to Go Back to first frame of the main timeline. This does not work at all.

every time i try gotoAndPlay() method I get a undefined error so how do i get flash to know to look at the main timeline.


If anyone has an answer it will be greatly appreciated.

View Replies !    View Related
Attaching An Embedded Movie Clip To An Empty One
HI,

I am new to Flash and would like some help about the following. A have an embeded movie clip in my library that i want to attach to an empty movie clip I am creating with ActionScript. I want to fix the size of the empty movie clip, that I will use as a container to for my embedded movie clip. It turns out that when I fix the size of the empty movie clip container and I use attachMovie to load the embedded movie clip to it, the image doesn't show, I can hear the sound but not the image.
So the question is , if I have a movie clip container of a different size than the movie clipse I want to load into it, what do I need to do to make sure the movie clip will fit into the empty container.

thanks

-malena

View Replies !    View Related
Embedded Movie Clip Not Playing Properly
I'm at a complete loss as to why this isn't working, so hopefully one of you guys can offer some insight. I have a button in frame one that, when pressed, takes the viewer to frame two. This bit works fine. However frame two has a movie clip which refuses to play. I wanted an extract of text to fade into the animation when the viewer clicks on the button and the only way I could think of doing it easily was to create a movie. When I click on the button the text still appears but does not play the movie clip of it fading in. The frame it is embedded in also has the stop(); function assigned to it on a seperate layer, would this have prevented the clip from playing properly?
I'm reletively new to using Flash as an animation tool (I use it mainly for line art to be exported to Photoshop) and my knowledge of any kind of scripting is limited to html and css, so any help will be greatly appreciated.

[edit]So now it's working fine. I'm not sure what I did but I guess that means this post is null and void! Thanks to the people who checked it out, even if they had no solution.

View Replies !    View Related
Trying To Reach A Child/embedded Movie Clip
Hey guys... i'm new to the AS3 format and wow has it changed. but i don't know how to correctly ask this question, so forgive me if this is addressed in another post...but please provide the link..hahaha

here's my problem I'm trying to reference a dynamically created movie clip

function getContentData(xmlData):void {
for (var i:int = 0; i < xmlData.*.length(); i++) {
var mc:MovieClip=new navButtonAction();
mc.name = "mc"+i
mc.x=500 +(i*250);
mc.y=10;
mc.currentBut.text = xmlData.*[i].name();
//mc.imageShell.pctFieldText.text = "show % loaded here";
navMenu.addChild(mc);

loadImage("photo.jpg");
}
}


function loadImage(url:String):void {
// Set properties on my Loader object
imageLoader = new Loader();
imageLoader.load(new URLRequest(url));
imageLoader.contentLoaderInfo.addEventListener(Pro gressEvent.PROGRESS, imageLoading);
imageLoader.contentLoaderInfo.addEventListener(Eve nt.COMPLETE, imageLoaded);

}

function imageLoading(erogressEvent):void
{
***so the question is... how would i talk to the dynamically created "mc" here.***
so i can pass the preloading tally.
}

View Replies !    View Related
Referencing Embedded Movie Clip Function.
How fo I reference a function that's inside an embedded movie clip?

I have a mc_placeholder called Page1, on that page 1 is the embedded movie clip Textarea.swf. Textarea.swf just creates a text area on it. I just want to reference a function inside Textarea.swf.

The function i'm trying to call is called hello();

I've tried:

this.Page1.hello();
_root.Page1.hello();
this.hello();
_root.hello();
this.Page1.textarea0.hello();
_root.Page1.textarea0.hello();
hello();

None of these work. What's the correct syntax?

Thanks

View Replies !    View Related
Embedded Swf File Or Movie Clip That Can Open Html
Hey, i'm doing a website right now that so far the layout is entirely in flash. What i'd like to be able to do is have the content section of the site (the part in the middle) a movie clip that is opens an HTML site inside of it. What I have now is a top bar, and a navigation bar at the left,

http://members.shaw.ca/lyfe/retail/Untitled-1.html

So i'd like to be able to load an html file into the middle section. There are several reasons for this. First, it makes it so others without flash or flash knowledge can update the content, and will also separate the website into modules instead of one big swf.

If this is not possible, was thinking about starting in dreamweaver, importing the flash buttons, and somehow connecting those to the content section of the site.

Can someone please direct me to a post, tutorial or something else that could help me mix HTML and flash? Thanks!

View Replies !    View Related
Url Links In Movie Clip Do Not Work Once Embedded In Html
Hi, i am creating a website and using a small flash intro. I have created a flash intro movie and embedded this into a blank html page. The movie is embedded fine the play/begin intro button i have used works fine along with the actual intro, however the get shockwave, and enter (to my actual html website) url links do not work at all. They do show up as buttons as the cursor chages to a hand symbol but they seem to not function. However in the actual swf file for the intro and testing the movie in flash the buttons work fine. I have searched but found no help.

Hope to hear frm someone soon, please feel free to email me at locked_on_aj@hotmail.com. Maybe i could send someone my fla file to look at?
kind regards -Ajay

View Replies !    View Related
Random Number To Choose Embedded Movie Clip
Hello Flash Experts!

I'm under the gun again. I have thrown together some simple flash in the past before, but I'm no actionscript expert. Here's what I need to build by tomorrow:

A script that, when you click on a button, selects a random number from a range of 1-1200. I assume I need to pass this number into a variable, because depending on where that number falls (say 1-210 = clip 1, 211-460 = clip 2, and 461-1200 = clip 3) I need to have flash play the corresponding movie clip.

I'm finding plenty of scripts for generating random numbers in a range but I don't know how to populate that into a variable or write a conditional statement to play the correct clip. The more complete the help you can give, the more I thank you!

View Replies !    View Related
Communicating Between Embedded Movie Clip And Container Movieclip
Hello all,

I have to two movieclips, movieclip1 and movieclip2

movieclip2 is nested in movieclip1

What code would I write if I wanted movieclip2 to tell movieclip1 to
ActionScript Code:
gotoAndStop(currentFrame + 1);
?????????

View Replies !    View Related
Dynamic Text Box In Embedded Movie Clip Symbol.
I'm sure the solution to this is obvious but I'm afraid I'm quite new to ActionScript,

I have created a dynamic text box which updates from the computer clock and always displays the correct time, this works fine with the code;

var myTimer:Timer = new Timer(500);
myTimer.addEventListener(TimerEvent.TIMER,tick);
myTimer.start();
updateTime();

function tick(event:TimerEvent):void {
updateTime();
}

function updateTime():void{
var date = new Date();
var mins:uint = date.getMinutes();
var hours:uint = date.getHours();
timetext.text = pad(hours) + " : " + pad(mins);
}

function pad(number:Number){
var new_num:String = String(number);
if(new_num.length < 2){
new_num = "0" + new_num;
}
return new_num;
}

I've then embedded this in a flash movie and imported it to a website I'm working on, now that its embedded the time is no longer displayed, I've checked through the code and nothing has been changed, it's still on the same computer i originally made the movie clip on so the font itself shouldn't be missing i don't think...

any ideas? I'm a bit stuck here.

thank you for any help or opinions!

View Replies !    View Related
Dynamic Text Is Undefined In Embedded Movie Clip
I have a movie clip. When I add a dynamic text field to the root level the field works correctly, but when I add the field to an embedded movie clip it becomes undefined.

I've tried using relative and absolute paths in case that made a difference but it does not.

In an as file I have:
lyricsBox.text=lyrics;

and the dynamic text box has an instance name of lyricsBox.

How do I get this to display in a nested movie clip?

View Replies !    View Related
Jumping From Scene To Scen With Buttons Embedded In Movie Clip
I could do this in Flash 4 but it isn't working in Flash 5. I'm trying to get from scene to scene with a button that's embedded in a movie clip. In the first scene the movie clip begins to play and the button appears. I want to be able to click that button and move to the next scene.

Here's my code:

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

What am I doing wrong here?

View Replies !    View Related
Passing Variables To Control Motion In Embedded Movie Clip
Hello,

I have this problem: I have embedded a movie clip and I use a lot of its instances in a single movie. I want to pass some variables to the movie clip so to control the movement (beginning and ending of a Motion Tween) of a dynamic text input inside it. I don't know how to do that.

Please help me!!!

Thanks in Advance,
Stratos Filalithis

View Replies !    View Related
Embedded Flash Mx Presentation Template Within A Movie Clip Problem
i embedded a duplicate of the flash mx presentation template within a movie.

i made it into a movie clip.

movie clip (the presentation slideshow template in flash mx)
nested in
another movie clip (called slideshow)
in the
2nd scene

i tried replacing all instances of _root.currentframe and _root.totalframes to

_root.slideshow.currentframe and _root.slideshow._mc.currentframe

but it still doesnt work

did i get anything wrong??? or did i just forget to change something else?

having problems with reffering to embedded movies ..are there any good links to tutorials regarding this? or is it really a simple thing that i dont get? can someone give me the guidelines for calling embedded actionscript.


im sure a lot are also having trouble with this.
thanks so much.

View Replies !    View Related
Resizing A Movie Clip Without Sizing The Embedded Text Field
I have an input text field inside a movie clip. The user is able to resize the clip. I want the text to remain it's normal 12 point size but it scales with the movie clip. How do I prevent this?

View Replies !    View Related
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!!!!!

View Replies !    View Related
Problem With Scrolling Text Marquee. Buttons Embedded In Movie Clip.
Hi everybody. I was wondering could someone help me with this problem. Firstly let me mention that Im using Flash 8. I am creating a kind of scrolling text marquee. I want a list of options to float from right to left and when a user puts their mouse over the options, they all stop and the user can click on them. If however they do not click, I want the list of options to continue floating to the left.

The effect is kind of like that you would see on a newpaper site.

Anyway I have a movie clip which has only two layers inside it. On my first layer I have a graphic which simple consists of the text. I have created a motion tween on this graphic to have it follow from stage right to left.

On my second layer I have invisible buttons, which move along concurrently with the text. They are linking out to various websites.

Then back out on the main timeline i have some actionscript which is attached to this movieclip which says on mouse over to stop and on mouse out, play again. The annoying thing is that this mouse over stop is halting the buttons from working.

Does anyone have a tutorial or a tip for me relating to this?

I hope I have been clear.

Thanks in advance.

View Replies !    View Related
Controlling A Movie Embedded In A Button
I am working on a bilingual storybook application in which the user clicks on a button to toggle between English and Yupik (native Alaskan language). The button should display a 'Y' to switch to Yupik, and an 'E' to switch to English.

I have created a movie icon with two frames, one containing the E and the other the Y. When the user clicks on the mouse, the button moves from frame one to frame two, but when they release the button, it returns to frame one. How do I control that movie so that it moves from one frame to the other each time the button is released?

Thanks.

View Replies !    View Related
Newbie - Trouble With Movie Embedded In A Button
How do I get it to not play again after clicking? I realize it is responding this way because after I click, I am technically "mousing over" because my mouse is still there. Do I need to do this differently or is there some simple text I can add so that it doesn't play again?

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

View Replies !    View Related
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?

View Replies !    View Related
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.

View Replies !    View Related
Create A Movie Clip As A Button To Jump To Half Way Through Another Movie Clip?
hi guys and gals,
i am wondering if i can make a movie clip (as a link for a website) jump to half way through another movieclip...
thanks in advance

View Replies !    View Related
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

View Replies !    View Related
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!!

View Replies !    View Related
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

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

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

View Replies !    View Related
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

View Replies !    View Related
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.

View Replies !    View Related
[CS3.AS2] Button In A Movie Clip Link To Another Movie Clip And Play
what im doing is that making a button in a movie clip link to another movie and play/stop certain parts of that clip

lets say that there are 4 buttons are in movieA, and the other clip is called movieB

when the user clicks button1 in movieA, movieB will play from frame 1 to 5 and stop.
when user clicks button2 in movieA, movieB will play from frame 5 to 10.
and so on

so far my code for button1 is:

on (release){
this._parent.movieB.gotoAndStop(5);
}

on (release){
_root.movieB.gotoAndStop(5);
}

button2:

on (release){
this._parent.movieB.gotoAndStop(10);
}

on (release){
_root.movieB.gotoAndStop(10);
}

with this code, it just jumps to the designated frame.
what i want is to have it play from current frame to a designated frame

can anyone shed some light on this?

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved