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

Ahhhh... thanks for all this help! Makes sense about DELTA_H, I should probably do a deep dive on javascript syntax, it gets to me since everything can be separated by ".", but can be set variables or existing parts of the object. I guess they're somewhat the same, but it's helpful to learn the distinction between all. And more importantly, I need to learn the words to describe all these items, because I sound like an idiot.

 

I tested the script on my mac after I mentioned the window not showing up properly, and it turns out it is just a problem with this crappy programming PC I'm on.

 

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? Additionally, your script is helping me achieve another feature, which is playing a sound at the end of my script. Although I've reached out and there were examples of how to play using media player, I was successfully able to embed a sound in a swf, and it executes just as I would like, by adding:

 

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?

 

Thanks again!


Viewing all articles
Browse latest Browse all 27456

Trending Articles



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