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

Similar Messages

  • 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!

    Hello and welcome
    I think you would be much better off posting your question in the forums in English; these are in Spanish. It seems to me that you are looking for the After Effects forums, which are here:
    http://forums.adobe.com/community/aftereffects_general_discussion

  • Is it possible to clear image cache at runtime?

    I have an issue with downloading an image from a URL that is not getting updated at runtime. I'm using a URLLoader to download the file initially at the start of the app from some URL, then later on there is a call to the server which re-compiles the image into something else. After that the image is being downloaded again from the exact same URL, but as far as I can tell it's not getting the updated version, but is getting it from the cache that flash creates.
    If I restart the application after doing all of this it gets the correct image when it downloads at startup, but I cannot for the life of me figure out how to get it to download the correct image at runtime. Does anyone have any idea how this can be accomplished?

    append a variable to your url:
    new URLRequest("yourimage.jpg?nocache="+getTimer());

  • 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);

  • Clear Image Cache

    hi ,
    in my application i have to cache the image to some extend..
    and that i need to clear the image cache as my url dont
    change.
    is there anyway programatically i can refresh the image ?
    thanks

    "sohilr" <[email protected]> wrote in
    message
    news:ghts86$ls8$[email protected]..
    > hi ,
    > in my application i have to cache the image to some
    extend..
    > and that i need to clear the image cache as my url dont
    change.
    > is there anyway programatically i can refresh the image
    > thanks
    http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf
    Q7

  • 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.

  • 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 CS6: ***Layer Cache Indicators*** issues

    I guess i jumped the guns too soon on the CS6 upgrade (from CS5.5 Production Premium) as I've discovered quite a major issue with one of the selling points of this product.
    The issue is with After Effects CS6, as enabling Layer Cache Indicators is not available. You can only select to show the global cache indicators (thats the render blue/green line on top of all the layers), but i really wanted to see the render bar for each of the layers, which was heavily advertized upon release of CS6.
    Adobe, you have to fix this asap, release an update. This feature is available in CS5.5 (I've checked) but no where can i find to enable it in CS6.
    PLEASE HELP!

    Its the Timeline panel menu, that yellow button on the top-right corner within the timeline. That opens up a menu, hold CNTRL + select show cache and the render bars going to appear on each of the layers. This should work for MAC i think.

  • Need to clear Java cache programmatically - WinXP

    Gurus,
    I need a script, preferably vbs, to clear the cache on Java 1.6.0 at login.
    Many thanks,
    Harry

    This isn't really a Java question. Find out where your Java temporary files are kept; this site shows how to do that: http://www.java.com/en/download/help/5000020300.xml
    Then, pick your favorite script and delete the temporary files there when you login, be it something like vbs or a simple .bat.

  • Is there a way to clear the cache programmatically

    I want to clear the cache for several items when a validation returns false.
    Is that possible.
    howard

    Howard - Try creating an on-load process to clear them. Set the process's condition to "When Inline Validation Errors are Displayed". The process itself could be one of the Session State -type processes or a PL/SQL process in which you assign null values to the items of concern.
    Scott

  • Clear web cache programmatically

    Hi guys,
    i need to clear the web cache in the controller class programmatically, as you can do in the 'Functional Administrator' responsibility.
    Hoping you have suggestions,
    thanks a lot & regards.
    Mr Mister

    I am not sure if there is any way to do this in OAF but you can look at the code behind the "Cleare Cache" function in "Functional Administrator" and execute the same where ever you want.
    Definately you should not clear cache pragmatically.
    Thanks,
    Mukesh Uchaniya

  • After Effects 12.2 Cache won't empty

    Hello, just updated to the new AE version and really soon i run in a problem. The Purge - All memory and disc cache doesn't work anymore. I can't delete the cache even in the preference window. Nothing happens. It recognize the exact space occupied by the cache, but if i press ok i have a flash and nothing happens. I've deleted the old 12.1 cache folder, reset AE preferences, delete the folder again, restart the computer. Simply it doesn't work anymore. I've read that there is an update to this function, but for me is somethig that have broken what is ever work, since 12.0. So, 12.0 and 12.1 works... 12.2 no!
    Sorry, but i'm a bit frustrated...nothing seems to go in the right way with CC software, at least for me.
    I've not changed anything in my system, i have only CC apps on a fresh formatted system.
    If there is something that i can try, please let me know...
    Thank you,
    Roberto

    PS
    I have tested the update on other four machine in the office where i work,three PC and one Mac..(i know, here in Italy is saturday 1.26 AM and i have to sleep!).No one of the AE is able to clean the cache. I have tried to clean the old 12.1 folder, but nothing happens. So what happen is this: AE see the cache files and reports the right disc space used. When i click "ok" the clean cache window pops up and disappear after a "flash". The cache is still there. Now, if i clean manually the cache, when select clean disc etc... in AE, it continue to show the old amount of data. In other words, doesn't see that there is no more cache on the SSD. Onthe PC, UAC is turned off, i have tried to run AE as Administrator, clean again preferences.Win 7 Pro. On MAC i don't really know wich OS is running...sorry but i'm a Windows fan!
    Is there a workaround or a way to understand why AE won't clean the cache anymore? Yes, i can do it manually, but i don't understand why something that have ever worked now doesn't work!
    My (well known i think!) PC spec:
    i7 980x
    GTX680 4Gb
    24Gb DDR3 Triple Channel 1333Mhz
    MXO2 MIni with Max
    2x SSD Intel DCS 3500 (one for cache)
    In the office systems are really similar to mine, with the same Intel SSD for cache.
    Thank you again,
    Roberto

  • Is After Effects CC disk cache taking up double the space on my RAID 0 SSD? Should I move it?

    In AE CC the available space on my RAID 0 (2 x 120GB SSD) drive drops from 100GB to around 40GB as soon as I do even a small RAM preview and even though I have set the disk cache in the preferences to 30GB. It also causes AE to prompt that I may not have enough space on the drive for the amount of cache I have set in preferences even though there appears to be 40GB left on it.
    I really value working with long fast RAM previews but other than that I'm not sure if the performance is jeopardised at all here. At one point I was enjoying 60GB of disk cache.
    RAID 0 is striped so it shouldn't take up double the space, am I right?
    I am about to install a RAID 0 HDD (2 x 3TB) for source files as I work with video a lot and have a 4K RAW project on the go so no time like the present. So should I move the disk cache from the ridiculously fast RAID 0 SSD to the new RAID HDD drive (as suggested in Harm's guide)?

    Thank you Mylenium. All this time I have been absolutely convinced that you don't need to defragment SSDs. Is this a complete misunderstanding? Even if you do though, I have Windows 8 (not 8.1) which is doing that once a week automatically (apparently even to SSDs).
    Are you saying that the 30GB disk cache set up works like a contiguous file?
    i7 3930k (12 virtual cores) on P9X79 Deluxe
    2 x 120GB Force GT Raid 0 SSD on SATA 6gb/s is my boot drive as well as where I keep programs and the disk cache. I do a disk clean up to remove temp files a couple of times a week but that's all.
    1 x 3TB Barracuda on on SATA 6gb/s for back ups and exports
    3TB Lacie on USB 3 for source video and project files
    2TB Lacie on USB 3 for archive projects
    660ti 2GB
    I'll try a manual defrag of my RAID 0 SSDs now.

  • After Effects CC disk cache error on startup w/ immediate crash

    I'm running a GTX 780 with 32GB of RAM, x1 240GB SSD (on which AE is installed) and x1 2.5TB HDD. Both show that they have more than enough space to cache the 10GB recommended by AE, yet whenever I open it up, it prompts a message box informing me that my disk cache folder is on a drive that does not have enough available space specified in my preferences. So I click OK, thinking that I'll be able to change this, but AE immediately quits as soon as the message box disappears. How can I change the preferences for AE without actually opening it? Or am I going about this the wrong way? Please help, Adobe Support was just about useless in this situation.

    It's weird that your permissions fixing didn't fix it.
    It's almost always that. This page suggests it and some other fixes: fixing permissions problem that impedes start of Adobe applications
    Also, try running CC (version 12) and see if it works.

  • Tried Downloading Adobe After Effects, cleared everything still get error 107

    I followed all the steps in solution 1, I even uninstalled adobe download starter and reinstalled it trying to download the trial. Can someone please help me? I get the opportunity to log in and as soon as I do I get "Error 107 something about adobe can not contact the server and to restart and try again" I've done everything and I would really like this trial. Id be really appreciative if someone could help.

    Download it from prodesigntools.com and use the serial number you have to serialize it.

Maybe you are looking for

  • HP Color Laserjet 3500

    I get an error message (10.00.03) saying that the cartridges aren't able to be read, and to open/close the front door.  The Yellow print cartridge appears to be the culprit - it has a '?' above its display. These cartridges aren't even 1/2 used.  My

  • SEND SONGS  FROM AN IPOD TO MY COMPUTER

    PLEASE HELP ME I WANT TO TRANSFER MUSIC FROM MY FRIENDS IPOD TO MY COMPUTER SO I CAN ADD THEM TO MY IPOD CAN YOU TELL ME HOW TO DO IT OR WHAT TO DO TO GET THIS TASK DONE PLEASE? AND THANK YOU

  • Strange freezing problem

    I'm not sure where this goes, but it seems to fit here for now. I have had a weird problem with my G5 here at work for a long time. Sometimes when I move the mouse or click a mouse button, the machine freezes -- at least I think it does. I know the d

  • Why is my mac's battery life decreased and got slower after upgrading to lion?

    Thank you for helping, I am using MacBook Pro (13-inch, Mid 2010) and beginning of this summer I upgraded it from snow leopard to lion (from apple store). After installation my mac got slower,it consumes the battery very rapidly and starting time inc

  • IPhone camera problems.

    Ok. I'm running 3.1.3 on iPhone 3G. Recently my iPhone just decided that it wasn't going to let me take pictures anymore. All it allows me to do is open the camera app and it shows the camera shutter and that's all it shows and a restart of iPhone do