Movie Clip Problem ...[inidivdual Timing]
Hello all, especially [websam]
I pasted the problem before, and websam helped with the following code, which helped me to produce a same interactivity and non-interactivity in the same movie ... like it run with the pressing of the buttons and without the buttons, the non-interactive code for the movie was :
[sorry websam i didn't use Arrays in it ...]
Code:
i=1; mcNum = getNextHighestDepth(); thisMovie="Introduction_Play"; previousMovie="Mission_Playi";
delay = 15000; // 5 seconds loadIntroduction(); intLM = setInterval(loadMC, delay);
function loadIntroduction() { mc = thisMovie; omc = previousMovie;
_root.imode="[ non - Interactive Mode ]"; _root.attachMovie(mc,mc,mcNum); _root[omc]._visible=0; i++;
}
function loadMC() {
_root.imode="[ non - Interactive Mode ]"; /*if (i<=1) { mc = thisMovie; omc = previousMovie;
_root.attachMovie(mc,mc,mcNum); _root[omc]._visible=0; i++;
}
else*/ if (i==2) { omc = "Introduction_Play"; mc = "Mission_Playi" _root.attachMovie(mc,mc,mcNum); _root[omc]._visible=0; i++; }
else if (i==3) { omc = "Mission_Playi"; mc = "Objectives_Play"; _root.attachMovie(mc,mc,mcNum); _root[omc]._visible=0; i++; delay=15000; }
else if (i==4) { omc = "Objectives_Play"; mc = "Achievements_Play"; _root.attachMovie(mc,mc,mcNum); _root[omc]._visible=0; i++; }
else if (i==5) { omc = "Achievements_Play"; mc = "Temptation_Play"; _root.attachMovie(mc,mc,mcNum); _root[omc]._visible=0; i++; }
else if (i==5) { omc = "Temptation_Play"; mc = "Plans_Play"; _root.attachMovie(mc,mc,mcNum); _root[omc]._visible=0; i++; }
else if (i==6) { omc = "Plans_Play"; mc = "SStories_Play"; _root.attachMovie(mc,mc,mcNum); _root[omc]._visible=0; i++; }
else if (i==7) { omc = "SStories_Play"; mc = "Contact_Play"; _root.attachMovie(mc,mc,mcNum); _root[omc]._visible=0; i++; }
else if (i==8) { omc = "Contact_Play"; mc = "CSchemes_Play"; _root.attachMovie(mc,mc,mcNum); _root[omc]._visible=0; i++; }
else if (i==9) { omc = "CSchemes_Play"; mc = "ExportProcessing_Play"; _root.attachMovie(mc,mc,mcNum); _root[omc]._visible=0; i++; }
else if (i==10) { omc = "ExportProcessing_Play"; mc = "Handicrafts_Play"; _root.attachMovie(mc,mc,mcNum); _root[omc]._visible=0; i++; }
else if (i==11) { omc = "Handicrafts_Play"; mc = "Services_Play"; _root.attachMovie(mc,mc,mcNum); _root[omc]._visible=0; i++; }
else { clearInterval(intLM); } } stop();
};
With this code, the movie ran with buttons and it ran itself perfectly [non-interactively].
Now the only thing i want is that,
When the movie runs on its own, How can I assign diifernt time for each and every movie clip staying at the main canvas.
Like, at now, the movie runs while assigning a same time for every movieclip, alas but i want that there is a different time for different movie clip.....
FlashKit > Flash Help > Flash ActionScript
Posted on: 09-03-2004, 07:00 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Timing A Movie Clip To A Loadbar?
Hello,
I'm relatively new at all this flash stuff. I've read quite a few tutorials online, but I haven't found anything yet to answer my question about this.
Basically what I'm trying to do, is have a loadbar with a custom graphic above it. I want the graphic to slowly load in (as the load bar is loading) from each side (left and right) until it completes the graphic in the center. I can build a loadbar fine, but I'm perplexed as to how I might time the graphic (which I assume would really be a movie itself) to the loadbar, so that when the loadbar finishes, the graphic is also finished loading.
I'm sorry if this is really basic!!
I just can't figure it out for the life of me!
All help would be immensely appreciated!
Thanks!
-Daniel
Duplicate Movie Clip Timing Offset
I have a movie clip with an actionscript duplicating it 15 times, I'd like to randomly offset the timing for each duplicate to start.
Any suggestions?
thanks.
Movie Clip Timing - Newb Question
I am sure there is a way to make it so that when I have a movie running inside of another movie, that has to finish before the parent movie can go on, work more efficiently.
In detail: say I have a rabbit jumping movie clip, and a truck screaming towards it movie clip, I want the truck clip to play after the rabbit jumps, but I dont want to have to figure out how many frames the rabbit jumping takes up and then make the truck blank that many spaces. Is there an easier way?
And while I'm at it, how do I make a button play a sound when it's clicked?
-> RECO
Can Action Script Control The Timing Of A Movie Clip To Appear And Dissappear?
can action script control the timing of a movie clip to appear and dissappear?
if i want a particular movie clip to appear juz for a fraction of a second, how can i control it using action script?
i actually have a problem wif the keypress, when i press on the 'a' key of the keyboard, a movie clip (c1_g) is suppose to be visible, but only for a fraction of a second, then dissappear..
there no actionscript for 'keypressUp' i think .... here's the AS which i use..
on(press, keyPress "a")
{
c1_g._visible = true;
}
i hope you can understand what i am try to say here and help me...
thank u...
Can Action Script Control The Timing Of A Movie Clip To Appear And Dissappear?
can action script control the timing of a movie clip to appear and dissappear?
if i want a particular movie clip to appear juz for a fraction of a second, how can i control it using action script?
i actually have a problem wif the keypress, when i press on the 'a' key of the keyboard, a movie clip (c1_g) is suppose to be visible, but only for a fraction of a second, then dissappear..
there no actionscript for 'keypressUp' i think .... here's the AS which i use..
on(press, keyPress "a")
{
c1_g._visible = true;
}
i hope you can understand what i am try to say here and help me...
thank u...
Timing A Move Clip
I'm wondering if there is a way to assign a "timer" to a clip, so that after a certain amount of time elapses, it starts over.. any ideas?
thanks
[timing] Function Timing - Delay In Script
Hi all,
Back again to find help provided by helpfull flashers
Right now i have the following script
PHP Code:
var speed = 20;
MovieClip.prototype.slideIt = function(whereX) {
this.onEnterFrame = function() {
this._x += (whereX-this._x)/speed;
if (Math.abs(this._x-whereX)<1) {
this._x = whereX;
delete this.onEnterFrame;
}
};
};
green.onRollOver = function() {
blue.slideIt(520);
red.slideIt(550);
};
green.onRollOut = function() {
blue.slideIt(193);
red.slideIt(386);
};
What i want to do is pretty simple, i want the onRollOver to be delayed for a few seconds before it runs the slideIt script.
I searched on kirupa for similar actions and found this
http://www.kirupa.com/forum/showthread.php?t=47450
but how can i implement this in my own script ? tried a few things but all it does is either nothing or even more nothing ...
Need some help on this - Thanks in advance
Timing A Movie
i need a script that plays a movie in random times.
details, i have movie x.swf loaded into my main movie. movie x.swf is empty on the first frame with a stop action in it. what i need is a script that tells this movie to play every x amount of time. any ideas?
thanks
Timing Out A Movie
I am a flash newbie. My problem is that i hv a movie with 4 buttons and i want it this movie to start from frame 1 if any of the buttons are not pressed for 6o seconds. at the moment the movie stops at frame 200. i hv used the following code but its not working.......
onClipEvent (enterFrame) {
if (_root.delay) {
if (Math.floor(getTimer()/1000) == _root.lastTime+1) {
_root.delay = false;
}
} else if (Math.floor(getTimer()/1000) == _root.lastTime+_root.wait) {
_root.lastTime = Math.floor(getTimer()/1000);
_root.delay = true;
gotoandplay 1;
}
}
could anyone pls tell me whats the problem.........
thanks all
Movie Timing
I've got a problem with my movies lagging on the web. My movies are simple linear timelines that run start to finish (anywhere from 1000 to 3000 frames). They're about 300k-600k files. There's no fancy animation, basically just motion tweens. I do include preloaders (it is an older preloader script from the days of flash 5) They run fine off the hard drive but on the web they're slowing down considerably. my frame rate is 30 fps on most. I would expect the preloader to take care of this problem but I'm having no luck. Thanks, shagPun
Timing Movie Clips
IS there a way of getting a movie clip to play after a certain length of time, without using the timeline?
MOVIE Timing-sync. Help
Hello,
I just made a flash movie that goes along with a spoken track. I made it with flash mx on a Pentium 2, 350. I just checked the movie on a friends duel gig power mac and the timing is waaay off. The movie moves faster than the spoken words.
How can I make it consistently animate and sync up across different systems??
ANY help would be greatly appreciated.
Thanks!
Timing Off When Movie Downloads?
Hi all, Got a question that I hope is a simple one.
I created a music video-type thing in Flash that consists of a song playing (of course), flashing images and a few motion tweens. When I play the movie on my computer, everything syncs up perfectly. By that I mean certain images are shown at the exact moment in the song I want them to be displayed.
However, I uploaded the video to a website and now it's all off. Now when I download the video and watch it from the website, the images dont sync up with the music anymore.
I have 3 different videos. On one, the song finishes playing way before the images are done flashing. On the other 2, there are about 10 seconds of images left flashing when the song is done playing.
I hope I explained that ok. Thanks in advance for any help given.
Timing Loaded Movie
So, I am trying to get my wrapper swf to get the time of a loaded swf and accordingly slide my time rule. Does anyone have any suggestions?
Thanks.
Control Movie Timing
Hello..
I need some help.. What I would like to do is stop the movie on a frame lets say frame 10 for 15 seconds and go to the next frame. Can anybody help me do that?
Timing Movie Clips
Hello,
Ok I am making a menu that opens up on mouse rollover and I cant really figure out how to make the script to close it after a few seconds if they havent moved the mouse inside of it... I know that last sentence might not make alot of sense but Im basically just trying to make the menu move back to its original spot if the mouse hasnt rolled over it in 5 seconds. Can anyone point me in the right direction?
thanks
Timing Movie Loading
This is a very newbie question, but I have three files, the base file which is always visible and and 2 .swf that are loaded in at certain times at different spots on the base file. I want Movie B to load right when Movie A ends. How is this done, do I use variables?
Timing Movie Clips
Hello,
Ok I am making a menu that opens up on mouse rollover and I cant really figure out how to make the script to close it after a few seconds if they havent moved the mouse inside of it... I know that last sentence might not make alot of sense but Im basically just trying to make the menu move back to its original spot if the mouse hasnt rolled over it in 5 seconds. Can anyone point me in the right direction?
thanks
Publish Timing V/s Working Timing
I have a question.....when I am working in flash MX and I am modifying a purchased flash site I did some changes to it and it works well.
I added music and modified the thest animations to go with the music and all looks well but when I publish it and see it on the web it is all out of sync????
Why does the syncronization change from my working movie to my published movie ????
Now I also did some more editing to my movie / web and on when I am in FLASH MX all works well and looks good but when I save as a movie and view it as the .swf file all the text animations are gone ????
But it looks fine while in the actual flash program.......
Anybody got any advise ?????
Random Timing On Movie Clips
I'm suffering through trying to understand actionScript. I use Flash MX.
Right now I'm working on the classic "blocks falling" when on mouse rollOver. It's a grid of the 81 blocks in a 9X9 square. )Of course, each block is an instance of the same clip.) When the blocks fall away they reveal text. It works fine. However...
What I'd LIKE to do is have them fall at random time intervals WITHOUT the use of the mouse. I've looked around FlashKit for random stuff, there's a lot about changing clip properties, but I found nothing that tells a clip WHEN to begin.
Any code suggestions?
Timing For Single Frame Movie
need to find out how to get the frame that a playing movie is on.
the movie is attatched to the stage through actionscript. using functions to control specific tasks but i need to find out where each movie that is running is so i can control other movie clips to respond at the right time.
HELP
Timing My Movie To A Sound Loop...help
Hey all,
I have a flash movie that I added a sound loop to. the sound only loops once but i can't seem to synchronize my movie with the sound. either the movie is too long or too short.
and when i play it on a different machine it is even more off. is there a way i can synchronize my movie and sound loop so that no matter what computer i play it on it will time correctly?
also i am using flash mx, is there a way to make my movie compatible with a flash 4 plugin?
thanks in advance.
-Shu
Preloaders Screwing Up Timing Of Main Movie.
I've got a fairly long sales demo that calls 4 seperate SWFs at different times into a main movie. There's an intro that plays at the beginning of the main movie, and an ending that plays after the 4th external SWF (both are NOT extrenal SWFs...they're simply on the main timeline).
I added some preloaders to each of the 4 seperate SWFs, but now each of the 4 SWFs get cut short by the main timeline because the preloading takes up an unknown number of frames within the main movie.
You can view the project here:
http://www.twisttop.com/citrix/citrix_final_v3b.html
Is there anyway that I can get away with NOT restructuring my whole project? If I do have to restructure it, what strategy can I use?
If someone is so inclined you can download the FLA at (it's a bit big at 19MB):
http://www.twisttop.com/citrix/citrix_final_v3b.fla
As you guys can probably tell, this is my first major Flash design, so I really appreciate any and all help.
Thanks,
Joe
Movie Size, Resize And Timing Question
I know its a newbie question and it might seem trivial to you guys -
but there are few simple things I havent figured out about movieclip...
now, remember Im talking action script here - that is - dynamic operation accoding to content.
1. how do I know the final size of a movie on the screen? I mean supposed its an image I just loaded, and I want to be able to tell the size, to resize it in case its too big...
2. how do I resize a movieclip?
3. suppose I wanna make the resize animated. that is to create it over a period of 2 seconds or so, is it possible in actionscript? or do I have to contain it as part of the movie frames?
any hint, explanation or reference would be warmly appreciated...
Niva
Making A Movie Clip In A Movie Clip Go To The Next Frame Of The Original Movie Clip
I have a movie clip (for simplicity I'll call it movie_a) in movie_a I have another movie clip movie_b.
in movie_a i have a button that when pressed makes movie_b play (it has a stop frame every once in a while so the button acts as a "next" button)
I want it so that when i get to the last frame of movie_b and press the button, it will go to the next frame of movie_a
I hope that doesn't confuse u and u can help me solve this problem, as i am stumped and I've tried everything I could think of (which isn't that much as I'm not too good with actionscript)
thnx
Movie Clip Buttons Nested Inside Movie Clip Dont Work
Hi people!
im having a problem here.
in my first frame i have a movie clip named "menu_mc".
i have this AS for this movie:
Code:
this.menu_mc.onRollOver = function() {
menu_mc.gotoAndPlay(8);
}
this.menu_mc.onRollOut = function() {
menu_mc.gotoAndStop(7);
}
thats working ok, the menu_mc plays on rollover from frame 8 till frame 12 where stops.
On frame 12 (this is inside the menu_mc movie clip) i have another movie clip, named button1_mc.
and also i have AS controling that MC:
Code:
this.button1_mc.onRelease = function() {
getURL("index.htm", "_self");
}
The problem is that when i rollOver on menu_mc it work fine and the button1 appears, the problem is when i try to click button1...
doesnt work.
the swf you can see it on www.wt.com.mx/menu.swf
can anybody help me please?
what im doing wrong?
or what other ideas can you give me so i can make that work.
thanks!
Mouse Rollover On One Movie Clip Increase Decrease Alpha Of Another Movie Clip..
So I really haven't messed with Actionscript much for a couple years and here is my issue.
I have several movieclips I put together that will eventually be a menu for my website. When you roll over a menu option (movieclip) I am trying to get another movie clip to fade in giving the description of the menu item.
For example - when you roll your mouse over the 'Live Chat' option a brief text description would appear telling you what the live chat is about. This description is a seperate movie clip appearing away from the original menu.
I have made the movieclips for the menu and the movie clips for the descriptions. I tried this action on the menu option to get the description to fade in:
Code:
onClipEvent (load) {
this._parent.mc_text_discussionBoard._alpha = 0;
}
onClipEvent (enterFrame) {
this.onRollOver = function() {
if (this._parent.mc_text_discussionBoard._alpha<100) {
this._parent.mc_text_discussionBoard._alpha += 5;
}
};
}
But the alpha only increases on the description (mc_text_discussionBoard) by 5 when I keep rolling my move over and out and over again. It makes sense why it does that, but I'm not exaclty sure how to get it to continually increase the alpha by 5.
any help would be great and I am anxiously waiting to get this solved!
Kevin
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?
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
How To 'stop' A Movie Clip Within A Movie Clip Within A Movie Clip Loop
I've done searches, laughed, cried, and punched holes through the wall, but I can't figure this out.
I'm in Flash MX (pro) and I have a MovieClip on my main timeline (frame 1). Inside that clip is another animation (the static animation scrolling across the screen), and another inside of it of the static animation (6 characters on a train each animated uniquely).
Confused yet? Ha! OK, so I just want the damned animation on the main timeline to run once and then stop (or to 270 frames). I've tried:
myMovieClip.stop()
to no avail. I've tried attaching the script to the movie clip itself, and also to the frame.
Any suggestions?
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.
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.
On Mouseover Show Movie Clip, On Mouseout Close Movie Clip *HELP*
Basically what I am trying to do is this...
I have a movie clip that is a name. When you put your mouseover the name I want another movie clip to display to the right of the name. This clip has a photo and bio of the person.
The photo and bio have an animation that fades it in and an animation to fade it out. I have 5 frames for the fade in, then stop frame, then 5 frames for the fade out.
What actionscript do I need to use to make that second movie clip load when a user mousesover the name (first movie clip) and to make the second half of the second movie clip play when the user removes their mouse from name (first movie clip).
NOTE: I tried using loadMovie and unLoad movie but I couldn't do it loading another swf. The reason being this is already an swf loaded inside a main movie. I guess you can't load an swf inside an swf that's already loaded inside an swf. I hope this all makes sense!
I appreicate all the help!
Thanks a lot!
Create An Empty Movie Clip Inside An Existing Movie Clip?
I'm making sort of a tabbed navigation scheme by reading the data for each tab in from an XML file. What I'm wondering is if it's possible to use createEmptyMovieClip() to make a new empty movie clip inside a movie clip that already exists on the stage.
Using
ActionScript Code:
m_anchor.loadMovie(bg_image);
works as I would expect. bg_image is just the relative path to an image file, and m_anchor is a movieclip already on the stage. However, doing a similar thing:
ActionScript Code:
m_anchor.createEmptyMovieClip("textbox", this.getNextHighestDepth());
and then drawing a shape (a rounded rectangle, which I then want to put text on top of) doesn't work. It works if I just say "this.createEmptyMovieClip" instead of attempting to create it inside the m_anchor clip, but if I do that, the "textbox" is created at the root level and I can't unload it along with everything else in the "m_anchor" clip. Is it possible to create a new empty movie clip inside of one that is already on the stage?
Thanks!
Load An Internal Movie Clip To An Empty Movie Clip On The Stage
Can any of you shed some light as to why this is not working:
on (release) {
emptyMC.attachMovie("mrimc","instance1",this.getNe xtHighestDepth());
}
what I want to have happen is when the user clicks a button it loads the mirmc into emptyMC on the stage.
I have double checked that my empty movie clip does indeed have an instance name of emptyMC and that the movie I want to load into does in fact have the name mrimc in the library. Any ideas?
Problem Getting Movie Clip Inside Of Movie Clip To Face Mouse
I used the code below to make a movie clip face the mouse, it works when I use it on a movie clip that's not embedded in another movie clip, but when I used it on an embedded movie clip, it's axis seems to change.
Attach Code
var stickGun:MovieClip = this.stick_holder.stickGun_mc;
//stick_holder.stick_mc.stickGun_mc
stage.addEventListener(Event.ENTER_FRAME, onMove);
//stick_holder.stick_mc.stickGun_mc.addEventListener(MouseEvent.MOUSE_MOVE, onMove);
function onMove(event:Event):void {
// get the radian value of the angle between the clip and the mouse...
var myRadians:Number = Math.atan2(mouseY - stickGun.y, mouseX - stickGun.x);
// convert it to degrees...
var myDegrees:Number = Math.round((myRadians * 180 / Math.PI));
// get the horizontal and vertical distance between the clip and the mouse...
// rotate the clip toward the mouse...
stickGun.rotation = myDegrees;
}
Placing Actionscript Movie Clip Inside A Movie Clip Symbol
I'm loading an external image into an empty actionscript movie clip (holder1) using MovieClipLoader(); on frame one of my movie and is invisible. Then when the movie plays, there is an empty movie clip symbol (image1_mc) that is placed manually on the stage within another movie clip symbol (flash_mc), and is also on a bottom layer of a mask layer which is animated. Is it possible to place "holder1" inside of "image1_mc" so that I can treat it as if it were an embedded image? In other words, have the image in "holder1" inside of the manually placed movie clip symbol "image1_mc" so that I can use it like a regular symbol on the stage?
How Can I A Movie Clip Splash Prior To Attaching The Choose Movie Clip..Help
I have a presentation which I would like to publish on CD. What I want is to have movies attached to the container_mc on the stage upon clicking the desired navigation buttone. But before movie gets attached, I would like to have a logo_mc animation (from the library) to play itself before playing the selected clip.
I think I need to write up a function which will call the animation splash clip prior to attaching the clicked movie.
Appreaciate all the help.
Thanks so much.
Control Movie Clip In Container From Button Inside Other Movie Clip
There are three movie clips involved in this question.
1. A main movie clip that has a target empty movie clip where an external swf loads.
2. A menu movie clip that is built from button symbols and has its own timeline.
3. The external movie.
When a user clicks on the menu, the external swf loads into the empty movie clip target. This part works fine. Here's the code:
on (release) {
loadMovie ("Lesson1.swf", "_root.container");
}
I want to use one external swf for all lesson, versus 20 external swfs. The problem I'm having is controling at what frame the external swf loads. I've tried adding --gotoAndStop (15) -- for example. I've also tried adding, gotoAndStop "_root.container" (15), but that doesn't work either. The gotoAndStop action ends up controlling the menu movie clip timeline instead of the movie loaded into the container. I figure this is because the menu mc has "embedded" buttons and it's own timeline.
Any help you can offer will be much appreciated.
Thanks
Sheila
Creating A Button To Open A Movie Clip From Inside A Movie Clip?
I'm using a hexagon menu to display some images. One image is placed on each slide of the hexagon menu (which can then be rotated left and right to see other "slides").
What I want to do now is to be able to click on the object (image) as a button and for it to go to another scene which shows the image blown up and some description next to it (which is another movie)
I have tried the following which doesn't seem to work:
Created an invisible button (or choosing the image as a button) and having
on(release) {
gotoAndPlay("scene 5", 1);
}
this doesn't work when I use it over the hexagonal menu, but when I move the button to somewhere else on the screen (not over the movie) it works.
Please can someone help with this - Ive been working on it flat out over the weekend and desperately want to make it work. any ideas would be appreciated!! thank you
Loading External Movie Clip With A Button Inside Another Movie Clip Help
Hi,
I am working on a scrolling thumbnail movie clip, that when you click on the thumbnail button inside the movie clip it will load an external movie clip. I have an empty movie clip on the main stage, and have been trying all sorts of code, but for some reason it doesn't like that I am inside a movie clip using buttons. It can't seem to find the external swf.
I have tried:
on (release) {
loadMovie (ithink.swf, "loader");
and
on (release) }
if (firstTime == true) {
loadMovie("ithink.swf", _root.loader);
firstTime = false;
} else {
_root.clicked = "ithink.swf";
_root.loader.gotoAndPlay("goback");
}
}
and so far nothing, for some reaosn when I click on a button outside of the movie clip with the above code it loads... and than the other works too, but if I click on the buttons inside the scolling movie clip first they won't work.
Any suggests or ideas!!?
I would really appreciate it... I am beyond frusterated!!
|