Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Re: How do I make a loader image similar to those shown at program opening?

$
0
0

No big deal on the transparent part, but out of curiosity, there's no other way to have an image show up, except in the window, correct?

 

For ScriptUI, this is correct. There are other UI frameworks (Flash panels, HTML panels) that are available, but I haven't even looked at them in years.

 

win.preview = win.add ('flashplayer',undefined,'~/Desktop/test.swf');

 

Although, I tried to do a relative path from the script to the sound in the 3rd parameter and was unsuccessful. Is there a simple way of doing this? Or would I have to have a script look up the location of the script I'm running, and then add the "relative" path to this?

 

To do it relative to the script, you would need to use (File($.filename).parent + "/test.swf") as the third parameter.


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>