Move/Translate GroupItem w/ masks and effects?

All,
I have a document with a single layer and a single group (GroupItem) in that layer.
Unfortunately, I didn't create the .ai file, so I don't know exactly what is in the group; however, there appears to be a bunch of complex clipping masks and gradient effects, etc. deeply nested within it.
I've successfully scripted a few tasks like resizing the group with no ill effect... in other words, this works as expected:
app.activeDocument.activeLayer.pathItems[0].resize(50,50);
However, as soon as I try to move/translate/reposition the group, all the effects/masks seem to go wonky, I've tried all of the below with no success (200 is just arbitrary as a test):
app.activeDocument.activeLayer.pathItems[0].left = 200;
app.activeDocument.activeLayer.pathItems[0].translate(200,0);
I have no problem moving the group around on the document with my mouse... all the effects/masks are still nice and clean, so I'm confused as to why I can't do the same thing via JavaScript.

For folks who're interested...
I ended up taking an entirely different approach:
Instead of moving the logo group, I decided to leave it alone, and move the artboard instead.
This solution obviously only works for my scenario, and artboards are a pain in the @$$! to work with via JavaScript:
app.activeDocument.activeLayer.pageItems[0].resize(50,50);
app.activeDocument.artboards[0].artboardRect = [left, top, right, bottom];
Anyway, I'd still be interested in if anyone knows for sure that there's a known issue with trying to move artwork via JavaScript when there's clipping masks or effects involved.

Similar Messages

  • Playing with Text Masks and Effects

    I want to create a mask of the text, put it on an image so that the image shows through the text, but have the same background displaying, so that somehow the text mask is magnified or sliding like a pane of glass...how can I accomplish this?
    I put in the background image, duplicate it, put in the text, add an alpha blend to the text, but now I want the alpha cut out to be somehow distinguished from the background so that you can see it - raised in size, magnified, or embossed, somehow?

    You will either need to group the foreground effects completely separately form the background image or, my preferred method, render out your foreground matte effect and reimport the movie. Place the matted text movie over the background image and apply additional blending or other effects to either or both layers.
    bogiesan

  • CC 2014 trial. MPEG MOVIE clips flickering on my time line! after render, and after export. tried all kinds of sequence settings,taking out transitions and effects ,even the audio tracks.....still flickering. They play fine outa the project files!?  HELLL

    CC 2014 trial. MPEG MOVIE clips flickering on my time line! after render, and after export. tried all kinds of sequence settings,taking out transitions and effects ,even the audio tracks.....still flickering. They play fine outa the project files!?  HELLLLLPPPPP!!!!

    We can not see your computer, your settings or even know what your source files are because we are not in the same room as you are!
    We cant see what you are doing wrong ...so you will have to tell us a lot more and show us some screen grabs of your settings.

  • Mask and replace object on a moving item

    I am new to CS4, and not too familiar with Photoshop or After Effects, and I was wondering how would be best to do this:
    1 - I need to mask the label on the cover of the Blush jar, where it says "MICA BELLA cosmetices" and replace it with another name. The photo moves from left to right in the video so whatever change I make has to move with it. In fact there are a few photos in which I need to do the same, and the jars are at different locations and angles.
    2 - Also, at the botton of the pic, below the white line I need to put another word to cover "MICA BELLA" and I'm wondering how best to copy the color scheme across the lettering.
    I do not know how the original was created.

    Stabilization is the process of stabilizing footage, tracking is the process of synchronizing/adding elements to moving footage.
    Sorry if the answers so far are not what you wanted to hear, but the reality is that, althought it might SEEM like a simple task, tracking replacement content into moving footage can be quite complex.  There are huge teams of specialists dedicated to this very task on many TV commercials and films these days.  It's crazy to think you can attain that level of skill with a tutorial and a couple of hours.
    In my opinion, so long as there's not too much dimensional distortion in the camera move, the easiest way to achieve a basic result would be this:
    Export a frame to Photoshop and clone out the text on the lid.  Then select the whole face of the lid and place it on a new layer.
    Save the layered PSD and import to your AE project.  Place the "clean lid" layer into your comp and align it perfectly over the old lid.
    Now it's your choice - learn how to motion track, or simply move through frame by frame and adjust the position of the clean lid at every frame.  If you set a start position and an end position, hopefully the lid will be in almost the right position throughout the move, and you'll only need to make small corrections.
    When you're happy with the result, add your text layer, use Corner Pin to alter the perspective, and attach it to the Clean Lid layer using parenting.  You might want to use a Transfer Mode like Screen to make it blend more realistically with the light falling on the lid.  (You might prefer to skip that step and just add the text to the lid in Photoshop, if there's no prespective change during the camera move.)
    Use masking to remove the coloured text in lower frame.  Use Layer Styles to create a matching gradient on your replacement text/log

  • Masks and Photoshop animation

    Hello all,
    I am have an issue creating an effect as a frame by frame animation using masks. I have been assigned a logo animation with a lower thirds by my art director. I am not working on After Effects because my knowledge of AE is zilch. I am fairly new to trying out Photoshop's video capabilities, but my ultimate goal is to export my animation as a transparent .MOV file for the video editor to overlay the logo over an interview video they are producing. Because it needs to be overlayed, my .MOV has to be transparent. I have figured out how to export my file with an alpha transparency just fine, but my issue is in the animation part.
    The idea behind the logo animation is to have the letters reveal one by one. Imagine a script font with the words My Logo- I was thinking of masking the layer with the logo on it and revealing each letter one by one by painting the letters with white. Therefore, I created my first frame (I'm on the frame-by-frame dialog by the way), and my logo is completely hidden by the mask on the 1st frame. I create a second frame and I begin painting my letters one by one as I add more frames. The problem when I try to do this is that when I begin revealing my logo on the 2nd frame, the 1st frame reveals itself! The 1st frame isn't hidden as I had it, but begins revealing itself as I paint the 2nd frame!
    This is my fictional logo I am animating:
    The first frame shows my logo hidden by a mask with the 1st frame active.
    Second frame is created and I begin revealing my letters by painting my mask so that it is recorded on the 2nd frame. ISSUE: The 1st frame, rather than keeping my letters hidden, it is beginning to reveal my letters such as in my 2nd frame!
    Anyone have any thoughts on why I can't keep my 1st frame hidden? Any masking animation tutorial links would be most welcomed. Thanks!

    You may be better off just creating you logo and animating it like a banner coming onto your image image using tween. Position you logo off screen. then on screen and have Photoshop generate frames between them. Something like the one I did through the clouds a while back in the forum.
    I think I just created a layer masks  to show the clouds to show through in places. The layes mask was not linked to the layers content so when the logo  moved the mask did not.  You also be able to have your logo not move and have photoshop do the tween where you move the layer mask and leave the logo in place. So you logo goes from hidden to being revealed by a moving black mask off the logo. I do know if Photoshop would generate the mask coming onto the canvas as white when you move the black area off the logo.
    Yes worked fine single text layer with a layer mask that was moved off text and tween used so Photoshop would generate mask between the two. I used a white background none is needed. Gif support 256 colors one can be transparent however partial tranparency a like drop shows would be done by deterring and not be partrial transparency.

  • CS6 problem. When I open the Mask panel, it takes up the entire screen width and the Looks controls disappear, Also, there is a new panel below the Mask panel that seems to have no purpose that I can find. The documentation says "Mask and Look panels - Th

    CS6 problem. When I open the Mask panel, it takes up the entire screen width and the Looks controls disappear, Also, there is a new panel below the Mask panel that seems to have no purpose that I can find. The documentation says "Mask and Look panels - The Mask panel is now placed next to the Look panel. WIth the masking and grading tools placed side-by-side, you can now work faster on the mask workflow." Is there a way to move, hide, or otherwise manipulate the panels for a custom layout? All the examples I can find on the Web show the Looks panel to the left of the Mask panel where the controls are available.

    Ok, here is what I have so far. Appdelete the iWork and reinstalled. Pages and Number work, but not Keynote.
    Now, I downloaded a couple apps that I need, and no matter what I did, the spinning ball came up and the download stopped till it unlocked itself. It is really frustrating because the download was not completed and whatever came through would not mount. Could this issue be the internet connection? Permission fix showed a lot of Airport issues. I will try to run permissions fix again.

  • Need to export Movie to Quicktime Movie w/ similar file size and quality.

    Let me preface in that I am not in the video editing profession. Many times I have exported my work to the professionals. I'm sure knowing what you're doing is half of the battle. Here is my dilemma. First, I'm using Quicktime pro just to add a text track to the movie. I  then save the file as what Quicktime pro calls Movie .mov. This looks good and has the quality of the original .mov and the small data size. However, no other player than quicktime will recognize the text track. I then tried exporting from Movie to quicktime movie format (still .mov, can anyone explain the difference of the two .mov types???), but I find that the image quality is poor. Yet, in the quicktime format other players (except windows media player) recognize the text track. By poor quality I mean that I think what I have is the blocking effect. I assume that this is due to the bitrate being to low. Again, I would like to keep the file size low and managable for data storage and downloading purposes. I was hoping that in the end all video players would be able to have no issues.
    My current file sized are all less than 1MB and are of good quality.
    Just adding a small test track the Movie .mov is still less than 1MB
    The size of the image is 512x512
    I should also say that I'm a PC user with a quicktime pro windows version. I'm sure that doesn't help me one bit!! However, I believe my issues are more with the fact that I'm not experienced in compressing files and knowing exactly the right settings.
    Here is what I've tried thus far. Movie to quicktime movie
    H264 codec
    Current for fps (Which is in the original is 8fps)
    Key frames automatic
    frame reordering checked
    I've tried Automatic data rate and setting the bit rate, even at 2000kbps (the quality is low). My original movie with the highest kbps is only 1151kbps and has no artifacts
    encoding Best quality multi-pass
    custom size 512x512
    deinterlace checked

    am i correct that this 'my photo stream' process is not removing any image data?
    Yes,  as long as you have iPhoto's iCloud preference pane configures as follows:
    You're be getting the full image file, pixel dimensions, etc. which is essentially a bit by bit copy of the photo on the Phone.
    When you add tags and other metadata and export the file out of iPhoto as a jpeg with the checkboxes selected to include that metadata there will be some image compression.  However, if one chooses High or even Medium JPEG Quality one will be hard pressed to detect any image degradation unless printing very, large prints or otherwise displaying the image at a very, large size.
    I ran a test on a 1.4 MB photo from my iPhone  and compared the original to two exports, one at High and the other at Medium JPEG Quality and got these results:

  • I created a slide show on work computer. Placed photos and movies in Media Browser. Want to use another computer (laptop) to give presentation. Do I need to copy media browser to laptop or are pictures and movies embedded in slide show and can go anywhere

    I created a slide show on my work computer and placed many photos and movies in my work computer's Media Browser. Want to use another computer (laptop) to give the presentation and therefore change location of slide show. Do I need to copy the media browser to the laptop or once the pictures and movies are embedded in the original slide show, can I take it anywhere and not worry about the media browser?
    I also want to optimize a movie for Keynote, so it's not too large a file. Please help.

    Graphic, sound and video files are copied into the Keynote file, but make sure Keynote > Preferences - include sound and movies check box is ticked.
    If you have added additional fonts they will need be changed to reflect what is on the destination machine.
    If the other machine has a different Keynote version, ensure the same transitions and effects are available.

  • PSE 5--what is a clipping mask and how does it work?

    Can anyone explain what a clipping mask is, how it works, and most importantly if Photoshop Elements 5.0 has this capability?
    Also, are there any tutorials out there that I can teach myself on this topic? I am trying to mimic a layout explained in digital scrapbooking magazine and this technique is used.
    Thank you!
    Heather

    Heather,
    You can find one explanation at Janee's tutorials: http://www.myjanee.com/tuts/elements/elemask.htm
    Since PSE does not support layer masks per se, the clipping group simulates a layer mask and hence Janee's name for it, "elemask" (cute, huh?)
    Here are 2 examples:
    In this example I wanted to blur the background leaving the flower in focus:
    http://www.pixentral.com/show.php?picture=1euavV1sDqzrEqqqierfc5dSEH9yI01
    1. Duplicate the Background layer and apply a Gaussian blur to the new layer.
    2. Add an adjustment layer below the blur layer (any kind of adjustment layer will do), but do not make any adjustment - just click OK.\
    3. Group the blur layer with the adjustment layer. On the adjustment layer paint the subject with black
    to mask out the blur, paint with white to restore the blur.
    Of course you can use other tools on the adjustment layer besides the paint brush, e.g., make a selection and fill with the black or white. In some cases it might be easier to first fill the adjustment layer with black and then paint with white.
    In this example (not actually a mask but still demonstrates a clipping group) I wanted to crop the picture into a leaf shape.
    http://www.pixentral.com/show.php?picture=1ys9Z7FspSwF8HHKGLrxjGVhbTodmF0
    1. Use the leaf from the Custom Shape tool to draw out the leaf, creating a new layer.
    2. Move the leaf layer below the picture layer.
    3. Group the two layers.
    Note that in order to move a layer below the Background layer you have to rename the Background layer to anything else (layer 0 in my example).

  • Is there a function in Oracle Spatial 11g to move/translate geometry?

    Hello Everybody,
         I am new to Oracle Spatial. I wanted to know if there is any function to move/translate a geometry in Oracle Spatial 11g? PostGIS has a function named ST_Translate to achieve the same.
    Regards,
    Shiva Shankar

    Hi
    There is an SDO_UTIL.AFFINETRANSFORMS function in the  SDO_UTIL Package (Utility)
    Note, that Simon Greener & Siva Ravada have published an excellent book ("Applying and Extending Oracle Spatial") that contains examples (in Chapter 7) of easy to use wrappers for this:
    http://www.packtpub.com/applying-and-extending-oracle-spatial/book
    Luc

  • Opinions on excellent quality plugins and effects.

    I have been searching everywhere for clues to which plugins and effects are the best. I have downloaded dozens of "pro plugins" only to find out they are all made from the same lame user programmable plugin architecture from ten years ago. I am tired of installing all kinds of "pro" plugins and trying them all out just to discover how completely un-artistic and low quality they are.
    I am looking for painterly effects, and any visually artistic and professional looking effects. Any effect that really changes the look of an image. Especially ones that will allow me to combine with other effects in a unique way. (As opposed to effects that if I use them at all it will be obvious that particular effect was used, like aliens skin flame, electricity, or Kai's?...water droplets effect.)
    Also it would be nice to find effects that work on large images lots of effects' resolutiion do not go large enough to interact properly with a large pixel dimension image.
    Thanks for any opinions.
    -Scott.

    I use the KPT collection from Corel with good results, as far as unique results, you need to add one filter, than another to achieve the results you want, but this is experimentation. Photoshop can give really good results if you know channels, masking, duotones etc.
    I also use Corel Painter for additional effects that are outstanding, but there is quite a learning curve to it.

  • Do you have any ideas why Motion 5 would run slow on a computer? I have an Imac with 8Gigs of ram, and plenty of hard drive space, but it still gives me the beach ball when I add a few lights and effects. I'm at the end of my rope.

    Do you have any ideas why Motion 5 would run slow on a computer? I have an Imac with 8Gigs of ram, and plenty of hard drive space, but it still gives me the beach ball when I add a few lights and effects. I'm at the end of my rope.

    You probably don't really need 1080 at 60 for your finished projects but since you're just starting out with Motion, you need to lower your expectations. A long way. 1080 is about 2 million pixels per frame, DV is only about 400,000. That's not just five times as many pixels for the Mac to track; everything in video is exponential.
    Explore the training tutorials available by Mark Spencer. You will get an idea of how his super powerful machine reacts with the software.
    Adding a light roughly doubles the processing time over flat scenes. Two lights increases processing again. Reflections require processing the lights and then calculating the reflections so add another quarter of the time required for flat scenes. Add camera movement, motion blur, and depth of field and you need exponentially more processing time for every frame. The preload of renders into RAM is one of the cooler features of Motion, as comapred to After Effects, but that takes tons of time, to.
    Try working in ye olde DV resolution for a few days. Get to know the software's limitations and what gets imposed by your Macintosh. Step up to 720p/30 and see how things slow down.

  • How does the crop-lock and "Effect" settings logic work?

    The crop lock and Effect setting have in common the fact that they are unpredictable with a strange logic I have yet to figure out. Questions:
    What decision process causes the crop lock to remain locked, and then suddenly decide to stay open from one use to the next  (Or the reverse).?
    What makes the "Effects" decide to retain its last used settings, and sometimes not?  (Usually the last customized setting is NOT what I want for the next photo in line to be edited).
    Thanks!

    Thank you for the reply!
    richardplondon wrote:
    There is no distinction betwen edited and un-edited. And the tools and controls do not have any defaults of their own aside from what the images possess. You can't put the crop tool on 3:2 and then move from image to image clicking "apply"; this is simply not how the LR interface works.
    Understood, except that these settings are an exception.  The effects settings will be stuck in the last positions they where on before you created the edit button.  See attached photo for what I mean by edit buttons and associated settings.  This also applies to graduated filters.
    This is difficult to describe.   I think I've figured out the logic but cant understand why anyone would want it to work this way:   If I choose a setting *before* making the first mark (i.e. new button) with the tool, those settings will persist forever until I change them (even if I change catalogs).  If I change the settings AFTER applying the tool, they are forgotten even if I want to keep them.  I never want a custom setting to persist into the next photo because the last tool/setting I used will not likely be the first tool used in the next photo.
    And just to be clear, the effects I'm referring to are on the right. The timing of WHEN you adjust those settings determines whether or not they persist in what I consider an undesirable way.  In other words, in order to avoid messing up the presets, I must always start the tool before adjusting the effects. That is the only way to keep them from persisting into the next tool/button operation.

  • AE in 32 bits mode, masks and banding

    hi, im doing an AE CS4 project in 32 bits, i create a mask and with all levels of feathering and expansion i can see banding so clearly, i thought 32 bits would solve the banding issues, i see this with all examples, say that i put a black solid over a clip and i mask it with an oval to create a vignete, i use feathering and expansion where necessary, but still in 32 bits mode i can see clearly banding, of course with the add grain filter i can get rid of it, but i add also noise; am i doing something wrong, is it possible that in 32 bits mode banding still happens? there is non way to avoid it?
    thank u so much for any help
    jav

    really this seems now to be a generic issue of after effects, photoshop etc, lets write the facts
    1) im testing with two computers, a good laptop and a good desktop, both new , powerful, both with NVIDIA graphic cards which i guess are supposed to be good graphic cards
    2) im using the latest software, photoshop CS4 and AE CS4
    3) im trying all this in 32 bits in both and in the other modes later also
    4) i am switching off opengl as for the suggestions i receive, and also im seeing all at full resolution
    so given all that written above, now we go to photoshop, create a new file say 1920x1080, take a greyscale gradient with the gradient tool and put it on a new layer,
    and there it is, the banding! ))
    so either there is something really wrong in my setup, or this is a generic problem
    i thought it could be my video hardware, but how could this be, both my control panel settings of both computers are set to highest color depth 32 bits, and both have NVIDIA graphic cards, and both are a year old or the desktop a month old, i mean it cannot get much more recent, certainly its not the best hardware around thats for sure, but really i think it should be enough to display an smooth gradient i would hope
    i have known about the technique to use Add Noise for a long time to get rid of banding but i didnt remember that banding would happen so easily in a simple gradient or in a simple mask even at 32 bits, this is what puzzles me, i thought the whole point of 32 bits is that these things like this type of banding wouldnt happen
    thank u for any help
    by the way ,searching around online i have seen so many threads of people complaining about banding,
    is Adobe addressing somewhere what seems to be a generic concern about Banding, maybe with a nice article explaining the reasons, causes, and solutions for banding that u may still get in 32 bits etc? that would be very nice
    thank u again
    jav

  • Filter masks and blur gallery

    I create a blur filter on a smart object layer.   I then mask the filter.    I then add another filter to the same layer but it seems to ignore the existing filter mask.  When I press M in the filter window for the new filter I do not see any mask.
    I thought the mask would apply to all filters for the same layer.  Am I missing something?
    Thanks
    Paul

    I seem to be missing something I do not understand what your describing with " When I press M in the filter window for the new filter I do not see any mask." What or where is the filter window.   For me the Filter mask seems to be common to all smart filters added to the smart object layer. 
    I your mean Filter Gallery window. All effects will also go through the common filter mask.  However Filter Gallery will only show as a single smart filter.
    Here I selected the left half if the image so there would be an active selection when the Filter mask is added and not be a white  show all  mask. In the filter gallery I could see each effect added was only to the left half.  I commit three effects. so the filter would show with the filter mask in the layers palette.   I the reopened the smart filter Filter Gallery. When I reopened it the active selection not being active any more showed the whole image as being effected however the filter mask protected the right side of the smart object layer as you can clearly see in the image window.
    Again when I originally applied the smart Filter Gallery the was an active selection so there would be something in the filter mask and the select would be visible in the filter gallery.  Here is what I saw.
    If this is not the first smart filter added to the layer and there was already A filter mask  to see its effect in any new added smart filter I would think you would first have to load the filter mask as an active selection.
    Not only did I have to load the filter mask as a selection I had to turn off the other smart filters visibility.

Maybe you are looking for

  • How to execute a .reg file in a task sequence using MDT 2013

    Hi, Im trying to add a couple of desktop icons to my custom images during deployment using MDT 2013. I have a .reg file with all commands inside it but I am struggling to get these to work. the .reg file is located on my deployment server and is in a

  • Unable to convert PDF files to any other file format using Acrobat XI Pro

    Acrobat XI Pro ver11.0.2 Office 2013 Pro Plus Windows 8 Pro When I open a PDF file and try to export file to: Word, RTF, Excel, XML or PowerPoint, I woud receive the error below. Save As failed to process this document. No file was created. I recall

  • How to increase the limit of maximim connections that the iMS will accept

    how to increase the limit of maximim smtp connections that the iMS will accept & route the mails for specific domain on different mta like iMS will accpet mails on 192.168.1.5|25 & route all @mydomain.com's mails towards 192.168.1.55|25. although I a

  • 10.6.3  -   still error 36 file copy errors

    After getting a new mac with 10.6 I started having problems copying files, namely that copying aborts with error 36 quite frequently. I never had such problems on my old powermac with 10.3.9. After some reading here, I discovered this was a known 10.

  • JAVASCRIPT  PROBLEM in designer!

    hello. i used javascript for professional for some time and wouldnt say i had any serious problems... eventually i worked things out.. but the same scripts on designer do not work.. all i can do is app.alert() .. thats the only thing that works - if