This content has been marked as final. Show 6 replies
Can you post code examples?
the section of the code in question is below:
the names of the images change everytime an update needs to run, so I'm not sure if I can reference them; is there way of selecting the content of the referenced frame?
Could it be that you don't really want fillProportionally? Have you experimented with the fitting commands in the UI to make sure that what you've chosen in the script really does what you think it should do?
I think it is fillProportionatly that I want... In the standard version of the document (namely the one without any buttons or other interactive elements) the script is fine; the images replace the old, and are all resized to fit just as I need.
As this script does not work with buttons, I just need a way of applying the same thing, but directly to the image/graphic, not the frame
In that case, you should be able to have your function operate on imageRectangle.graphics. That should work also work in the situation where the current version already works.
thanks for that, Dave, I'll try it out and see how it goes,