Mask works in movie clip, not in scene

I've created a movie clip with a mask that I'm using in a
main scene. The mask looks fine while editing/working the movie
clip, but does not show up in the scene.
The really strange thing is that it was working, but suddenly
now it won't show up in the scene any longer. I've tried replacing
it, making a new layer and bringing it in again. But nothing works.
Does anyone have an idea of why this would be?
Any help GREATLY appreciated!
dm

scenes are nothing more than the main timeline divided.
Nothing different from one scene to the
other in terms of layer and frame functionality - sounds to
me like you simply dont have the mask
and masked layers locked in that scene.
~~~~~~~~~~~~~~~~
--> Adobe Certified Expert
--> www.mudbubble.com
--> www.keyframer.com
~~~~~~~~~~~~~~~~
dkmiles wrote:
> I've created a movie clip with a mask that I'm using in
a main scene. The mask
> looks fine while editing/working the movie clip, but
does not show up in the
> scene.
>
> The really strange thing is that it was working, but
suddenly now it won't
> show up in the scene any longer. I've tried replacing
it, making a new layer
> and bringing it in again. But nothing works.
>
> Does anyone have an idea of why this would be?
>
> Any help GREATLY appreciated!
>
> dm
>

Similar Messages

  • SetMask works in movieclip but not in scene

    I am using the tutorial code:
    maskee.cacheAsBitmap = true;
    maskMC.cacheAsBitmap = true;
    maskee.setMask("maskMC");
    and when I put the elements in a fla file by itself, or if I
    test the movie clip (not the entire scene) it works fine. But if I
    test the entire scene, which has the movie clip that has the
    masking going on - it does not work. What am I missing? I tried
    adding the _root.mcname to the script but that doesn't help.

    sorry gang - I figured it out - I was missing all of the
    nested movie clip names so my final code looked like this:
    _root.navigation.name.maskee.cacheAsBitmap = true;
    _root.navigation.name.maskMC.cacheAsBitmap = true;
    _root.navigation.name.maskee.setMask("_root.navigation.name.maskMC");

  • Masking works in preview but not when published

    I am dynamically loading higher-res images into a movie clip
    that
    correspond to the place in a 360 degree rotation the main
    clip is at,
    then resizing that movie clip to "zoom" the image. Since I
    don't want
    to overflow the whole screen, I've created another movie clip
    that
    masks the loader movie clip.
    When I preview the flash file, it works perfectly. When I
    publish the
    file, the mask doesn't get applied. Thoughts?
    zoom_btn.onPress = function(){
    if(iszoomed == false){
    loadMovie("zoomimages/" + Math.floor((_currentframe-4)/3) +
    "big.jpg", image_mc);
    stop();
    zoom_btn.onRelease = function(){
    if(iszoomed == false){
    Loading progress loop begins, extra code
    removed...
    if (pcLoaded >= 99){loader_mc._alpha = 0;
    image_mc._visible = true;
    myMask_mc._visible = true;
    image_mc.setMask(myMask_mc);
    .....Loading progress loop ends}
    iszoomed = true;
    }

    Hi Robert,
    as far as I understand your post, you are missing some kind of "button-artwork" in the published file, but do not report a problem with the "action" that the script should perform.
    My guess would be that it will be hard to help you without having a better understanding what your trying to achive and how (are you using a prebuilt component, or did you build the button fron scratch etc....)
    It might be even necessary to have a look at the fla itself.
    M

  • How do I make a movie clip play between scenes?

    I am VERYnew to flash so please bear with me. I am having a
    problem with a movie clip playing between scenes. As scene 1 plays,
    the movie works correctly. When I click on my button to go to scene
    2 the movie clip starts over. I would like it to continue from
    scene 1 seamlessly. Is this possible? How do I do it?

    avoid scenes - they are only for timeline management inside
    flash only - upon export it all becomes
    one long timeline - using them can be useful but in many
    instances it can cause navigational issues
    such as yours. Many developers avoid scenes - the ones who
    use them are mostly animators who have
    longer timelines with different scenes (actual settings, like
    backgrounds and characters).
    --> Adobe Certified Expert (ACE)
    --> www.mudbubble.com :: www.keyframer.com
    -->
    http://flashmx2004.com/forums/index.php?
    -->
    http://www.macromedia.com/devnet/flash/articles/animation_guide.html
    -->
    http://groups.google.com/advanced_group_search?q=group:*flash*&hl=en&lr=&ie=UTF-8&oe=UTF-8
    Maureen Getchell wrote:
    > I am VERYnew to flash so please bear with me. I am
    having a problem with a
    > movie clip playing between scenes. As scene 1 plays, the
    movie works correctly.
    > When I click on my button to go to scene 2 the movie
    clip starts over. I would
    > like it to continue from scene 1 seamlessly. Is this
    possible? How do I do it?
    >

  • Link a button inside a movie clip to a scene

    I am trying to link a button that is inside a movie clip to a scene. The button has the instance name "cosmetic_btn" and the scene is called "Cosmetic Treatments".
    On my main timeline I have the code:
    cosmetic_btn.addEventListener(MouseEvent.CLICK, clickHandler);
    function clickHandler(evt:MouseEvent):void {
    gotoAndStop(1, "Cosmetic Treatments");
    And on the timeline inside the movie clip I have this code:
    MovieClip(root).gotoAndStop("Cosmetic Treatments");
    When I run the document I get the following error:
    Home, Layer 'actions', Frame 101, Line 1
    1120: Access of undefined property cosmetic_btn.
    I have the instance name "cosmetic_btn" set on the button so I am unsure what is wrong here?
    http://img600.imageshack.us/img600/3236/gp2g.png

    One other thing you should correct is to add a frame number/label for the line....
    MovieClip(root).gotoAndStop("Cosmetic Treatments");
    otherwise you are likely to get an error regarding there not being a frame with that label

  • Button not working in Movie Clip

    I'm building a small 'table builder' app for a client. This
    is my first major project in flash and I've encountered something I
    cannot figure out for the life of me.
    In the .fla below there's a movie clip 'scroller' it has
    buttons in it which load .png's to the main stage. Some of the
    buttons work, some don't.... I can't figure out why. Even when I
    duplicate a button sometimes it doesn't work.??? If I take a button
    that's not working in the movie clip and cut/paste onto the main
    timeline it ALWAYS works. I've been pulling my hair out over this
    for the last two days . I have even started the whole project from
    scratch just to try and find out where I went wrong... but to no
    avail..... Any help would be GREATLY appreciated. I'm stuck on a
    hump and I need some help to get off of it.
    Here's a link to my file. I've stripped away all the styling
    elements so it should be pretty clean cut when you see it. Thanks
    for any help or guidance!
    http://www.buddyscampfire.com/tableBuilder.zip

    A few errors: Scene 1 frame 1 Actions layer. You are
    referring to buttons inside of the scroller, and you don't have
    too. They aren't doing anything. All you need on that frame is:
    function startLoading(whichImage) {
    loadMovie(whichImage, "imageLoader");
    _root.onEnterFrame = function() {
    infoLoaded = imageLoader.getBytesLoaded();
    infoTotal = imageLoader.getBytesTotal();
    percentage = Math.floor(infoLoaded/infoTotal*100);
    infoField.text = percentage+"%";
    if (percentage>=100) {
    delete this.onEnterFrame;
    infoField._visible = false;
    Then on the Scroller you have that function again. Remove it
    from the scroller, as it does nothing there. Inside of the scroller
    all you need is code to attach png files from pressing the buttons.
    Make sure each button has a unique instance name, which isn't the
    case right now. You have like three buttons called imgbtn1. Fix
    that.

  • Animated drop down buttons not working in movie clip

    Hi,
    I am working on this site: (AS2)
    http://www.steamandclean.com/Index_w_1.html
    I have two types of drop down menu. One under Commercial and one under Technical
    The buttons are movie clips. The drop downs are also movie clips that start in frame 2 and are triggered on rollover.
    The child buttons are buttons living on the drop down movie clips. They are set to getURL
    As you see they are not willing to neither link to any url or will they run their move clip animation. One is a button and one is a movie clip.
    The left movie clip has a mask, but it makes no difference if I remove the mask . It also has a emboss filter and no difference is I take that away either.
    All of it is in one flash movie right now, but I will be splitting it up in a master navigation movie and individual swf's soon.
    Right now I have the main movie, then the button MC then the dropdown MC and in the drop down MC I have placed either a animated (button) MC or a button. So it nested in nested in.......
    In both cases I scripting the child buttons like this:
    on (rollOver) {
    gotoAndPlay(2);
    on (rollOut) {
    gotoAndPlay(6);
    on (release) {
    getURL("http://steamandclean.com");
    I have also tried to use
    _parent.getURL and _root.getURL in stead of just get URL, but it does not work.
    The drop down buttons seem to be buried. In the left side the whole drop down panel seems to act like a link?
    What am I doing wrong?
    Can you help?
    ggaarde

    Hi Ned
    Thank you for your reply again.
    I figured it out.
    Your reply prompted me to have my main button on rollover to go to a frame number on the main time line and then move the content of the drop down movie clip to that frame.
    The drop down panel now work and the child buttons animation now work as well. I just had to find a way to make the drop down panel disappear on rollout. Since I could not script the actual drop down panel I created three skinny invisible buttons and placed them on the right, left and button of the drop down panel. I scripted them to go back to frame 1 on both rollover and rollout. Done.
    See the result there:
    http://www.steamandclean.com/Index_w_1.html
    (Left side only)
    Thank you for your help.
    ggaarde

  • Buttons not working in movie clips

    I have multiple movie clips on stage (all in separate layers, of course) as well as buttons on stage to play each movie clip. There are buttons inside each movie clip. The problem is that the buttons inside the top layered movie clip work, but the others in the movie clips below don't.
    This is frustrating!! Can anyone help???

    It shouldn't matter which layer things are on.  If they are separate movielcips, one should not impact another.  What version of actionscript are you using?  Do any of the movieclips have mouse interactive code assigned to them?

  • Button within a movie clip not working

    Hiya,
    I have a movie clip within my swf website that is basically
    an icon that you roll over to produce the menu. The movie clip has
    coding inside it to produce the rollover effect. This is as
    follows:
    stop();
    this.onEnterFrame = function(){
    if(rewind == true){
    prevFrame();
    this.onRollOver = function(){
    rewind = false;
    play();
    this.onRollOut = function(){
    rewind = true;
    Whilst this coding works fine for this movie clip, for some
    reason the buttons within the movie clip that appear as you
    rollover them will not work when pressed. I am trying to get them
    to navigate the main timeline, i.e. coding as follows:
    on (release) {
    _parent.gotoAndPlay("home")
    _parent should be correct, I've tried it without and with
    _parent._parent however still it has no effect. From what I can see
    everything should be working fine.
    Is there some reason why buttons will not work within this
    sort of roll over effect movie clip?
    Thanks for your help.

    you can't assign mouse handlers to a parent movieclip and
    expect a child movieclip to respond to mouse events: the parent
    will intercept those events.
    to remedy, either assign all your mouse handlers on the child
    generation movieclips or use a hitTest() for one of the
    generations.

  • Button w/in movie clip not working

    I know this question has been raised before and it usually
    just boils down to using the frame #'s and labels. But, even with
    that it is not working.
    I have a map of the US and when each state is rolled over I
    would like a menu to appear - this menu is a list with several
    options and all of the options are buttons. I have it set up so
    that each state is its own MovieClip and each has an invisible
    button over it for the hit area and the menu to appear. (i didn't
    want it to be simply when it rolls over the state movie clip
    because the hit would be square, covering other states and causing
    a mess of pop up menus)
    Anyway, the menu pops up fine, but the buttons within do not
    work. Any ideas of what I'm doing wrong? Thanks Much!!!!
    wi_mc.stop(); // wi_mc is the state movie clip
    wi_btn.onRollOver = function(){ //wi_btn is the invisible
    button
    wi_mc.gotoAndStop(15); //frame 15 is where my menu resides
    wi_btn.useHandCursor = false;
    wi_mc.onRollOut = function(){
    wi_mc.gotoAndStop(1);

    Alright, I've made adjustments to how I've got it all set up.
    I've made the menu it's own swf file, (seeing as how I'm going to
    have 48 of them in total I figured it was less messy to have each
    as their own file). Anyways... here's the current problem and I'm
    hoping someone has a good explaination for why this would be
    happening...
    on my main file I have 2 invisible buttons - 1 is calling the
    movie to load when rolled over and the other is calling the movie
    to unload when a roll-out occurs. RollOver works great - fully
    functional menu shows up. Roll out, however, is having some issues.
    The invisible button is in the same location of the menu, same size
    etc. so that when the user rolls away from this the menu should
    "unload".
    For some reason it's acting as if the hit area for the roll
    out is off. I did a trace to find out where it's saying the rollout
    areas are and the first is actually when I roll onto it, then only
    again when i roll out from the left side of the graphic. I've tried
    deleting the button and creating a new one but the same thing is
    happening.
    Any ideas for a very confused person trying to complete this
    simple task of unloading a swf via rollout? MUCH appreciated!!!!
    this.createEmptyMovieClip("ExternalSWFHolder",
    this.getNextHighestDepth());
    var SWFLoader:MovieClipLoader = new MovieClipLoader();
    wi_btn.onRollOver = function(){
    SWFLoader.loadClip("wi_menu.swf", ExternalSWFHolder);
    wi_rollout.onRollOut = function (){
    SWFLoader.unloadClip(ExternalSWFHolder);

  • Re: Movie Clip not working in exported interactive PDF. Can anyone help?

    I've imported a movie clip into an InDesign document, but when I've come to export it as an interactive PDF it isn't working. I've made sure the Button and Media box is clicked in the export options to include all. I've exported it as a flash file and that works fine, so I'm assuming everything i've done in InDesign is okay. Any ideas?

    Im having a the same issue, i have 2 f4v files inplace and one SWF. And when I export to a SWF and bring it back into indesign to be exported as an interactive PDF it the 2 f4v and SWF files in it will not work.

  • Remove Child and Event.SOUND_COMPLETE not working inside movie clip. What's the problem?

    I have a movie clip that is called to the stage. The user then clicks a button and music plays. As the music starts, another movie clip is called, a simulation of  an equilizer. There are several things that should happen:
    1) When the user closes the movie clip the music is supposed to stop playing and the equilizer movie clip is removed. What actually happens is the music stops playing but  the equilzer movie clip is not removed.
    2) When the music is finished playing the equilzer is supposed to be removed from the stage and the play button is reactivated. But none of that happens. When I click on the movie clip a second time equilizer is still there and the play button is not reactivated.
    Here's the code that calls the movie clip to the stage.
    stage.addEventListener(MouseEvent.MOUSE_DOWN, goButtons);
    function goButtons(event:MouseEvent):void
        if (event.target == Song_bnt)
            SoundMixer.stopAll();
            addChild(myPlaySong);
            myPlaySong.x = 304;
            myPlaySong.y = 105;
            //event.stopImmediatePropagation();
    Here's the code in the movie clip:
    import flash.media.Sound;
    import flash.events.Event;
    stop();
    var playRayJaySong:RJSong;
    var playRayJaySongChannel:SoundChannel;
    var equilizer:Equilizer;
    equilizer = new Equilizer();
    playRayJaySong = new RJSong();
    //Plays music, inactivates buttons, and adds the equilizer to the stage.
    PlaySongRJClip.addEventListener(MouseEvent.MOUSE_DOWN, songPageButton);
    function songPageButton(event:Event):void
        playRayJaySongChannel = playRayJaySong.play();
        PlaySongRJClip.visible = false;
        ClicktoPlaySong.visible = false;
        addChild(equilizer);
        equilizer.x = 269;
        equilizer.y = 246;
    //Removes the equilizer from the stage when the music is complete.
    PlaySongRJClip.addEventListener(Event.SOUND_COMPLETE, rjSoundComplete);
        function rjSoundComplete(e:Event):void
        PlaySongRJClip.visible = true;
        ClicktoPlaySong.visible = true;
        removeChild(equilizer);
    //Removes the equilizer and event listeners from stage and calls dispatch event to close the movie clip.
    closeSong_bnt.addEventListener(MouseEvent.MOUSE_DOWN, CloseSong);
    function CloseSong(event:MouseEvent):void
        removeChild(equilizer);
        dispatchEvent(new Event("RemoveMSong"));
        PlaySongRJClip.removeEventListener(MouseEvent.MOUSE_DOWN, songPageButton);
        PlaySongRJClip.removeEventListener(Event.SOUND_COMPLETE, rjSoundComplete);
    //Removes the MovieClip from the stage when the user clicks on the close button inside the MovieClip.
    myPlaySong.addEventListener("RemoveMSong", RemoveSongClip);
    function RemoveSongClip(e:Event):void
        SoundMixer.stopAll();
        removeChild(myPlaySong);
    Any thoughts?

    I figured out the problem. Here's how I reorganized the code (all in one frame).
    //Code for Ray Jay song.
    var playRayJaySong:RJSong;
    var playRayJaySongChannel:SoundChannel;
    playRayJaySong = new RJSong();
    myPlaySong.equilizer_inst.visible = false;
    //Plays the song.
    myPlaySong.PlaySongRJClip.addEventListener(MouseEvent.MOUSE_DOWN, songPageButton);
    function songPageButton(event:Event):void
        playRayJaySongChannel = playRayJaySong.play();
        playRayJaySongChannel.addEventListener(Event.SOUND_COMPLETE, rjSoundComplete);
        myPlaySong.equilizer_inst.visible = true;
        myPlaySong.PlaySongRJClip.visible = false;
        myPlaySong.ClicktoPlaySong.visible = false;
    //Removes the MovieClip from the stage when the user clicks on the close button inside the MovieClip.
    myPlaySong.closeSong_bnt.addEventListener(MouseEvent.CLICK,RemoveSongClip);
    function RemoveSongClip(e:Event):void
        SoundMixer.stopAll();
        removeChild(myPlaySong);
        myPlaySong.equilizer_inst.visible = false;
        myPlaySong.PlaySongRJClip.visible = true;
        myPlaySong.ClicktoPlaySong.visible = true;
        playRayJaySongChannel.removeEventListener(Event.SOUND_COMPLETE, rjSoundComplete);
    //Resets all of the movieclips to their orginal state.
    function rjSoundComplete(e:Event):void
        myPlaySong.equilizer_inst.visible = false;
        myPlaySong.PlaySongRJClip.visible = true;
        myPlaySong.ClicktoPlaySong.visible = true;
    Thanks all for your suggests and input.

  • Stop(); not working. Movie clip is looping.(AS2)

    I have made a movie clip that needs to play till the last frame and then stop there, but not dissapear. Right now, as I am putting the command stop(); on the first frame of the movie clip and on the last frame too, nothing is changing, the movie clip is still looping and does not stop at all.
    What could be the problem?
    p.s. I am really a beginner in Adobe Flash.

    Can you show a screenshot of the timeline and where the stop() command are placed?  If stop(); is the only code you are using then it sounds like you are putting the code in the wrong place.

  • Loadvariablesnum not working on movie clip

    I have a movie clip called "popup" on my root timeline. In
    the popup movie clip, there is a dynamic text box with the variable
    set as "content". I have an external txt file called "file.txt". On
    my popup timeline, I have this code:
    loadVariablesNum ("file.txt",0);
    I have both my fla file and the txt file in the same folder.
    The txt file doesn't load. It loads if I put a dynamic text
    box on the root timeline and put the actionscript there too.
    What am I doing wrong? Thanks!

    what makes you think it doesn't load? if the text fails to
    appear in your textfield i would suspect you have a path issue
    because your variable (from the textfield) is loaded into _level0
    and your textfield variable is in _level0.popup.

  • Problems coding a button within a movie clip to navigate scenes

    Hello there! I've got another probably noobish question to ask about CS6.
    My goal is very similar to the one mentioned in this previously discussed forum question: http://forums.adobe.com/message/837995#837995 and also in this question http://forums.adobe.com/message/4172919#4172919
    I am attempting to make a button inside a movie clip in my first scene go when clicked to the first frame of my second scene. I named the button's instance menu_button_1 and I believe Scene 1 and Scene 2 are the names of the scenes. (If they should have special names or instance names, I did not see where to type them.) Because of the similarities, I attempted to follow the suggestions on those pages. However I probably did some small thing wrong, (Or heck, maybe a huge thing.) which I what I'd like help with to find.
    stop();
    myButton.addEventListener(MouseEvent.CLICK, clickHandler);
    function clickHandler(evt:MouseEvent):void {
    gotoAndStop(1, "Scene 1");
    This seemed to be what was suggested to enter. I attempted to modify it to work for me as well. This is what I typed for the button's action.
    menu_button_1.addEventListener(MouseEvent.CLICK, clickHandler);
    function clickHandler(evt:MouseEvent):void {
    gotoAndPlay(1, "Scene 2");
    (I removed the stop function because I have music looping in the movie clip that I want to play until the mouse is clicked.) (Also, I picked gotoandplay because I wanted scene 2 to start playing immediately when clicked rather than stopping.)
    I tried variations, including "2" instead of "scene 2" and whatnot. I also tried linking it to differnet places just to see if that would work. It seems like it could link if I only asked for a frame within the movie clip itself, but it couldn't go to any other frames in scene 1 or scene 2. When I attempt, this message is displayed in the output:
    ArgumentError: Error #2108: Scene 2 was not found.
        at flash.display::MovieClip/gotoAndPlay()
        at interactivestgermant_fla::menu_1/clickHandler()
    It seems it cannot find my Scene 2. (It also cannot seem to find Scene 1 when I prompt it to do that.) I'm afraid I'm not sure of what I've entered incorrectly, though I'd imagine it involves how I typed the scene navigation. Should it have an instance name or something? I'd very muchappreciate a push in the right direction. If you need any more info I'll be happy to provide it. Thanks for the help! I very much appreciate it.

    I bet you're absolutely right. However I am not sure how I am misnaming it, as to my ametuer eyes, it seems to be entered properly into the properties box? It does show up as "menu" written in white over the keyframes and also in the properties slot. I can include some images here to help out in correcting me.
    http://girlfoxgirl.deviantart.com/art/Flash-Help-1-395704638   This image shows my movie clip. This seems to be the problem it's having, identifying "menu." Did I do that incorrectly? It looks to be in order.
    http://girlfoxgirl.deviantart.com/art/Flash-Help-2-395704633 This is inside of the movie clip named menu. You can see I did the same to name the button menu_button_1.
    http://girlfoxgirl.deviantart.com/art/Flash-Help-3-395704627   This shows the action I gave to menu_button_1 in which I attempt to have it naviagte to Scene 1 frame 493.
    http://girlfoxgirl.deviantart.com/art/Flash-Help-4-395704623  This shows where I'd like the button to go to. (It is hard to tell if that's frame 493 or 492. I figured that it should be ok either way and if this frame is 492 then it's easily changed once I get the darn thing working in general) (Also, I named the layer "peanuts." I tired entering the name "peanuts" as well but it didn't seem to work either, so I figured "493" is easier since I know that you can go to a specific frame by doing gotoandplay("scene 1" , #) and I'm not sure if it requires any additional stuff to go to a name.
    http://girlfoxgirl.deviantart.com/art/Flash-Help-5-395704687    These are the errors I get. I totally agree with you- It seems very much to be an issue of getting it to recognize the "menu." However I am unsure where I named something wrong. Is this enough info to help you perhaps point out where that is?

Maybe you are looking for

  • I need a copy of the warranty for a 2009 Mac Book Pro?

    For the purpose of getting my cc company to pay for the replacement of the optical drive on my macbook pro which is out of warranty, I need a copy of the original warranty please.

  • Nokia lumia 820 camera

    I need heeeelp. My camera can't take pictures or video anymore. When I click on the camera button it brings a black screen for a second then goes back to the menu. It is like if it is not activated. This phone just gives me headache. It also usually

  • How can i connect a printer through PLSQL for taking printouts

    Hi, I want to take a printout of the specified file through PLSQL. Pls give u'r idea. Thanks Suresh

  • How to set TimeOut period in Portal

    Hi, I am running a report in the portal which is taking more than 1 min to display the results. After this one min the page is getting timedout. Can any one please let me know how to administrate the timeout interval. I found this link http://help.sa

  • Web Premium CS5.5

    How do I install my Web Premium CS5.5 to a new computer, when original was downloaded electronically.