Support and General Use > Theming and Appearance Customization

Using %?px

(1/1)

signal9:
I'm trying to make a custom wps and I want a small image that nimates when a file is playing.  The wiki says the %px command can be used in a conditional statement and I thought that would be what I need.  Unfortunately I can't figure out how to use %?px.  Is says you can tell it what to do for every possible output from a command, so since percentage goes from 1-100 do I need 100 commands in the %?px statement?  Is there a way to just have it load a specific image when it reaches, say, 10%, 20%, 30% and so on?

If theres a better way to do this, let me know, or is there isn't a way to do this, let me know also.

Thanks alot for the help,
--Signal9

bascule:
You just use as as many conditionals as you want, so...

%?px

Would display a three-character progress bar, using the plus-sign as the position indicator, and would show your position in the track as 0%-33%, 33%-66%, 66%-100%

signal9:
--edit--
Nevermind, my friend figured it out.  If I can't use five images, use four.  

I feel like my brain failed me.
--edit--


Hey, thanks for the help bascule!  That got me 99.9% of the way there.  Now I can make it display a set of sequential images but not all of them.  For some reason it goes blank when it should show the 5th (and last) image in the sequence.  I've tried remaking the bmp's, I've tried resequencing them, nothing fixes it.  The 5th images wont display.  heres and excerpt of my code, which looks right to me.

%?px

Thanks in advance,
--signal9

Job Van Dam:
Chances are all the images are too big:
The file size isn't limited, but the content is. If your WPS file is too complex, only the first part of it will be loaded and used.

I've started using this tag as well to simulate what a patch used to do. It's good and most likely too many images or the images are too large is your problem.

Navigation

[0] Message Index

Go to full version