Running Multiple Movie Clips From One Button
Howdy:
I've got a horizontal slide site. I have a picture panel and a black panel that contains text.
I'm trying to reference both panels from my nav buttons to slide according to my settings.
My buttons reference
on (release) {
targetx = 1000;
slide.gotoAndPlay("move");
}
"move" is the label in my scripts that contain the actions to control the x value.
My problem is I have used two separate scripts to control each panel and I've put these scripts on my main movie. If I have one it works great, but when I have two, only one works and that would be the original. I've tried putting these scripts on separate layers as well as the same layer.
The only difference between these scripts is that they reference separate movie clips (being my different panels).
Do I need to make a change to my button action? (see above)
Can flash only read one script on the main timeline? I didn't think so.
Thanks for any help.
ww
FlashKit > Flash Help > Flash ActionScript
Posted on: 12-19-2001, 04:01 PM
View Complete Forum Thread with Replies
Sponsored Links:
Movie Clip Runs Slow When There Are Multiple Movie Clips Running
Hi, Can someone help me out? I have made a flash where a movie clip containing text runs at the same time that a second movie clip runs (movie clip 2). I used function updateCursor() to replace the standard mouse symbol with the movie clip symbol (movie clip 2). After the scene runs a few times at the correct speed, everything within it slows down markedly, which I don't want. Why is this happening? Any ideas? I have actually seen something similar in Flash 5...but I can't figure out how to keep this from happening!!
View Replies !
View Related
Multiple Button & Movie Clips
I have 3 Buttons that control 3 Movie Clips. 1 Button controls only one Movie Clip. Each Movie Clip runs for 7 seconds. The problems is if I click all 3 buttons inside the 7 seconds all 3 Movie Clip will be playing together.
If someone clicks the button quickly I want the present Movie Clip to stop and the new one start. In other words I only want one Movie Clip to be able to play at once.
I know this can be done, but I need some help please...Thanks
View Replies !
View Related
Multiple Movie Clips (button) Question
I have created a movie clip that basically has an arrow that will flash when the user mouses over it. It also contains a button. Is there a way if I were to place 4-5 of these in my document I can detect if one was clicked? I can't place the onRelease code in the clip itself or it takes effect for all instances. Can I manipulate just a single instance of the movie clip button?
Basically I am loading a few items from a database and this will go next to the item and I was hoping to do something like this when clicked
getURL("http://somesite.com/mypage.php?ID=" + theCorrespondingTextField.text);
Again if I place this code in the movie clip itself then all instances of the button do the same thing...
View Replies !
View Related
Control Play Of Multiple Movie Clips In Button
Hello all. First-time poster here. I'm working on my final project for my Intro to Flash class and I have a question my textbook refuses to answer!
I have a button. In the actions on the button, I have:
on (release) {
_root.dollwrap.play();
_root.bluemove.play();
}
This works except that it plays BOTH movie clips at the same time. What I want it to do on release of the button is to play the dollwrap movie clip, and when the dollwrap movie clip is finished, THEN immediately play the bluemove movie clip. Is this even possible?
I would greatly appreciate any tips, hints, advice, or strategies! :-)
View Replies !
View Related
Can You Make A Button Control Multiple Movie Clips?
Hi All -
This might be a simple answer, but I am no actionscripting guru. I want a button to control 3 different movie clips, so when clicked, it will return all mc's back to the start? This is what I have so far, and it is only reading the first action I believe.
Actionscript Code:
on (release) { trim_mc.gotoAndStop('start'); roof_mc.gotoAndStop('start'); siding_mc.gotoAndStop('start');}
View Replies !
View Related
Loading Multiple Movie Clips Using MovieClipLoader Script Attached To A Button State
I am building a site that loads both images(using moviecliploader) and text(using loadvars.load) dynamically to a stock page(mytarget is on level5) when different buttons are pressed. My problem is that when I program a function to a button state to call more than one item it does not work.
For examle
code:
Mybutton.onRelease = function(){
myMovieLoader.loadClip(“mytarget.swf”,5); //loads the swf that has the text and image targets
myMovieLoader.loadClip(“image1.jpg”,_level5.imaget arget); //loads image to target MC on level5
myLoadVars.load(“mytext.txt”); //loads the text using myLoadVars to level5.sitetext
}
So, this does not work. If I delete any two of the lines of code it will work. The image load will work independently, the load vars will work independently, and the moviecliploader works independently.
So as a temp solution I have separated out the lines of code to different mouse actions. This does work but looks like crap because the text does not come up till the user rolls off the button, which can only confuse them.
Example
code:
Mybutton.onPress = function()[
myMovieLoader.loadClip(“mytarget.swf”,5); //loads the swf that has the text and image targets
}
Mybutton.onRelease = function(){
myMovieLoader.loadClip(“image1.jpg”,_level5.imaget arget); //loads image to target MC on level5
}
Mybutton.onRollout = function(){
myLoadVars.load(“mytext.txt”); //loads the text using myLoadVars to level5.sitetext
}
SO how would I call the moviecliploader to load...say 3 movies to different levels just by pressing a button?
EDIT: Added [ as ] tags - jbum
View Replies !
View Related
Movie Clips Keep Running
I'm making a movie and early on I added a pause button. The ActionScript I used works well with _level0 of the movie. I put:
on (release) {
stop();
stopAllSounds();
}
But, in order to add some complex elements to my movie, I added movie clips. For example, I wanted a slot machine, so I made a movie clip that contains the spinning display wheels.
The problem is that when the code for my pause button is triggered, the main part of the movie, _level0, stops and the movie clips keep playing.
I thought that perhaps they had been automatically loaded to _level1, so I added:
on (release) {
stop();
stopAllSounds();
_level1.stop();
}
That didn't work. without using loadMovie(); or loadMovieNum();, how do i make my pause button stop all currently playing movieclips?
View Replies !
View Related
Many Movie Clips Running Too Slow
I am working on a single scene with many movie clips, all of which consist of hand drawn elements, scanned in fireworks files. even bringing every drawn element into photoshop and drastically decreasing their file sizes, this scene runs as if it were 2 fps. NOTHING changes when i bring it from 12 fps to 24 or 30. Very slow, and I am in trouble. please help.
View Replies !
View Related
Loading And Running Movie Clips
Hi..
I'm just a beginner to actionscripting. I have 3 movie clips in an animation. All i want to do is, i want to start running the first one,upon completion, the second one should start while the first running again. Could you please suggest me the approach and the options available in AS2.0?
View Replies !
View Related
Dynamic Movie Clips And Determining Running Time
Flash 7 As2.0
I want to be able to load an swf file dynamically and tell it to play through once and the return. If I create a scene and place a load movie action in the first frame, the movie runs in a loop until the last keyframe of the scene timeline. If I look at the duration of the called swf in frames and set the number of frames in the calling stage the same, for some reason the two don't always match up. Finding the right number seems to require hit and miss and may not be the same from implemtation to implementation.
I suspect the difference may be in the load time although this doesn't seem to add up either. Adding a preloader still doesn't make the two line up accurately.
Is there a way to tell a scene to loop through a couple of frames while the loaded SWF plays and then know when the SWF had played through once so it could trigger an unload/return?
View Replies !
View Related
Multiple Collisions And Movie Running Speeds
I want to show a number of balls bouncing about in a contained area, as well as bouncing off each other. The bouncing off the walls is no problem, the way in which the balls bounce off each other is no problem, but there is a problem with the speed the movie runs at if I have 10 or more balls within the contained area. I'm running at 40fps and there is no way that the movie is running at this speed.
Is there an optimum number of instances that can be checked for in a frame? 10 balls means 9! collisions checks(hit tests) to perform (45).
Is there a better way of checking for multiple collisions?
View Replies !
View Related
External Movie Clips With Multiple Menu Movie Clips
It's pretty late and I don't think i have enough time to search this question in the forums but here I go. Sorry If I upset someone for making a topic that already exists.
I have a main timeline that im importing an external movie clip in. This external movie clip is named "members" it has several buttons that load other external movie clips into a window within "members" . What do I need to do to make this work. Do I need to use "this, _parent, _root, level(s) or "whatever.swf". If you can help me out that will be great. I'll make it up to you down the road. No sexual favor please.
I'm using flash mx 2004 btw.
Thanks in advanced
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
Multiple Buttons Multiple Movie Clips - PLEASE HELP ME
Hello -
QUICK BACKGROUND: I am working in Flash MX. I have used Flash for over 3 years, however, I am still struggling with Action Scripting. I plan to take some advanced courses this Autumn.
THE PROJECT AND PROBLEM: I am working on a large Flash site for a cosmetic dentist. I have multiple buttons and when you rollover the button, it will play a movie clip. I got this to work okay.
EXCEPT, I want the movie clip to stay in place and then go away when you click on the next button. Currently, I do not really have any Action Scripting involved except for a few STOP actions. The movie clip is attached to the "OVER" state for each button.
I have attached the .fla file for anyone who can take a few moments to review it. I am really at a stand-still and ready to have a nervous breakdown trying to figure this out. I have been up until 3am every night for the last 4 nights researching this and I have come close but still have not figured it out.
Any help is GREATLY APPRECIATED!!
Denise
View Replies !
View Related
Multiple Preloaders For Multiple Movie Clips
Designed in Flash 8, the site's timeline is all in Scene 1 and is comprised of an introduction, which contains a short video, and 6 movie clip categories that the user selects to view. Since I want the intro to play as soon as possible, I'd like to limit the first preloader to just the video in the intro and not _root.getBytesTotal. Then, as the viewer watches this short video, the rest of Scene 1 movie clips will keep on loading. After the intro, the viewer will choose which of the 6 categories to view. These categories are identified with buttons which play the particular movie clip. Since I don't know the order of the categories they will select, I thought there should be a separate preloader for each category. Hopefully, after they view a category, the rest of the categories will have loaded and the loading time will be nil. The design for the preloader is comprised of a status bar and a percent loaded. Is there a way to limit the _root.GetBytesTotal to specific frames? I know I could break these categories up into separate SWF files but then I loose the advantage of one loading while another is being viewed.
View Replies !
View Related
Multiple Flash VM Instances Running With Multiple Swfs On The Single Webpage
Hi all,
I am developing a webpage having multiple swfs interacting with eachother. Not when I load many swfs, is it the case that multiple flash VM instances are running on my machine? Is there any way to check this.
The project I am doing has one of the requirements that only one flash VM should be running.
To summarize my question is:
how to check whether multiple flash VM instances are running on the system when multiple swfs are loaded on the page?
Please help me in this.
View Replies !
View Related
HELP: Controlling Multiple Nested Clips With One Button
I have several nested clips playing as part of a larger root. I would like the user to be able to pause and play the whole movie with button control.
I believe that if there is only a stop() command, the main playhead will stop, but all embedded clips will continue to run, right? so, below is my attempt to stop all running clips with the touch of a button... but, only the main playhead stops (nested clips continue to run):
on (release) {
stop();
instancename1.stop();
instancename2.stop();
}
i am not using Targets either... can anyone help clean up my syntax?
THANKS!!
View Replies !
View Related
Multiple Movie Clips
I am new to ActionScript and I have a problem.
Is there ANY way to target multiple movie clips spanned across 5 levels?
For example a MC within a MC on level 3 controlling an MC within the MC loaded to level 1?
View Replies !
View Related
Multiple Movie Clips
i have been reading these forums alot and i have a ques please. is there any limit to hte number of movie clips you may add within another ? i mena i read about people loading a clip into a clip that resides within another clip and am just curious if there is a limit
View Replies !
View Related
Multiple Movie Clips
How can I copy and paste movie clips, and set different actions to them? When I make copies, and set actions to just ONE of them, all of the others do the same.
Im still a n00bie, trying to learn : ) Thanks for the help.
View Replies !
View Related
Multiple Movie Clips
Hello, I'm new here and was wondering if anyone could help. I have two movie clips that I am trying to animate at different FPS. It is basicly a sky picture that is divided in two. There is an upper sky and a bottom sky. I made them so that they scroll across the screen from right to left, however I would like them to move at different speeds. I would like the top half of the screen to move at 30 FPS and the bottom to move at 15 FPS. I'm trying to create a neat effect here but when I double click the movie clip in the libarary to edit it to change the FPS, it changes the FPS for the other animation in my libarary as well. Whenever I change one it automaicly changes the other. Anyone know how to get around this? Also is there a way to remove the background from a movie clip?
View Replies !
View Related
Multiple Movie Clips With Same Name
Hi
I'm writing a quiz question where students are asked to drag either 'principal', 'principles' or 'principle' into the correct spaces in a piece of text.
I've given the spaces which require the same answer the same name and ditto for the words to fit into those spaces. I've done this hoping that any copy of the word 'principal', for example, will fit into any one of the spaces for that word.
However, when I publish the quiz, it recognises only the first instance of each movie clip as dragable, or dragable-onto.
Has anyone got any ideas?
'elp!
Thanks
Trinitybay9
View Replies !
View Related
Multiple Movie Clips
I just can not figure out how to write an action script to load separate swfs into two separate movie clips.
When I build a flash program I only get the first swf to play. It shows up in the correct movie clip. I can not get the other swf to play in the second (different name) movie clip.
That's my main problem.
A secondary concern is if I try to then add audio to the main Flash program that never plays.
Can anybody point me in the right direction?
Thanks
Randy
View Replies !
View Related
Help With Multiple Movie Clips
Hey everyone,
Stuck on a little problem here. I have my main MC that loads another on top of it. The movie clip thats loaded on top has some buttons on it. I'm having trouble with the actionscript to make it so that when you click the button on the top MC, it will go inside the bottom MC and play a specific frame.
Any help would be great!
Thanks.
View Replies !
View Related
Multiple Movie Clips
I've created a slider that opens by a mouse click. This slider opens multiple movie clips in the form of individual windows with additional buttons on each window. How do I activate the buttons within the slider so that the opened windows can be minimized to the visible edge of the slider without tweening all windows out of sight.
I know it sounds very confusing but I'm hoping that someone can help and guide me through this.
Sabras
View Replies !
View Related
Multiple Movie Clips
Hi
I am currently making a grid based game and across the grid there is upto 10 repetitions of 10 different objects over the 100 squares.
Each object is a movieclip which there is a copy of in the project library. At the start they will either all be spread across the grid or the player can place them in the grid to solve the puzzles.
if i have a loop
ActionScript Code:
for(var i=0;i<10;i++){
for(var j=0;j<10;j++){
}
}
and within this loop the clips are randomly placed how do i dynamically attach them, say for example a library reference is one,two,three etc
at the minute i have something like below which doesnt appear to work but if i take this out and only attach one specific movie it works fine.
ActionScript Code:
clip = _root.grid.createEmptyMovieClip("num"+i+"_"+j, 1300);
clip._x = _root.tileClickedX;
clip._y = _root.tileClickedY;
switch(_root.puzzle[i,j]){
case 1 : clip.attachMovie("one",one,_root.grid.getNextHighestDepth());
break;
.
.
.
.
}
View Replies !
View Related
Multiple Movie Clips
Hi everyone,
I have 2 movie clips (so far) on my main timeline. Also on my main timeline I have a rewind button. The rewind button rewinds correctly for my first movie clip named main1_mc which is on the frame labeled "screen". But when it reaches my second movie clip and I want to rewind the entire movie, the first movie clip rewinds in front of the second movie clip. So the second movie clip is still there and the first movie clip appears on top and rewinds. My second movie named "mainr_mc" is also on my main timeline on the frame labeled "resources". So I've tried multiple variations of removeMovieClip with _root and all (as commented in the code below) but nothing seems to work. Any suggestions? Here's my AS for my rewind button (which is also on my main timeline) below:
// ========== REWIND BUTTON ==========
prev.onPress = function() {
//removeMovieClip("_root.mainr_mc");
_root.next._visible = true;
_root.createEmptyMovieClip("controller_mc", 1);
controller_mc.onEnterFrame = function() {
_root.screen.gotoAndStop(_root.screen._currentfram e-3);
if (_root.screen._currentframe-3<1) {
_root.gotoAndStop("screen");
}
};
};
prev.onRelease = function() {
controller_mc.removeMovieClip();
_root.next._visible = true;
//removeMovieClip("_root.mainr_mc");
};
prev.onReleaseOutside = function() {
controller_mc.removeMovieClip();
_root.next._visible = true;
//removeMovieClip("_root.mainr_mc");
};
View Replies !
View Related
Setdrag Using Multiple Movie Clips
I have a movie with a box with the setdrag propertys set to drag the movieclip when u press and hold down the clicp and let go when u release the mouse. i did that no problem but when i duplicate the clip only one of the clips will let me drag it in that scene even though the coding is the same. help me please. a.s.a.p
View Replies !
View Related
Multiple Draggable Movie Clips
Help! I have 5 different movie clips that i have being able to be dragged around. I hvae a huge problem tho, and that is when i try dragging any of the other 4 movie clips, the 1st movie clip always gets dragged ....whyy?????
View Replies !
View Related
Targeting Multiple Movie Clips
Maybe this is a dumb question, but is there a way to change the properties (specifically _alpha) of multiple instances at once?
Here's my situation. I'm making a map, and there are 188 instances, which all fall into 4 categories. I use a naming convention of category + number. When I click on a category, instead of changing the alpha for 50 or so isntance, I'd like to hit them all at once. Is that possible?
View Replies !
View Related
Preloaders For Multiple Movie Clips
I have an animation that stops at a frame in a main movie. Several (randomly generated) .swfs are loaded into container movie clips on the stage.
I wondered how I would go about employing a preloader that accounts for the loading times of all the .swfs simultaneously.
Basically, so nothing is visible until ALL clips have fully loaded.
Any ideas?!
telekin:
__________________________________________________ __________
View Replies !
View Related
HELP: Controlling Multiple Movie Clips
Can somebody please tell me if there is a way to control multiple or all of the movieclips at once, (not the timelines, just a simple instruction like play() or gotoandstop() ) except the main movie clip ?
I mean, I can just put a tellTarget to each of the movieclips, but what if it's just a simple instruction for 20 or 30 movie clips ?
I tried with:
tellTarget(all){
play();
}
but that screwed the whole movie.
Thanks.
View Replies !
View Related
Controlling Multiple Movie Clips
I've got some script that i want to use to control 5(to 500 if need be) but is doesn't work on more than one movie clip. Previously, i would have just duplicated the script and changed the instance name. It doesn't work with this script(because of the .onEnterFrame). Does any one know how to send this script to multiple movie clips?
back_btn.onRollOver = function() {
first_mc.onEnterFrame = function() {
this.prevFrame();
}
}
back_btn.onRollOut = back_btn.onReleaseOutside = function() {
delete sqr_mc.onEnterFrame;
first_mc.stop();
}
the first_mc being the name of my instance.
View Replies !
View Related
Loading Multiple Movie Clips (HELP)
Greetings!
I've created a flash promo movie (the ones with the next and back buttons). Anyway, I have serveral movies that I want to use... How can I get them to load one after the other via the "next" and "back" buttons or just playing through... Thanks
View Replies !
View Related
Creating Multiple Movie Clips
Hi there - here is what I'm trying to achieve:
I have a m/c of a small square rotating from edge on to face on via it's Y axis. I want to now, using duplicateMovieClip, create 25 of these, in a grid 5 x 5, one after the other, playing as they are created.
I know how to create the 25 duplicates, using Linkage in the library and something like this:
Code:
for (i=1; 1<=25; i++) {
square_mc.duplicateMovieClip("square" + i + "_mc", i)
}
But once they are created, how do I reposition them? Also I will need to be able to determine once 5 are created so that a new line is started.
Would it be something like this: Set a first X and Y position before the loop and after each pass, use -
Code:
this._x = n + somenumberofpixels
this._y = g + somenumberofpixels
where n is the preset _x before the loop and g is the preset _y before the loop and somenumberofpixels is the size of the square after full rotation plus a little gap inbetween?
Sorry my text sounds/reads a bit messy; I can see the solution, but I just don't know how to reach it.
cheers
frank
View Replies !
View Related
Visibility Of Multiple Movie Clips
part of my website involves an archive of stories. i wanted to menu to select each story to be scrollable, because of this i could not figure out how to use goto frames to get each new story. so instead im using
onClipEvent (load) {
setProperty("/aaaaaaa", _visible, "0");
setProperty("/Panels/Grid State/mark1", _visible, "0");
}
on each story's MC, and the button to activate each story has this:
on (release) {
visible = int (getProperty("/aaaaaaa", _visible));
if (visible == "1") {
setProperty("/aaaaaaa", _visible, "0");
setProperty("/Panels/Background_State/mark1", _visible, "0");
}
if (visible == "0") {
setProperty("/aaaaaaa", _visible, "100");
setProperty("/Panels/Background_State/mark1", _visible, "100");
this.swapDepths(_root.mcNum);
_root.mcNum = "_root.aaaaaaa";
}
}
my problem comes when a person activates a story., but then goes to activate another - the first one remains. I could just have each button make every other story have visible = 0, but i plan on adding more and more stories, so adding each story to each code would become exponentially tedious...
is there a way to code so that "all but this story has visibility = 0"
thank you
View Replies !
View Related
Scroll Multiple Movie Clips
hi, im trying to scroll a "content" movie clip up and down controlled by a couple of buttons (not a scrollbar). I need to be able to load in different movie clips with varying sizes (depending on content in them) and control them.
anyone know how i can do it? or know any tuts? ive found heaps using scrollbars, but none using what i would think is more simple just buttons.
thanks!
View Replies !
View Related
Call Multiple Movie Clips...HELP
i have a movie clip called splatter.
then on the main timeline, I have the following actionscript on frame 1
setInterval(placeIt,2000);
function placeIt() {
var name = "movieclip" + random(1000);
attachMovie("splatter", name, 1);
name._y = random(800);
name._x = random(600);
};
I want to be able to have this just run over and over and place hundreds of instances of splatter all over the page.
It works to a certain degree. It does attach a movie every 2 seconds, but it does it at coords 0,0 and not at the random x,y I am wanting. I think. At the very least it is calling the fuction and attaching a movie every 2 seconds.
How do I dynamically create a 'name' and then reference it?
Any help is greatly appreciated!
B
View Replies !
View Related
Multiple Movie Clips/ Loadingtimes
PLZ help
I have created a grid layout, in each of the squares of the grid is a movie-clip, i have copy and pasted the same clip into each of the squares. There are a few hundred squares, each with the same movie-clip. It creates a kinda mouse trail effect when u roll-over, (the clips have a roll-over command to play).
But heres the problem ... it takes way too long to load. I thought cos i used the same instance and movie-clip in each square, that it would only have to load the clip once. What am i doin wrong? Is there another way or am i stuck with the long loading time?
thnks
View Replies !
View Related
Tracking Multiple Movie Clips
My app has a number of dynamically created movie clips using duplicateMovieclip();. Each new clip's name is incremented one. How can I identify which movie clip has been last clicked or touched by the user.
I want this info because I want to be able to have the user select the movie clip he/she doesn't want anymore and kill it.
Below is the code that adds a movie clip:
//ADD PRODUCT CONTAINER
//Creates a new product container instance
//Try to get seperate variables
var x = 1;
function addContainer() {
var newClip = "container" add x add "_mc";
duplicateMovieClip(_root.stage_mc.container1_mc, newClip, x);
x++;
return;
}
View Replies !
View Related
Reversing Multiple Movie Clips?
Here's my problem. I have a stage set up with three movie clips. The main functions are as follow:;
aboutMc.onPress = function() {
playPanels("about", true);
playPanels("contact", false);
playPanels("portfolio", false);
};
contact.onPress = function() {
playPanels("contact", true);
playPanels("about", false);
playPanels("portfolio", false);
};
portfolio.onPress = function() {
playPanels("contact", false);
playPanels("about", false);
playPanels("portfolio", true);
};
function playPanels(mc, forward) {
_root[mc].onEnterFrame = function() {
if (forward) {
this.nextFrame();
} else {
this.prevFrame(-1);
}
};
}
Is there a way to delay opening a new movie clip until the existing clip on the stage closes? As it stands now... they will open and close at the same time(this is rather messy)
Please help.
View Replies !
View Related
Multiple Movie Clips As A Mask...help
Okay, so I am trying to make a mask for an image that will drip down like blood to reveal the picture underneath. I've tried several different ways of doing it, but the way that looks best is giving me trouble.
I have one movie clip as the mask, and inside are several layers with different movie clips. Some of the MCs are one drop of blood with a trail that stretches behind it. Some are MCs that contain a bunch of little drops that do the same thing.
When i test it, they all run correctly, EXCEPT when some of the clips overlap each other, they act as a NEGATIVE MASK and reveal what is under everything. This doesnt make sense to me! I thought that with everything overlapping, it would make a solid block that wouldn't have gaps or holes, but when they overlap, the overlapping regions create a hole and it just looks stupid.
Is this common? Should I scratch this idea and try doing it another way? Can anyone help?
Thanks!
View Replies !
View Related
Stopping Multiple Movie Clips
I’m using Flash MX.
I have a 4 minute flash video running multiple movie clips, some within each other and some one after the other.
I want to make a “pause” button. I realize that this will involve a stop(); and a play(); in some format but I can’t figure out how to “stop all movies” with one button without using complex paths to every one of my movie clips.
This is made even more complex by the fact that I have no idea when the viewer of the video will pause the video, so I don’t know which movie clips to stop at that point.
View Replies !
View Related
Adressing Multiple Movie Clips At Once Via AS
Okay um,
I got a few movie clips on the stage, which I want to move around when
I use the arrow keys, which isn't a problem, however instead of going
about typing in:
object1._x = object1._x - 5
object2._x = object2._x -5
object3._x = obj... and so on
I want to be able to adress ALL the movie clips I want to move around
in ONE line. I've tried placing all the object names in a array and adressing
the array._x to move them all around but that won't work for me, perhaps I'm
looking over something here...
anyone got ideas as to how I can tackle this ?
View Replies !
View Related
Multiple Movie Clips Doing Same Action?
hey all.
im working on a basic little game cup-under-ball game, with a twist. problem is, when you lift up a cup, only one cup will lift up, which is good, but the 'prize' object applies to all the other cups. how do i fix this.
thanks!
(enclosed is the flash im working on)
View Replies !
View Related
|