Variable Math

I have a progress bar showing something similar - every 10%. Put all actions attached to the progress bar graphic.Action 1. Set your own variable to the var(pageintitle).Action 2. Next action divides it by var(pagesintitle).Actions 3-12. Then I had 10 actions, one for each 10% of the lesson, which changed the contents of a progress bar graphic to a different graphic. I used two conditions for each. For example: One condition was greater than .2 and the other was less than or = .3.Note: I had a little trouble until I made all graphics the same size. So, instead of the graphic just including the color part, it also included the white (unfinished) part. I also found it easier to see the progress bar if I created the objects with a border around them. In my case I have a 1px white border because it sits on a black background.Note: My condition for 100% complete is variable > .98.In your case you will likely need 20 action steps. I think that is a bit much.In looking at my actions, I see that all actions that change the contents of the image are delayed .1 second (1/10). As I recall there was some problem in timing in that the calculations in the first two actions were not getting completed before they were being tested by the conditions in the 10 actions that changed the contents.Try this all out in a 4 page title so you can publish quickly to HTML or if you have 2006 you can just use the Preview in browser button.Let me know if this helps or if you have any questions.benEdited By: bpitman on 2006-1-20 18:59:49

Discussions have been disabled for this post