How do I inactivate all other movie clips except the running one.

Hello guys
I would need help to inactivate all other actions on movie clips while the active movie clip is running. So in my flash scen when the user makes a roll over on a movie clip I would like that movie clip to play all frames in that movie clip before the user can roll over on an other movie clip. So the active movie clip don't gets interupted. What actionscript 2.0 should I look for?
Thanks!
/Klas

You could use a boolean variable in a conditional that wraps whetever functionality the objects have to prevent them from taking those actions.  So when you rollover an object it starts to activate its animation or whatever and sets that boolean to prevent any others from doing the same.  And when it completes its actions it rets the boolean.
If you show your rollover code it might be easier to show an example, but it might be something like...
var allowPlay = true;
mc1.onRollOver = rolloverFunction;
mc2.onRollOver = rolloverFunction;
mc3.onRollOver = rolloverFunction;
function rolloverFunction(){
   if(allowPlay){
       allowPlay = false;
       this.play(); // or whatever action your rollover executes
and when that animation completes the movieclip resets the allowPlay to true.
_root.allowPlay = true;

Similar Messages

  • I have 3 consecutive movie clips that I am trying to drop into the drop zone but it only recognizes the first one and only produces the firts one in a DVD. How can I drop all three  movie clips into one drop zone

    On IDVD, I have 3 consecutive movie clips that I am trying to drop into the drop zone to create a DVD but it only recognizes the first one I dropped and only produced the first one in a DVD. How can I drop all three  movie clips into one drop zone.

    I have had some luck doing the following: Export each clip from imovie as a quicktime clip. Open iDVD and create a new project. Import a few stills into iDVD and then click on the button that gets created to get into the screen where the individual slides appear. Drag each quicktime into that screen and arrange in the order you want. You can then delete the stills. The button that appeared when you dropped in the stills will launch a complete show.

  • How do I view all my movies, not just the ones I have downloaded

    I have a few movies I downloaded off the Itunes store but I cant seem to find them on my itunes movie  list. All that is listed are the movies I have downloaded to the hard drive and not  the ones I have in the cloud. THe movies show up on my other devices. 

    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • I lost all my email accounts except the first one listed with the 24.5 update

    I haven't used thunderbird in several weeks, working only from my gmail online accounts. I opened TB 24.5 to find all my email accounts missing except for the first one in the list. 4 gmail accounts are now missing. Just recently updated to 24.6 and this did not solve the problem. I am using Win7 pro.

    can you explain more
    do you mean you that you can not see those email account?

  • Self-spawning Movie Clips Don't Run AS2

    Hello,
    I have made a preloader, and to make the bar appear earlier during the loading process, I made every movie clip except the preloader files have "Export in first frame unchecked." Since I did this, my game doesn't run the movie clips anymore. I had enemy units come across the screen randomly, and now nothing appears at all. What will solve this? If you need the .FLA or a screenshot, please let me know.
    MrA615.

    The movie clips still aren't starting at frame 3.
    Here is a screenshot. Am I doing it right? Whoops, when I said Layer, I meant Frame.
    Message was edited by: MrA615

  • How can I load an external SWF into a movie clip that's inside other movie clip?

    Hi.
    I creating my first flash (actionscript 3.0) website but I'm
    stuck with a visual effect I want to create.
    I have a window on my website called contentWindow. Every
    time you click a button this window is supposed to leave the stage,
    load the requested content and return to the stage.
    The sliding window is a movie clip with 83 frames, 21 to
    enter the stage, 21 to leave the stage again, 20 for nothing (its
    just to simulate the loading time) and 21 to return to the stage.
    Now my goal is, when the user clicks on a navigation button,
    the window exits the stage, loads an external SWF with the content,
    and then returns to the stage.
    I've the "window" movie clip with an instance name of
    "contentWindow". Inside there is another movie clip with an
    instance name of "contentLoader". The content that the user
    requested should appear inside the "contentLoader".
    Now, when the contentWindow leaves the stage, I get this
    error message:
    quote:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at rwd_fla::MainTimeline/trigger()
    If I switch
    "contentWindow.contentLoader.addChild(navLoader);" for
    "contentWindow.addChild(navLoader);" it works fine, but the
    external SWF doesn't move with the window.
    How can I load an external SWF into a movie clip that's
    inside other movie clip?

    Hi,
    Recently, I have been putting together a flash presentation.
    And I am just wondering if the following might help you, in your
    communication with the said swf file:
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    onComplete);
    function onComplete(event:Event):void
    event.target.content.thinggy_mc.y -= 100;
    Not the best example, but this allows you to target a mc
    within an external swf file. I think if you look up this code, you
    will have an answer ;)
    Kind Regards,
    Boxing Boom

  • How do I recerence Movie Clips on the Main Timeline from inside a class?

    Hey everyone, this might be a stupid question but I thought
    I'd ask cause it's making me nuts. I'm all of 2 days into AS3
    (coming from not using Flash at all in YEARS) so feel free to
    consider me ignorant. I do have plenty of application development
    experience in other areas though.
    I can't seem to create a class that can reference an instance
    of a movie clip on my main timeline. I'd post code of what I've
    tried but I've gone through so many desperate edits & wild
    guesses that it was just garbled junk before I deleted it all.
    Basically here's how I figured Flash could work, though maybe
    it doesn't work this way at all.
    I'm assuming that with AS 3 being so big on being a true
    object oriented environment, I wouldn't need to mix my code and
    interface together. Preferably I'd be using the Flash authoring
    tools just to design my interface. Create a button... place it
    somewhere... give it an instance name. Roughly the equivilant of
    Apple's InterfaceBuilder for those of you that might be familiar
    with Cocoa development. I can see maybe having to put a few lines
    of ActionScript onto frame 1 (though really I'm hoping Flash would
    have a better method of kicking off the application at this point
    that using code tied to frames) to load my classes & such, but
    after that I'd like all of my code to be held in external class
    files.
    So maybe I've got:
    Interface.fla - My interface
    Button_1
    Button_2
    TextField_1
    Main.as - My main controller class using to handle all of my
    applications behavior
    SomeClass.as - Some helper Class
    SomeOtherClass.as - Some helper Class
    Main.as would have instructions in its initialization method
    to go ahead & attach events to buttons & initialize
    anything else that needs to happen when the application starts.
    From there on it would all be objects communicating back &
    forth. Button_1 would get clicked with would fire
    Main.someMethod(). Main.someMethod() would then do it's thing and
    set the value of TextField_1. All very clean & code is very
    separated from interface.
    Unfortunately I can't for the life of me figure out how AS3
    classes reference each other like that. There doesn't seem to be
    any kind of a global 'root' or '_root' I can use to locate any
    movie clips on the stage. I've searched the help & the web for
    any kind of simple tutorial but to no avail. My job has tasked me
    with building a flash app for a project but I'd really rather not
    have a tone of ActionScript just shoved into frame 1. That just
    seems... ugh! (::shudder::)
    Can someone maybe point me in the right direction here? I'm
    really willing to do my homework but I can't seem to locate the
    info I need to get started. Also, is there an ActionScript IRC
    channel or something maybe?
    Thanks,
    Cliff

    I worked with the problem last night and the solution I
    started coming to involved creating my own custom document class
    based off which extends MovieClip. My thought is that way I have
    access to the initialization routine of the timeline itself and
    that all of the elements on the main timeline should be
    "properties" of my custom class.
    Is this correct? Is there a down side to doing this & if
    so what is it & why?
    Also, just for my reference, the last time I did anything
    with ActionScript I think I was using '_root' to target the main
    timeline. WHat are the global variable names in AS 3? Is it just
    'root' & 'stage' or 'Root' & 'Stage' or what?

  • How to keep a Movie Clip on the screen for 5 secs.

    I am having trouble with keeping a movie clip on the screen.
    I am setting it up to play a movie using the .onPress function. It
    is calling the movie but only shows it for a split second. How can
    I make the movie stay on the stage for 5 seconds? Here is how I
    have it coded:
    rc1MC.onPress = function() {
    if (rc1MC.hitTest(_xmouse, _ymouse, false)){
    _global.correct++;
    updateStats();
    var c1:MovieClip = this.attachMovie ("correct1_mc",
    "correct1",4300);
    var ymov = this._y;
    var gravity = 20;
    c1.onEnterFrame = function() {
    ymov += gravity;
    xmov *= 0.5;
    c1._rotation += 5;
    c1._x += xSpeed;
    c1._y = ymov;
    if (c1._y>stageHeight) {
    c1.removeMovieClip();
    delete this.onPress;
    Thanks Brandon

    Got my answer...
    http://forums.verizon.com/t5/FiOS-TV-Technical-Assistance/For-Those-of-You-Who-Want-to-View-Subscrib...

  • How do I play all my Movies from the iTunes'  Library?

    How do I play all the Movies from within my LIBRARY without having to click PLAY everytime on each individual movie? All my movies in the Library have the check marks on them already.
    When I play my "Music" LIBRARY, as soon as a song is over the next one starts up. Fine. Great! But, the same is not happening from within my "Movies" LIBRARY.
    This play-all-Movies type of action works fine from within each of my playlists. Once selected a movie to play from any playlist, other movies will keep on playing, one after another, until told to stop. But, I also would like to play all movies from my library.
    It would seem redundant to copy my entire library into a single playlist just to have this function available. Besides, every time I would add a new movie to the library, I would also have to remember to add it to said playlist.
    Could anyone, please, tell me if it is possible to play all movies from within the LIBRARY? (iTunes v.8.01).

    Thanks for your prompt reply, Meg. I've applied exactly your "smart playlist" directions (always wondered what that "smart playlist" was for while it worked wonders! Great going.
    "I asked for a fish and you taught me how to fish"! Thanks again!

  • Masking a movie clip that contains other movie clips

    hi,
    i am just trying out something in flash but it just doesnt
    work.
    I have a layer which has a movie clip which contains other
    movieclips in itself.
    Masking the layer that has the main movie clip causes the
    other movieclips in the main one to disappear when running the swf.
    Does any one have any idea how to get around this???
    thanks

    Hi,
    Recently, I have been putting together a flash presentation.
    And I am just wondering if the following might help you, in your
    communication with the said swf file:
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    onComplete);
    function onComplete(event:Event):void
    event.target.content.thinggy_mc.y -= 100;
    Not the best example, but this allows you to target a mc
    within an external swf file. I think if you look up this code, you
    will have an answer ;)
    Kind Regards,
    Boxing Boom

  • How can I block all other mail account just to only use the exchange mailbox of our company? This is to prevent the user to setup his on company iPhone.

    How can I block all other mail account just to only use the exchange mailbox of our company? This is to prevent the user to setup his on company iPhone.

    I don't know if I'm asking this all in a way that can be understood? Thanks ED3K, however that part I do understand (in the link you provided!)
    What I need to know is "how" I can separate or rather create another Apple ID for my son-who is currently using "my Apple ID?" If there is a way to let him keep "all" his info on his phone (eg-contacts, music, app's, etc.) without doing a "reset?') Somehow I need to go into his phone's setting-create a new Apple ID and possibly a new password so he can still use our combined iCloud & Itunes account?
    Also then letting me take back my Apple ID & password, but again allowing us (my son and I) to use the same iCloud & Itunes account? Does that make more sense??? I'm sincerely trying to get this cleared up once and for all----just need guidance from someone who has a true understanding of the whole Apple iCloud/Itunes system!
    Thanks again for "anyone" that can help me!!!

  • Garage Band 10.0.2 - How do I move clips in the editor?

    Pretty basic question about Garage Band 10.0.2.   I find it difficult to grab and move clips in the editor - the bottom window - as I could in previous versions. Instead, I'm having to go up to the top window to move clips closer together.  What am I doing wrong?

    Hold down the command key, while you click the region in the track editor and drag it. Don't click the ruler, click the wave shape in the audio region.

  • When I open a photo with Preview, it opens all the photos I have viewed previously.  How can I prevent that, other than manually clearing the list after each time?

    When I open a photo with Preview, it opens all the photos I have viewed previously.  How can I prevent that, other than manually clearing the list after each time?

    Close the pictures before you quit Preview. Cmd-opt-q will close all windows and quit. cmd-opt-w will close all windows and not quit.
    Or, Disable automatically opening files that were left open in General System Preferences

  • When I try to print an address from Address Book on an envelope, the printer menu shows the menu from IPhoto.  All other print requests show the normal pinter menu. How do get the normal menu?

    When I try to print an address from Address Book on an envelope, the printer menu shows the menu from IPhoto.  All other print requests show the normal pinter menu. How do get the normal print menu?

    Mike,
    Are any of your other applications going wonky, or is it just Logic?
    I'm afraid I've never heard of this particular problem before, but if it were happening to me the first thing I would do is delete my "com.apple.logic.express.plist" file in Library>Preferences, then repair permissions in Disc Utility, and finally restart my computer.  Then I would launch Logic and see if the problem has been corrected.  It's amazing how much these two steps can accomplish.
    If that doesn't resolve the issue I would launch Logic and go to Preferences>Audio Units Manager to see if all my plug-ins are properly validated.

  • TS1702 How do I change the Apple ID in an installed APP?  I have changed the apple ID in all the other apps due to security reasons. All changes were effective except the APPS ID.Where do I go to change the Apple ID?

    How do I change the Apple ID in an installed APP?  I have changed the apple ID in all the other apps due to security reasons. All changes were effective except the APPS ID.Where do I go to change the Apple ID for the APPS store?  Thanks in advance.

    You do not.  Apps and any content purchased from the iTunes store are eternally tied to the Apple ID they were purchased with.

Maybe you are looking for

  • Creation of Datasourece for SQL in Visual Administrator

    Hi, Can anybody give me the procedure to create datasource for SQL Server in the Visual admin. I want to know all the parameters that we need to give while connecting (like Drivers, URL etc). Thanks, Raju Bonagiri

  • Are these Seagate 2TB drives compatible in my Mac Pro Quad Core 2.66 GHz?

    I still have an Apple Mac Pro "Quad Core" 2.66 that was introduced August 7, 2006. I currently have 4 of the following Seagate internal hard drives installed: ST3750640AS SEAGATE BARRACUDA 7200.10 - HARD DRIVE - 750 GB - INTERNAL - 3.5" - SATA-300 -

  • My Facebook app is not sending me pop up notifications, how can i fix this?

    I have installed the official FB app and accidentally hit Don't Allow when it initially asked me about the push notifications. I have gone back and made sure it's all on in my settings, but it still isn't working. I have deleted the app and turn off

  • Macbook pro running slow, macbook pro running slow

    Hi.  My Macbook pro is about three years old and running slower and slower.  I'm not savvy with computers.  Are there any things I can do to speed things up?

  • Play video on phone

    Hi All I'v got a problem about playing video on phone I create two buffer let the video to fill and then create two player when 1st player is playing the 2nd player is ready to play until 1st player end_of_media then 2nd player play now the problem i