Ok, I have an LCD-like display in a flash file I am going to use for a website. I wanted to put some sort of little histogram (the little bar chart type things you see frequently in graphic design, but in this case specifically the type you see in programs like itunes or winamp that display the levels of the sound coming out) except it doesn’t really need to be functional. What i want it to do basically is have maybe 3 to 5 very skinny little bars that randomly move up and down like i described to falsely simulate someones connection to the site.
Here’s what I envision… On the side of the lcd screen I made, there is a spot open for these bars. I’ll probably put some text in it that says “Connection Activity” and then these bars will maybe start at zero (1 pixel wide bar {like a preloader bar}) then throughout be moving up and down between 50-100% maybe, and prefereably smooth not just jupming to 50% size bar then 78% size bar etc. it would smoothly adjust between the two percentages, but relatively quickly.
Now i am good with making graphics etc but not so much with the actionscipt, so if theres anyone here who could help me figure that out i would be very greatful. Normally i’d just animate the bars moving randomly, but i thought if there was soem sort of actionscript to simulate it that it would make it even better.
Now for the bar i used in my preloader there were 2 frames where it would keep bouncing back and forth to check the users download progress then the bar would scale on the x axis using the following code until it was finished and the bar was 100% its size…
onClipEvent (enterFrame) {
_xscale = _root.percentDone;
}
Is there a way to add more to that script to make it instead of percentDone for example, that we stick another variable in there which has constantly randomized numbers that it can scale to? Thanks.
I’ve made a still frame example of what I’m talking about…