In After Effects CC, images added to listboxes fail to appear at first

Given a simple listbox with images, created like so:
function buildUI(this_obj_) {
var winDef = (this_obj_ instanceof Panel)
? this_obj_
: new Window('palette', 'testing listbox',[194,174,644,406]);
winDef.ctl_list1 = winDef.add('listbox', [10,20+10+10,160+10,140+10], ["1                      ", "2                      ", "3                      "]);
winDef.ctl_list1.items[0].image = File("/valid/image/location/test1.png");
winDef.ctl_list1.items[1].image = File("/valid/image/location/test2.png");
winDef.ctl_list1.items[2].image = File("/valid/image/location/test3.png");
winDef.ctl_button5 = winDef.add('button', [332,189,416,215], 'OK');
winDef.ctl_button5.onClick = function () {this.parent.close(1);}
return winDef
var builtWin = buildUI(this);
if (builtWin.toString() == "[object Panel]") {
builtWin;
} else {
builtWin.show();
In After Effects CC, loading this script as a ScriptUI Panel (at least on OSX) initially shows no images, until some interface interaction is made (clicking on listbox, showing about box, sometimes switching apps, etc.).
Is there a way to get these images to show correctly on launch of the script? Anything I add to the script, including phantom buttons with notify("onClick") tricks, seems to run while the script is still being created (even if added after the panel being built/shown), and the initial "no-image" listbox is shown. I'm also curious to know if this behavior is the same on Windows, and if anyone can test this it would be great.

Appears to be a bug with CC, I even rewrote a test script using a different coding approach. I've filed bug reports before for listbox. I've gotten times where a multi-column list content will overlap from column to column. It fixes itself once you click on the listbox or attempt to resize a column.
Here's the setup I used:
  function TEST(thisObj){
  function TEST_buildUI(thisObj){
  var pal = (thisObj instanceof Panel) ? thisObj : new Window("palette", "Test", undefined, {resizeable:true});
  if (pal != null){
  var res ="group {orientation:'column', alignment:['fill','fill'], alignChildren:['fill','top'],\
  folderPathListbox: ListBox{alignment:['fill','fill'], properties:{multiline:true, numberOfColumns:1, showHeaders:true, columnTitles: ['TEST']}},\
  pal.grp = pal.add(res);
  ///CONTROL VARIABLES
  var folderPathListbox = pal.grp.folderPathListbox;
  ///POPULATE
  try{
  var listLen = 5;
  var curItem;
  for(var i=1; i<=listLen; i++){
  curItem = folderPathListbox.add('item', i);
  curItem.image = File("~/Desktop/Alert.png");
  }catch(err){alert(err)}
  pal.layout.layout(true);
  pal.grp.minimumSize = pal.grp.size;
  pal.layout.resize();
  pal.onResizing = pal.onResize = function () {this.layout.resize();}
  return pal;
  var rPal = TEST_buildUI(thisObj);
  if (rPal != null){
  if (rPal instanceof Window){
  rPal.center();
  rPal.show();
  TEST(this);

Similar Messages

  • After effects warning: the following plugin have failed to load

    i'm open after effecs but it says: after effects warning: the following plugin have failed to load. there reinstall plugin: C:program file......\support files\(media core plugin\common\importerwwindowsmedia.pm
    Does anyone know what I can do to fix this problem?
    Thanks.

    1/ i use after efects cc 2014 (i don't know version number)
    3/ windows 8.1 64bit
    4/
    5/ info my computer: core i7, ram 8G, graphics nvidia quadro 1000

  • After Effects rotating image issue

    I am trying to rotate a circluar image created in photoshop.  Image looks similar to a donut.  The composition Pixel aspect ratio is D1 (0.9).  No matter what combination of Pixels aspects I use in the PSD file.  The image looks distoted when rotated.  I can move, resize, and change just about any aspect of the image, but when I rotate, it goes from looking like a circle to looking like an oval. Any help would be apprciated.

    In after effects, I tried pixel aspect ratio at both Square and DV1 (0.9) and still does not work correctlly.
    I think I tried every combination of pixel aspect ratios (Square and DV (0.9)  in both Photshop and AE with no luck.  If I leave pixwl aspects as square, in photoshop and then import into  AE and leave interpret as square, the imaage looks oval from the start but does rotate proeprly, If I change the the Interpret in AE to 0.9 it looks fine from the start but turn oval when rotating.  Similar happens if I change the pixel aspect in PS first.

  • After Effects scrambles image of dynamic link imported premiere sequence

    I have an Late 2013 MAC PRO Graphics  AMD FirePro D700 6144 MB with Maverick 10.9.3 and CC. In the 2 last CC updates, imported sequences from Premiere Pro with dynamic link get scrambled after a while, not on every frame and not in a specific routine. After clearing the cache, it disappears. Sometimes it appears on some frames in a final render too. When I don't restart the MAC completely AE will block completely after while. Is this a known problem of CC and is there a solution ? Or is it possible that i.e.  i1 profiler software creates this problem.

    Update to Mac OSX v10.9.4.

  • I want to try After Effects, but I can´t, it doesn´t appears...help

     

    Have you downloaded it?
    Have you installed it?
    If you search your hard drive for "After Effects" can you find it?
    What operating system do you use?
    What hardware do you use?

  • App builder keeps hanging after splash screen images added

    After I upload all my splash screens for SD and HD, I cannot proceed to the next screen.
    There are green checks next to HD and SD, and all looks good.
    I have not uploaded any fonts as there is no HTML in the app.
    I have deleted and re-downloaded the app builder and still get the same behavior.

    The problem was that one of the images had a resolution of 72.09 instead of an even 72. after I changed it it worked. Thanks.

  • After Effects  clear images cache programmatically?

    hi,
    i'm currently developing an AE effect plugin.
    i want to be able to clear the cache programmatically
    from my effect plugin code.
    is there any way to do this?
    thanks in advance!

    Hi,
    May I ask why you need to clear image cache from your effect plug-in?
    It may be a bug (either in Plug-in or AE) if you need to do so for some reason.
    I can read Japanese, if you prefer to use Japanese.
    Thanks,
    -keiko

  • After Effects CC (12.1) update Installation failed. Error Code: U44M2P

    Hi I first got a U44M1P7
    Now a U44M2F error after I did what the trouble shoot suggested bu downloading the update directly
    Update 12.1
    It installs to the end then says update failed.
    Please help

    Update 12.1 installation errors | Photoshop Elements, Premiere Elements

  • Adobe After Effects CC 2014 warning plug-ins failed..

    Hello,
    This is a fresh update version with no previous 3rd party plug-ins.
    Asking if it is  better to delete and re-install program or other method to correct problem.
    Thanks for the help
    Kelly

    I'd try reinstalling.
    If that doesn't work, more info will be needed. We don't even know what version of Windows you're running! What versions of AE you've had before, etc.
    Do you have GoPro Studio installed? Have you ever installed CineForm codecs? Have you installed any third-party codec packs (such as K-Lite)?
    I'm asking because all of these things might cause problems depending on your situation. (Third-party codec packs can cause LOTS of odd/terrible problems...)

  • After Effects CC updates for Creative Cloud fail. All else will update fine. What gives?

    Can I avoid uninstalling the app, or most importantly, all of the apps? Will that even help?

    Signature32 it will depend on what specific error the update is encountering.  You can find information on how to locate and interpret your installation log files for errors at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.  You are welcome to post any specific errors you discover to this discussion.

  • How do you keep junk mail from appearing even after I have hit the "junk" button when it appeared the first time?

    I have several email accounts that come to my mac.   When junk appears I hit the junk button.   Does it take awhile to train the junk or is there a way to set up mail so that it automatically goes to junk and does not appear at all in my inbox?
    It's so time consuming to get rid of this stuff.
    Thanks for any suggestions.
    Grammynancy

    Hello, it does take time to train it.
    You can setup rules if there's any constancy, like I find that 99.999% of mail from yahoo is junk, so I have a Rule setup to just get rid of it permanently, I never see them at all...
    But you could have it be If Subject contains Ciagra, Perform the following functions, Mark as Junk... or whatever.

  • Offline/Missing Image Sequences in After Effects CS6 with Color Bars

    I am working on a stop motion animation in After Effects CS6.  Each clip has been imported as an image sequence from stills on my hard drive.  When I open up After Effects, all image sequences now have color bars over them, as if they are offline.  Trying to reload them does nothing.  I cannot 'link media' because it isn't just one file; it's an image sequence so there are many of them. 
    I first noticed this when the color bars appeared in my dynamically linked comps inside of Premiere Pro.  Everything played smoothly the first time I opened the project in Premiere CS6, after originating in CS5.5.  Then the second time I opened up Premiere, the color bars appeared on the linked comps.  I hadn't yet opened up my AE project in CS6 yet, so when I did, AE converted the project and I resaved it. 
    Any help related to this issue would be greatly appreciated. 
    Mid-2009 Macbook Pro
    Mac OS X Mountain Lion
    8GB RAM
    Adobe Creative Suite Production Premium CS6 w/Creative Cloud

    Thanks everyone, I think I'm beginning to solve this.
    Rick, thanks for your advice.  I tried this and it worked.  The reason I didn't do this before is that, because it is stop motion, I couldn't remember how many frames I had imported for each sequence.  For instance, if I shot 54 images and only imported 52 into the sequence, I wouldn't remember which 52 images to import...this might still be causing a problem, but I don't know yet.  I think in most cases I imported all the images in a folder, so the image sequences should be fine.
    I am having another problem, however.  Even though the issue seems to be fixed in AE, it doesn't seem to be fixed in Premiere...each image sequence is dynamically linked from AE, but each dynamically linked comp is still being show with color bars as they did in AE...I think that maybe my Premiere project is still linking to the old CS5.5 AE project, and not the new one opened and saved in CS6...

  • Opacity of photoshop images in after effects

    When I import  a photoshop image into after effects, the image always has less opacity than the video. You can see through it.
    I have tried every adjustmen or effect I can find to increase the opacity but nothing works. The photshop image is 100% opacity.
    I have tried importing as a comp too. Can anyone tell me how to get still images into after effects so that you cant see through them?  thanks John

    shovel5000 wrote:
    sorry you are dealing with a beginner still.
    ...which means that you need to begin at the beginning.  AE is NOT the kind of application that lets you jump into the deep end of the pool.  Your experiences with something as simple as importing a Photoshop document, and the confusion you encountered, are blindingly-clear testimony to that simple fact.
    You really owe it to yourself to take advantage of the free training materials for beginners found here:
    http://blogs.adobe.com/toddkopriva/2010/01/getting-started-with-after-eff.html

  • Can't apply transitions to After Effects comps in Premiere Pro

    Hi people, newbie Premiere user here (my boss is trying to convert me from FCS) :-)  I downloaded the trial version of CS5 and want to learn as much as I can before my initial 30 days is up.  My initial experience has been pleasant, but I've come up against an obsticle I could sure use some help with.
    1)     Creating my timeline with serveral clips
    2)     Exporting certain clips to After Effects; 'Replace with After Effects composition'
    3)     Adding my effects
    4)     Back in Premiere Pro my clip is replaced by the comp.
    5)     Try to apply a simple cross-dissolve across 'Comp 01/Comp 02'
    PROBLEM!
    Seems the transition will only snap to the start of the second comp.  With clips I can drag & drop the effect to span the clips and get perfect results, but not on an After Effects comp.
    6)     In Premiere Pro 'Effect controls' change parameter so that the transition centre is at 'cut'
    The result indeed spans the clips, but the effect quality is terrible - decent fade from comp 01 to a sudden dip to black before fade-up on comp 02.
    Yes, I understand the 'Layers' concept, but I'm not asking the software to do anything nonsensical, just a simple cross-fade across 2 comps.
    I really would appreciate any advice anyone can offer, I'd really like to be converted (mainly because if I AM my boss has promised to buy me a licence when my 30 days are up!) :-)
    All the best
    Steve

    To expand a bit on Colin's comments, back in the film days, the concept of Handles was easy to grasp, as the pieces of film were on an A and a B Roll, and the editor had to physically overlap them by the desired amount, so that the lab could print with a Dissolve. The same held for the days of A-B Roll digital editing, where the Clips were again physically overlapped on separate Tracks. Then, digital editors were developed that allowed one to edit with the Clips on a single Track, and where Transitions were applied between them. The Handles were necessary still, but were no longer visually obvious.
    These images will tell you a bit more about the concept:
    Hope that this helps,
    Hunt

  • How does Motion 2 compare to After Effects?

    I have used After Effects in school but now that I am using FCP instead of AVID I was thinking that it'd probably be a good idea to switch over.
    I mainly want to use Motion 2 for adding filter effects and transistions to my videos. Is the connectivity between FCP and Motion such a boon that I should learn how to use it?
    From messing around in Motion I've found that it seems much more complicated than After Effects and a bit more unwieldy (but I've barely scratched the surface).
    When I looked at what has been added in Motion 3 I was a bit upset that I bought FCS1 a couple months before 2 came out. Motion 3 seems to be much improved, but alas, it's too late.

    I agree. I too am in the job market and find that there are more jobs that ask for After FX experience than Motion. Having learned both, I made the decision of just working with Motion and developing my skills to a higher level.
    Motion is way more enjoyable to work with. I produce faster with it and it does just about everything that After FX can do. If it doesn't...I go to Shake 4.1. Shake has a much better keyer than After FX. You can combine Primate and Keylight together and get much better results than After FX. I even like the work flow better in Shake than I do in After FX.
    I find that, for some reason, I am more creative in Motion than After Effects. It just flows nicer for me I quess. As far as intergration with Flash, there honestly isn't that much difference. While After FX imports and exports .swf and .flv files....Motion or should I say Quicktime exports to .flv. Both produce large file sizes...I think Motion was a few kb smaller than After FX....I usually end up exporting small image sequences with a alpha channel into Flash. Both Motion and After Effects export image sequences.
    Once Motion 3 is out and stable, I think the gap will be alot closer to After FX. I am going to the Final Cut Studio 2 on tour in NYC on Tues, I'll be sure to ask about cast shadows! How can you leave that out?
    As far as getting jobs, I want to find a company that uses Macs and Final Cut in their workflow. Companies that use PC have no choice but to use After FX....Who wants to work on a PC!
    Best Regards,
    Ed
    Powerbook 15" 1.67 GHz   Mac OS X (10.4.9)   Maxed out!

Maybe you are looking for

  • Contract number not appearing in PO while converting PR into PO using ME21N

    Hi SAP MM Experts, We are having scenario as Demand PO  SOPRHub PO. We are creating demand PO for company code 1700 by setting massage type ZYT1 in that because of which SO got created through Idoc. In that SO, PR is updated. This is the Hub PR wh

  • How to see target groups in Data Target in the APD

    Hi everybody. I am trying to make a marketing segmentation of customers in the APD (BI) and I need to send the results to a target group in CRM, my problem is that I can´t see target groups in the u201CData Target CRMu201D. I select the Logical Syste

  • Apple's and nuts

    Could someone please explain to me why this awful update was even made? What were the great features they had to add to mess everything up. I think they should have waited until the bugs were gone to release it, and even if they didnt give us the opt

  • IPod problems from ****

    Okay, here goes. I tried to connect my Fifth Generation iPod to my Windows PC with the latest iTunes installed this morning. It said that it couldn't read my ipod and then my computer crashed. I manually restarted the ipod because it was frozen. Now,

  • Development or Deployment Configuration Management

    Forte Users: I have been using Forte for awhile and have experienced various levels of pleasure and pain with regard to configuration management. I have been witness to various strategies for keeping things clean and smooth. I was at Forte Forum to h