Applying scripted masks to sequential movieclips

I am trying to add transitions to a simple slideshow. I can
load img1
into mc1 using MovieClipLoader.loadClip(), load img2 into mc2
also using
MovieClipLoader.loadClip(). I can place mc2 behing mc1 and
create a
transition using setMask(mask_mc) & mask_mc.play().
Everything works fine, now I want to do the same thing for
img2 and
img3, and so on. I thought about using
MovieClip.swapDepths(),clearing
the setMask(), and loading the next image, but I am getting
all tangled
up in the process. Is swapping depths the only (best0 way to
do this?
Any suggestions would be appreciated
Bill

Thanks for the quick response Pete. They would need to be created as well. 
I was hoping that they would continue on through pages, but not documents (for booked instances). That they would be numbered on the fly so that if you moved pages around they would renumber themselves and then you could run a script to fix the order in the table. I have the sequential numbering scheme down for automatic figure box numbering. I just cant figure out the in-text mid-paragraph numbering. What do you have for me MVP?

Similar Messages

  • Cannot Apply Layer Mask in Photoshop CS6

    First off, let me state that I am a *total* Ps newbie…My question regards the following: In Ps CS6, I cropped an area using the Marquee Tool. Then, I Added [a] Layer Mask from the Layers Panel. Next, I turned off the Indicates layer mask is linked to layer BUTTON, clicked the Smart Object Thumbnail, and moved the image using the Move Tool. Now, I right-clicked on the Layer Mask Thumbnail in order to Apply Layer Mask but it is de-highlighted. This is my problem. I cannot figure out how to Apply [the] Layer Mask. (I hope this all made sense.) Can someone please tell me how to do this in CS6? TY.

    Thank you for the quick reply. I started the whole process over again and went through the same steps; and, I don't know if it shows up in the screen capture, but there is, indeed, a frame around the Layer Mask Icon when I right-click on it. The above pull-down menu is what I get when I right-click on it. (BTW, this is for a CS5 online course I'm taking, and this particular Lesson is called "Generating a Non-Destructive Crop." I'm having to figure some stuff out, since I have CS6...) I hope all that info helps.

  • Why is Apply Layer Mask greyed out?

    Hi,
    Once in a while 'Apply Layer Mask' is not available.
    What I checked myself:
    -Photoshop is not in Mask mode (shotcut Q).
    -I reset all Warning Dialogs (since this is a way to get a Mask applied by dragging it to the trash).
    Can not get it to work!
    Any other solutions? Thanks!

    I found out myself - the layer was a Smart Object. Maybe I should suggest Adobe to let Photoshop ask for rasterization when Applying, in stead of just greyin' out.

  • In Premiere Pro CC 2014, the image disappears when I apply a mask of an effect. Why?

    In Premiere Pro CC 2014, the image disappears when I apply a mask of an effect. Why?

    Nevermind...
    Fixe:
    projects setting > switch Renderer.
    Thanks

  • I am using the pen tool to clipp an image. Sometimes when I apply the mask WITH NO FEATHER it still appears to be feathered? Does this have to do with Anti-aliasing

    I am using the pen tool to clipp an image. Sometimes when I apply the mask WITH NO FEATHER it still appears to be feathered? Does this have to do with Anti-aliasing?

  • Applying a mask and cropping so exports in Flash

    I created a Photoshop CS4 file with about 10 layers which I placed in a group.  I've applied a vector mask to the whole group so all of the pictures are masked in an identical manner.  I also cropped the group to the same size.
    When I import this file into Flash CS4, all of the layers are showing up at their original sizes (instead of the size I cropped the group to), and the mask isn't being applied.
    Can someone explain the proper way to get this layered file into Flash CS4 with the cropped size and mask intact?
    Thanks for the help.

    I'm not an expert in photoshop, but I've tried everything I know to apply the mask to multiple layers and was not able to do so, and still maintain separate layers. I selected all the layers first and tried to apply a mask, and that didn't work. Then I grouped all the layers and was still unable to apply a single mask to all layers. The only way I was able to apply a mask to all layers was to flatten the image. Given that you're importing it into flash, I'm assuming that you're animating the various layers to acheive a certain effect. If that's the case, then flattening the image to apply the mask to the entire document at once doesn't make sense. If you're using the entire image without the need for layers, then of course you can flatten the image and then use the mask to make a selection and clear the unwanted parts of the image.
    I have to imagine that there's a way to do what you're asking, but with my level of experience, I'm unable to find a way to make it happen. There may be a way to export the file to flash with the layer mask intact, or perhaps there's a way to apply the mask to all layers at once, but I'm unable to find it. I would apply it to each layer individually which may take a few more minutes, as it's the only way I can find.
    The only other option I can think of, is to place the entire psd file in a flash document directly. CS5 allows this in After Effects and Premiere Pro, which may keep the mask intact. I don't know enough about Flash to know if that's possible as well, but it's worth a shot.
    As a final suggestion, maybe you can do all of your annimation and effects in After Effects, then just save it as a Flash file. I've done this before and it's allowed me to create rather robust annimations and effects without having to learn the more complicated aspects of creating a flash document from scratch.
    Hopefully one of the CS5 gurus will see this and point the way to a quicker solution, but this is all I know to do at the moment.
    Best of luck with your project.
    P.S. To answer the last part of your question, yes, I can only imagine that as a workaround, you can make a selection from the mask and clear the unwanted sections of each layer, and then bring it into Flash.

  • "Applying" a mask?

    How does one perform in Fireworks the Photoshop equivalent of "applying" a mask? That is the layer mask is actually merged with the pixel data and then the mask element is discarded.
    Please advise.

    Never mind. I figured it out. You simply proceed to "delete" the mask and then you are given the option to apply the mask at that point.
    Thanks for all your suggestions everyone, I love you man!

  • Restore "apply layer mask" OPTION?

    There's a new feature where you can opt to drag a layer mask to the trash and NOT be prompted to "apply layer mask?".  This also has the "do not show again" option -which I clicked by accident. So the default is now to apply layer mask when I drag a layer mask to the trash. I can't think of any way to restore the more traditional function, without restoring all other prefs.
    So what I would like is a way to restore the more classic default where dragging a layer mask to trash give me the OPTION to apply or discard.
    Please excuse this seemingly insgnificant request, but this is a very common function that I would like to restore.
    Thanks!

    See if clicking Reset All Warning Dialogs at the bottom of Photoshop>Preferences>General resolves the issue.

  • Hi every one. Speed grade crashed while i was applying a mask

    Hi every one. Speed grade crashed while i was applying a mask and since then crashes straight after lounging it. What can I do ? Or is it a bug?

    Hi I reinstalled it with preferences unticked and it worked again.
    Model Name:    iMac
      Model Identifier:    iMac11,3
      Processor Name:    Intel Core i3
      Processor Speed:    3.2 GHz
      Number Of Processors:    1
      Total Number Of Cores:    2
      L2 Cache (per core):    256 KB
      L3 Cache:    4 MB
      Memory:    4 GB
      Processor Interconnect Speed:    5.86 GT/s
      Boot ROM Version:    IM112.0057.B00
      SMC Version (system):    1.59f2
      Serial Number (system):    W80296DJDB6
      Hardware UUID:    5095972F-34B0-5E84-8BD0-701245D32C2A

  • Easiest way to apply a mask

    Hi guys.
    I think this is the oldest question in the world for photoshop but I learned a way to apply a mask to a layer but it doesn't seem a very good way.
    If I bring a 3D render and a mask over into photoshop, what would be the easiest way to apply this mask?
    Thanks.

    Reynolds (Mark) wrote:
    Make background into editable transparency layer (option double click it)
    load alpha1 channel
    click new layer mask icon
    apply layer mask
    When you say to load alpha1 channel, do you mean to load the file as alpha1? How do you go about doing that?
    And do you click the layer mask icon in the channels panel or the layers panel?
    I know how to do this in PP, naturally, but not in PS. Translating into PS, I would find the command in something like Select >> Load >> Load From Disk...
    Is there anything like that in PS?

  • Applying a mask via Transparency Panel

    I want to mask a bunch of lines to a rectangle.
    - I select the entire group of lines and choose and object > group
    - I drag the group over the rectangle
    - I double click in the open area next to the thumbnail for it in the Transparency panel to apply a mask
    Nothing seems to happen. How am I doing this wrong?

    Place the rectangle above your artwork. Select the artwork and the rectangle. Choose Make Opacity Mask from the Transparency panel Menu.
    It sounds like you want a clipping mask though...... Place the rectangle above your artwork. Select the artwork and the rectangle, choose Object > Clipping Mask > Make

  • Steps to apply script

    Hi.
    please i want to know steps to apply scripts .
    what i need to apply script ....do i need name of schema and user and password of schema.
    Thanks
    Message was edited by:
    user633617

    I shall suggest that instead of askng about "any" script that how will you apply it , show us a script and try to run it. If the error comes up than show us the error too so that we can work upon from that point.
    And read this.This should give good detail about the scripts and their usage.
    http://download-west.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25309/sql_rep.htm
    Aman....

  • Masking a Button Movieclip?

    Hello all:
    I am having some difficulty triggering a onRollover command
    on a Movieclip. From my testing it seems to work fine until I put
    its layer underneath a Masking layer I have set up.
    Here is what I am using to trigger the Movieclip:
    _level0.gridMap.part1.onRollOver = function () {
    trace ("onRollOver called");
    It works fine when I place the movieclip within another
    movieclip, but does not work when I place it under a Masking layer.
    Does anyone have any thoughts?
    Thank you for your help!
    - Garrett

    Thank you for your help. After going through your file, I
    went back to take a look at mine and realized that I had a
    onRollOver action applied to the mask (which negated the rollover
    applied to the button underneath). Now I am just trying to figure
    out a work-around for that ... I have been looking into the hitTest
    method, however the problem that I seem to be grappling with is
    that I need the parent rollover to have both a rollover and an
    onpress state, then I also need the child rollover to have both a
    rollover and an onpress state. Do you happen to have an idea for
    that?
    Thanks for your help!
    - Garrett

  • Shortcut to apply all masks?

    Is there a shortcut to apply all the layer masks in one shot, rather than layer by layer?

    Photoshop Cs5-File>Scripts>Flatten All Masks
    MTSTUNER

  • Apply Script to multiple fields

    I have a form with multiple fields that will contribute to a total. Is there a way to have script apply to multiple fields that will auto update the totals, instead of scripting a separate exit event for each field.
    Thank you

    Create a Script Object. In that object, you can have a function like this:
    function addMyFields() // add values in the fields
    var number1 = field1.rawValue;
    var number2 = field2.rawValue; // and so on
    var sumOp = number1 + number2; // + number3 + .... and so on
    totalField.rawValue = sumOp; // display sum in total field
    Paste the following code in the exit event of each field:
    ScriptObjectName.addMyFields();
    Let me know if it works for you.

Maybe you are looking for