Playing Multiple MovieClips On The Main Stage
Initially when I added them each to their own frame, they all started playing at once. I need mc_Two to start when mc_One is over, mc_Three to start when mc_Two is over, and so forth.
Thanks for your help!
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 08-18-2008, 04:14 PM
View Complete Forum Thread with Replies
Sponsored Links:
Playing Movieclips In Main Timeline
I asked this question in the MX forum but nobody gave me any useful advice apart from the file size wasn't big enough to make it play slowly.
I'm using MX. basically my problem is this. I have a webpage I've made in flash, on the first frame I have a preloader (the loading with the dots thing) and I've scripted onto it, goto and stop on frame two. on frame two I have an instance of an animation which is 150 frames long. on the animation itself I have a stop action, and a goto and stop on scene 1 frame 3. BUT when I play the swf it just loops the animation on frame 2 and never gets to frame 3. If I make the frame one action a goto and play then it jumps straight to frame 3.
PLEASE someone help me. I'm feeling SO dumb here. I'm sure it must be something basic I have got wrong.
thanxs heaps
View Replies !
View Related
Randomly Playing 10 Movieclips That Are On Stage
I'm trying to play 10 movieclips randomly from the stage. I have all the movieclips on the stage on frames 2. On frame 1 i have the following code:
var myNumber = getRandomNumber (2, 0);
_root["mov_" + myNumber].gotoAndPlay (2);
// return a random number
function getRandomNumber (maxnum, minnum)
{
return Math.floor (Math.random () * maxnum) + minnum;
}
// play a random movieclip
function playMC ()
{
myNumber = getRandomNumber (2, 0);
_root["mov_" + myNumber].gotoAndPlay (2);
}
// begin our random movieclips
playMC();
For some reason it won't go and play frame 2 which is where the movieclips are. I have all of my movieclips named mov_0, mov_1, mov_2 etc....
THanks!
View Replies !
View Related
Managing Multiple Movies On The Main Stage
Hello,
i just started using actionscript. i don't understand how to write or organize the coding for this:
first, i have 3 movie clips on the main timeline. the first movie clip is a series of buttons (the main navigation) within a movie clip that when rolled over, will jump to specific frame labels to change its look. no down or hit states. i got this to work.
secondly, i'd like for this rollover function to display the 2nd movie clip, which contains 8 different movie clips (thumbnails).
thirdly, i'd i'm trying to make the movie clip thumbnails act as buttons that when the onRelease occurs, it activates the final movie clip, (a Container movie clip), which will show about 15 different movie clips, each containing about 3 frames to display once clicked.
i know this is kind of drawn out, but if anyone can get me started it would be a big help. the only actions i currenly have are stop(); actions. Other than that i'm lost.
Edited: 06/13/2007 at 04:44:34 PM by K.K.dp
View Replies !
View Related
Multiple Movie Clips Keep Looping On Main Stage When I Have A "Stop" Action In MC?
I've created a movie clip that has eight frames with a "stop" via actionscript in the last frame. In my main movie I have placed 11 instances to come in one "after" the other by varying each instance to it's own layer (11 layers) and placing each instance in the appropriate frame.
Example: instance one in frame one - layer one, instance two on layer two - frame two, instance three on layer three - frame three.
Problem: When I publish the file and open up the .swf the first instance comes in and stops. All the other instances come in but they all keep looping except the first instance in layer one frame one. When I move all the instances into frame one at the beginning of their layers the published swf file plays all instances at once and then stops just like I want.
Question: Why is it that the instances keep looping in different frames and not when they are in the first frame of their prospective layers? I want the instances to start one after the other and not all at once and then I want them to stop. I placed a "stop" action at the end of the MC?
All instances have not had any of their properties altered and are movie clips on the main scene. There is no added actionscripts anywhere else. I have attached the fla file which is really small of what I am trying to accomplish. Thanks in advance for all your help.
View Replies !
View Related
Multiple Movie Clips Keep Looping On Main Stage When I Have A "Stop" Action In MC?
I've created a movie clip that has eight frames with a "stop" via actionscript in the last frame. In my main movie I have placed 11 instances to come in one "after" the other by varying each instance to it's own layer (11 layers) and placing each instance in the appropriate frame.
Example: instance one in frame one - layer one, instance two on layer two - frame two, instance three on layer three - frame three.
Problem: When I publish the file and open up the .swf the first instance comes in and stops. All the other instances come in but they all keep looping except the first instance in layer one frame one. When I move all the instances into frame one at the beginning of their layers the published swf file plays all instances at once and then stops just like I want.
Question: Why is it that the instances keep looping in different frames and not when they are in the first frame of their prospective layers? I want the instances to start one after the other and not all at once and then I want them to stop. I placed a "stop" action at the end of the MC?
All instances have not had any of their properties altered and are movie clips on the main scene. There is no added actionscripts anywhere else. I have attached the fla file which is really small of what I am trying to accomplish. Thanks in advance for all your help.
View Replies !
View Related
Referencing MovieClips Inside MovieClips From The Main Time Line?
is it possible to have event listeners that listen for a movie clip inside a movieclip and then execute a function from the main time line?
Or is it impossible to relate something this far removed? Sounds like a geek Jerry Springer episode!
Something sort of like this:
Attach Code
movie1_mc.closeBtn1.addEventListener(movie1_mc.MouseEvent.CLICK, closeMenu1);
movie2_mc.closeBtn2.addEventListener(movie2_mc.MouseEvent.CLICK, closeMenu1);
function closeMenu1(e:Event):void {
if (e.currentTarget.name == "closeBtn1"){
movie1.gotoAndPlay(27);
movie1.visible = true;
} else if (e.currentTarget.name == "closeBtn2") {
movie2.gotoAndPlay(27);
movie2.visible = true;
}
}
View Replies !
View Related
Multiple Movie Clips On Multiple Layers (Playing Problem)
Hi dears,
I am also new in flash users. I have created some movie clips and want to play in “mcmovie”. All movie clips are on different layers i.e. movie clips are as follows:
1.mccommercial
2.mccorporate
3.mcenvirnomental…etc
I placed these MCs in on layer1 frame1 mccommercial, on layer2 frame2 mccorporate, on layer3 frame3 mcenvironmental and so on.
I want to play all movies’ clips one by one i.e. mccorporate should be played after completing mccommercial and playing last movie clip, it should be start from beginning.
I will appreciate, if somebody could do me a favor in this regards.
Thank you,
Yasin
View Replies !
View Related
Movieclips And The Main Timeline
Have a preloader in a movieclip placed on the timeline.
Now it calculates the percentage which is fine and works.
Now when the movie loads and percentage gets to 100 there
is a button placed within the movieclip to continue to a label named MUSIC on the main timeline.
the button is not working. What is the correct code
to be used for this script to get the moviclip to recognize the label "MUSIC" on the main timeline.
sorry not at home unable to give the code......
View Replies !
View Related
Playing MC's In Main Timeline
This is a really basic question:
If I have an MC that has a timeline of 50 frames and I place it in frame one of the main timeline - is there a simple way of having the MC play to the end before it goes on to the next frame in the main timeline or do I have to assign it 50 frames and then place my next MC after that?
Thanks for your help
View Replies !
View Related
Main Stage?
Im trying to do this tutoral here: http://www.flashkit.com/tutorials/In...-532/more6.php
Everythings going fine then it says "Now go back to the main stage and drag an Instance of the window Movie Clip"
What the heck is the main stage and what does dragging an Instance of something mean?
View Replies !
View Related
Co-ordinates Of Movieclips On Main Timeline
I have two movie clips, one called 'panel', the other 'box'. Both have registration points set to top left 0,0. I put one instance of each on the main timeline, their registration points roughly on the same location, with 'box', which is smaller, on top of 'panel'. Since 'box' will be draggable, I wanted to find a way to check if 'box' is inside the boundary of 'panel'.
I used some text boxes on the main timeline to check their co-ordinates, and put in actions such as:
boxTY = _root.box.boxshell._y;
panelTY = _root.panel._y;
where boxTY and panelTY are text boxes designed to show the top y position of box and panel, and boxshell is the background in 'box'.
I thought their value would be similar since I put them on near the same location. But they differ by nearly 200. This seems so illogical, but there must be an explanation. Can anyone tell me how to get the comparable co-ordinates of the two movie clips on the main timeline, so that I can check their position relative to each other? is this possible?
View Replies !
View Related
Movieclips Versus Main Timelime?
Hi guys:
Just a quick technical question. I have a really light (60Kb) animation sequence:
http://www.efxmedia.com/clients/efxweb
But it plays really slowly on some machines, it is sluggish. I have set this up as several animation movie clips that are on the main timeline so could this be causing the sluggishness?
Would it be better to have everything on the main timeline so that only 1 timeline is being played and not multiple ones (through the mcs).
Any feedback/solutions would be GREATLY appreciated.
Cheers!!!!!
View Replies !
View Related
Movieclips Independant Of Main TImeline
Maybe I'm just not 'getting' it, but it's supposed to be that movieclips are independant of the main timeline. So here is a situation that should work:
I have a movieclip with an animation. I need this animation to loop forever. So, I place it in a movieclip. The main timeline has a fade in on that movieclip, and then is told to stop, by adding a actionscript "stop;" to the frame after the fade in. However, the movieclip isn't playing.
If I remove the "stop;", and then add 200 frames to the main timeline, I see it animate, but not forever, so it seems to me that it's animating only until the end of the main timeline. Isn't it supposed to keep going? I'd like the movieclip to keep animating, but the main timeline to stop.
Thanks, and sorry if this really is a dumb question. I can post the fla if necessary, but it has client data in it, so I'll export it to another if needed.
View Replies !
View Related
Movieclips Calling The Main Timeline
ppl,
having some issues with getting a movie clip.
at frame 10 (on the maintimeline) a movieclip is loaded and begins to play. there is a stop(); command on the main timeline whilst the moviclip is playing.
i then have a frame called "begin" which i want the movieclip to return to and play from once it has finished.
in the movieclip, at the end i have the script gotoandplay("begin").
i thought this was the method used, but what actually happens is the movieclip loops and doesnt return to the maintimeline at "begin"
any ideas ??
View Replies !
View Related
Referencing Movieclips On Main Timeline
Hi, I know this issue has been talked about a considerable amount on here and other places. I did my fair share of searching and trying a few different methods.. but nothing has worked for me yet.
I have movieclips I created sitting on the stage of the main timeline with instance names deck, titles, stats, and ui.
In frame 2 of a movieclip INSIDE the ui movieclip, I'm trying to reference the movieclips sitting on the main timeline.
I do not have a main document class- its making its own when i run the swf.
Code:
this.parent.stats
// this throws an error: 1119: Access of possibly undefined property stats through a reference with static type flash.display:DisplayObjectContainer.
this.root.stats
// this throws an error: 1119: Access of possibly undefined property stats through a reference with static type flash.display:DisplayObject.
So I also tried creating a dummy mc on the nested movieclips stage and using it to access the root.. and after that failed I tried tying the movieclips on the main timeline to a classname and adding it to the stage with code so i could type it as a movieclip.. no luck there either.. examples below
Code:
dummy.root.stats
//throws the same error as above
var stats:MovieClip = new Stats();
addChild(stats);
//didn't change a thing
As you can see I'm stretching quite a bit What's the correct to do this from code on the timeline? I'd like to not have to make this completely class based if possible.. is that the only way?
Thanks for any suggestions!
Alan
View Replies !
View Related
Playing Empty MCs One After Another In Main Movie
In my main movie, I have two empty MCs: empty1 and empty2 (instance names). In each of these empty MCs is a loaded external SWF.
Is it possible to play empty1 and empty 2 in immediate succession in the main movie? If so, how? That is, in the main movie I want to play empty1 -- and the loaded external SWF in it -- on, say, frame 1. Once the external SWF in empty1 is finished, I want the main movie to immediately play empty2 -- with a different external SWF -- on, say, frame 2.
Any coding hints would be greatly appreciated.
Thanks in advance,
View Replies !
View Related
Playing A Clip In The Main Scene
I have a question.........I have tried & tired but can't seem to figure out what I am doing wrong.......
Problem:
I have a christmas tree... with gifts underneath the tree. There is a teddy bear hanging on the tree. What I want to do.... is make the teddy bear say "hey no" & wave it's arms when the blue gift is clicked.
Presently:
---I have invisible drag buttons as the gifts under the tree. They can be drag anywhere on the screen. They work.
---I have a symbol(movie clip) name teddyBear that moves its arms in my library. This symbol has several key frames with a "stop();" in the first frame of the symbol. The symbol is also presently on the main stage.
Question:
What kind of code do I use, so that when I click on the blue gift.....the teddyBear clip will move & talk?? I am assuming I put the code in with the symbol of the blue gift??? (right/wrong)??
Any help will be appreciated.
Thanks
View Replies !
View Related
Playing Masked Mc's In The Main Movie?
When playing a mc with a mask inside of the main movie, I can't seem to get the mask to show up in the exported SWF? Please view symbol 33 in the library to see what it should look like in the main movie. The only thing that shows up is the fade near that end but not the scan effect.
EDIT: Nevermind it has been resolved
View Replies !
View Related
MovieClips Not Playing
Hi Flash Folk,
I'm duplatcating a mc and putting it below a mask and when i view the movie the mc does not play. Why?
Background:-
I'm making a map from an array. If the array[number] == 1, then the mc should be placed on xpos, ypos which are stored in another array...
Can someone help me please....
Ivorsmallun...
View Replies !
View Related
Playing MovieClips One By One
Hello,
I am trying to play a couple of movie clips one after the other one. In other words, I would like movie clip A to run and execute the AS attached, then I would like movie clip B to run and execute the AS attached to it.
Can anyone help me with how to get a movie to play and execute AS on one movie, then the next, then the next?
Thanks,
ChaoticGood
View Replies !
View Related
Playing MovieClips One By One
Hello,
I am trying to play a couple of movie clips one after the other one. In other words, I would like movie clip A to run and execute the AS attached, then I would like movie clip B to run and execute the AS attached to it.
Can anyone help me with how to get a movie to play and execute AS on one movie, then the next, then the next?
Thanks,
ChaoticGood
View Replies !
View Related
Playing MovieClips One After Other W/AS
Hello,
I am trying to play a couple of movie clips one after the other one. In other words, I would like movie clip A to run and execute the AS attached, then I would like movie clip B to run and execute the AS attached to it.
Can anyone help me with how to get a movie to play and execute AS, then have the next movie play and execute AS, then the next?
Thanks,
ChaoticGood
View Replies !
View Related
Loading In A Swf- And The Main Stage
Hello, I have a swf loading into my main movie. In the swf I have movie and at the last key frame I have it tell target / go to frame a and stop. The swf alone works fine, but when I load it into the movie it does not work. I am assuming that / goes to the main movie stage rather then the main stage of the swf. How can I get it to go to the main stage of the swf. thanks in advance- Dave
View Replies !
View Related
Main Stage Slooooows Down.
I created a main stage with all the buttons an crap.
When I load an external .swf file onto it, the tweens on the main stage slow waaaaaaaay down. Here, check it out.
http://jrhame.anycities.com/Tnike/tnike.html
Notice the glow around the logo pulsing, and click on the "Audio" button and notice the pace of the pop out.
Now click on the "Mission button", after its loaded, the tween around the logo slows down, as well as the audio pop out.
My guess is because the tween of the moving clouds is at 300 frames.
Both the main stage and mission.swf's are not big in size.
The main stage is 68k and the mission is 64k.
So its not a memory thing.
Any ideas?
Josh
View Replies !
View Related
Loading SWF To Main Stage?
I have 3 seperate swf files one is the main movie and the other are a audio file saved as a swf and another is a image with animations. So I want to load the main movie first then load the audio and next the image with animations one right after another but not at the same time. How would I go about doing this best?
View Replies !
View Related
Running Exe From Main Stage
Hi!
Why will a separate program not run from the button on my stage with this command on it?
on (release) {
fscommand("EXEC", "secrets.exe");
}
It did in flash 5 but now that I have upgraded to flash mx professional 2004, it won't run the program. Has the coding changed in the newer version?!
Cheers
Chris
View Replies !
View Related
Calling MC On Main Stage From A MC
Hi,
I have few MC's on the main stage (Scene 1). When i click on a link (from the main stage), a different MC plays (which is not in the main stage) - i need to have a button on the playing mc so that when i click on it, it should play the MC on the main stage. Can someone pls let me know how to do this?
thanks.
View Replies !
View Related
Variables On The Main Stage
I have a text variable on the main stage that I want to use in a MC on a new level but can't get it to show up.
popit = function(){
this.attachMovie("popTheCorkMC", "pop1", this.getNextHighestDepth());
};
I'm loading an MC onto the next highest depth and want to display the text variable I have set on the main stage. Is this possible?
View Replies !
View Related
Jump From MC To Main Stage
I have a mc, "Transition", on my main stage. It does an animation. At the end of the animation I would like it to gotoAndPlay("music"). The problem is that "music" is on on my main stage. Is there any way possible to jump from a frame of a movie clip to a specific frame on the main stage?
Plese say yes and please tell me how.
View Replies !
View Related
What Preloader To Put On Main Stage?
I am loading external swf into main movie and external swf also loads some content externally.
so i have 2 ProgressEvents, one in my main movie for loading external swf, and other in my external swf for loading its content:
PHP Code:
swfLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);function onProgress(e:ProgressEvent):void {}
so which preloader should i put on main stage?
how can i know what is going to take longer, loading external swf or external swf loading its content?
View Replies !
View Related
Print Only The Main Stage
How can I only print the main stage without printing stuff which is larger than the main stage ? Using this
PHP Code:
on (press) { print("", "bmax");}
it prints everything, even those stuff which is not visual since it's larger than the main stage. Anyway using this it prints 50 copies, how can that come ?
So what would I need to do to print the main stage only ?
Thanks for help
View Replies !
View Related
Targeting The Main Stage
Hi all - how do I target a key frame on the main stage from a movie clip on that stage. Have a small animation ( on frame1 ) that when it ends I would like the main timeline to move to frame no.2 on that main stage. Have a short intro that I want to playout and then the main nav to appear. Any help would be great....thanks in advance.
View Replies !
View Related
Preloaders For Movieclips Inside Main Movie
Understanding preloaders
Hi,
I am using Flash4 in a PowerMac.
I have a movie ("slideshow.swf") that presents a series of photographs.
In the first and only frame of this movie there are some buttons (thumbnails) that, when pressed, call to a movieclip ("photos")that has a photograph in each frame (about 30). There is an instance of that movieclip "photos" in the main stage. Every time the user click on a thumbnail, the corresponding photo appears.
Now, I need to put a preloader to entertain the user while all the photographs are loading.
The problem is that if I use "If frame is loaded" action, syntax requires I put a scene and a frame number (or label). But my movie has only one frame. So the question is, how can I use a preloader that looks "inside" the movie, to see if the last frame of the movieclip "photos" is loaded, before allowing the movie "slideshow.swf" to start?
Thanks for your time.
Please remember I am using the old Flash4.
Marcelo
View Replies !
View Related
Problems Targeting Main Timeline From Within Movieclips
Hello there,
I am trying to modify a slidemenu script but don't really know how to accomplish it. The sliding menu is horizontal and slides each direction according to the mouse position. Basically, all I want is for the thumbnail photo buttons in the menu to open the corresponding photo larger above the menu. I have a series of buttons within three mcs. (this is necessary for the sliding script to work). In the original script, the button name is targeted to a label with the same name in a new scene.
The code on the button is:
on (release) {
gotoAndStop("/:" add eval("..:text"));
// THIS goes to the FRAME with the name of the button you just clicked on.
}
The MC code is:
// --------------------------------------------
// tmi=total menu items
// dup=new movie duplicates
// butn=original movie button
// --------------------------------------------
// FIX original Button:
butn:text = /:Menu0;
while (Number(n)<Number((/:tmi*2)-1)) {
n = Number(n)+1;
dup = "butn" add n;
duplicateMovieClip("butn", dup, n);
setProperty(dup, _x, Number(getProperty(dup, _x))+Number(n*getProperty(dup, _width)));
setProperty(dup add "/b", _x, getProperty (dup add "/b", _x) + (1));
set(dup add ":n", n);
// assign button name from variables
if (Number(n)<Number(..:tmi)) {
set(dup add ":text", eval("/:Menu" add n));
} else {
set(dup add ":text", eval("/:Menu" add (n-/:tmi)));
}
}
The problem I am having is that I don't want to go to a new scene ( because I am only loading photos) but would like to target a label on the main menu. I have tried many ways including (my label is named "one"):
on (release) {
_root.gotoAndStop("Main" "one");
}
on (release) {
_root.gotoAndStop("one");
}
on (release) {
gotoAndStop("Main" "one");
}
on (release) {
_level0.gotoAndStop("one");
}
But none of these work. There must be a way to do this no? Please someone enlighten me! I have been going crazy for three weeks now trying to figure this out.
Thanks very much for your support,
Niki
View Replies !
View Related
Basic 3.0 Question Re Movieclips And Main Timeline
In my main timeline, outside a function, I set a variable:
var myVariable:String = "MyName";
I can't figure out how to change the value of myVariable when I'm in a movieclip
I've unsuccessfully tried:
myVariable = "SomethingElse";
_root.myVariable = "SomethingElse";
_parent.myVariable = "SomethingElse";
Also, when I'm in the movieclip ("myMovie_mc") I can't figure out how to get out of the clip and go to the main timeline frame labeled "myFrame"
I've unsuccessfully tried:
parent.myMovie_mc.gotoAndPlay("myFrame");
stage.gotoAndPlay("myFrame");
Any help with these basic concepts would be appreciated.
View Replies !
View Related
Multiple SWFs In Multiple MovieClips
So I'm trying to load eight swf files at the same time using eight different movie clips (cause i need to move them around) placed in one big movie clip. I'm using a loop that looks like this :
Code:
for (var i = 1; i<=8; i++) {
this.clip_mc.createEmptyMovieClip("spec" + i + "_mc", 10000+1);
this.clip_mc["spec"+i+"_mc"].loadMovie("species/" + i + "_25.swf");
this.clip_mc["spec"+i+"_mc"]._x = 150;
this.clip_mc["spec"+i+"_mc"]._y = 25*i;
}
The problem is that only the last one (number 8 or in fact any number I put as the last one in the loop) shows up on the scene. I'm pretty sure something is wrong with my syntax but I can't figure out what... any tips?
View Replies !
View Related
Playing The Main Timeline From An Loaded Movie.....?
Hi all, I have a simple question, In the main Scene in a frame I have a action:
Stop
Load Movie ("graficooo.swf", "porttarget2")
After, the movie open and play... but in the end I need to put a action that unload the movie
(Stop // Unload Movie ("../porttarget2")
and play the timeline of the scene..... What is the correctelly action ???
Thankx
Loffi
View Replies !
View Related
Button In Moviclip Playing Main Timeline?
can i make a gotoandplay statement from a button in a movieclip to the main timeline, where this movieclip is placed?
goal: i want my menu (which is a movieclip on the main timeline) to slide out from the stage when button in the menu is pressed, in its current position of its own timeline.
tweens: frames 1-30 menu slides in [stop]. frames 31-60 menu slides out [stop].
View Replies !
View Related
Playing Movie Clips One After Another On Main Timeline
Hi,
I have a series of movie clips that I'd like to add to the main movie timeline, all on separate layers. I want one clip to play after another, as opposed to having them all play at the same time...Do I need to write some code to allow that to happen?
For example, I'm creating a mini movie, with opening credits, ending credits and everything in between. Each segment is an individual movie clip. I dragged an instance of each clip onto the main stage, separate layers, all on frame one. I'd like for the clip in layer one to play first followed by the next clip in layer two, etc.
Please Help
Thanks
View Replies !
View Related
Preloading External Movies While Playing Main Swf
I'm willing to bet this has been answered here somewhere, but I've yet to find it, sorry in advance folks.
Here's my problem...
I need to preload one swf while playing another. Each are at about 700k at this point.
I've created a movie (with sound) that has become too large in file size and I need to break it into two. Since there are two songs in total, I simply have made two swf's to break it up, one to load onto the end of the first one.
Let's call them A.swf and B.swf.
Normally, preloading's not a problem for me, but in order to keep the movie seamless I need to start B.swf at the end of A.swf without a preloading break.
How DO I do that? Can I preload that second swf while the first one plays, THEN have the second one play?
Beer's on me for answering, thanks!
View Replies !
View Related
Movie Clip Not Playing In Main Timeline?
let me get straight to the point - I think it's a bug.
Have you had this problem. I have a moviclip with some text tweened, it is inside another movieclip, and that movie clip is on the main timeline. With I view the swift, I can't see the text. But if I test the movie clip with the text "test scene", it works perfectly, it only doesn't work if I view the whole movie. The text seems to be there but I can't see it, becuase my cursor changes into a text thingy (no it is not hidden behind something else), it is in front. There is noothing wrong with my file, I have looked at every single possible avenue.
I also tried creating a swf out of this movieclip with the text and then load the swf into a movie clip holder
var myMCL:MovieClipLoader = new MovieClipLoader();
myMCL.loadClip("text.swf", "textcontainer");
and it still doesn't work.
BUT, if I load this movie clip into the FIRST scene (root scene), it works. It only doesn't work when it is in another movieclip, which is where I need it. On my main timeline I have a movieclip called "site content" and all my content is in there, so it needs to be in there.
WTF is going on, can you guys help.
Also, on more question, with the exit command for a projector
on (release) {
fscommand ("quit");
}
It quits it straight away. Can I get it to quit after a certain time interval, like 5 seconds so I can hear the button sound and have a little animation before it closes.
Thanks guys
View Replies !
View Related
[CS3] Playing A Movie Clip From Main Timeline
Hello friends
I have a problem trying to play another frame in a movie clip from a button on my main timeline. I made a scroll bar and I have Movieclips within many other movie clips. I am trying to play an animation which will change the content that the scroll bar has. However I cant get the movie clip to play another frame from my button on the main timeline. I know if you want a movie clip to play from the main timeline the code looks something like this:
on (release) {_root.pages.gotoAndPlay(2);}
But I think I am having problems because the the movie clip im trying to play is within two other movie clips. Is there code that can get me what I am trying to acomplish??
Thanks
djratlif
View Replies !
View Related
Unloading MovieClip And Playing The Main Timeline
Hi
I seem to be having issues contolling the main timeline from a child timeline. I'vr poked around on the forms to the point of confusing myself.
Here's the sequence of events I'd like to occur:
1. Child MovieClip that's loaded into the maintime on level 12 unloads itself once a button is pressed on the child's timeline.
2. On the last frame on the the child's timeline it tells the parent movie to go to frame 12.
Here's the code I placed on the last frame of the Child's timeline.
_parent.gotoAndPlay(12);
this.unloadMovie()
Right now the Child mopvie unloads successfully but it does not go back to frame 12 of the parent ( main) timeline???
Any suggestions?
View Replies !
View Related
Playing A Nested Movieclip From Main Timeline
I'm creating a website and my knowledge of actionscript is pretty limited so I am asking for help on what is pretty basic stuff.
I have a movieclip called mc_manikin which contains another movieclip called manikin_arm. On Rollover of mc_manikin I want the movielip manikin_arm to play frame 2.
So far I have this:
function wave (e:Event){
manikin_arm.gotoAndPlay(2)
}
mc_manikin.addEventListner(MouseEvent.ROLL_OVER,wa ve);
My function is called wave I'm not sure how to pick out the movieclip inside mc_manikin (something to do with parent and child?)
Help!
View Replies !
View Related
Component To Control The Playing Of The Main Movie
Hi everybody,
I haven't ever created a movie with a media controller before, and I do not know how it is done.
If I have a main movie, with movieclips loaded into levels, or into other movieclips, how can I create (or use a component) to control the playing of the main movie (and everything that happens in the movie), so I am able to rewind, pause and play?
Thank you very much for your help.
Peace,
Cayo Hueso
View Replies !
View Related
|