Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Ideas on how to create a graph?



4:25 pm on Oct 13, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

I'd like to create a graph that shows historical price trends for various types of widgets. I've seen static graphs that track multiple widget prices or rates, and there's so many lines that it becomes confusing.

My idea is to create the graph in Flash, and allow the user to select which widget type he would like to see the historical prices for. He would thus be able to easily view as few or as many lines as he likes.

I'm using an older (2002) version of Flash MX. I can do Flash animations and such, but I really don't know how to accomplish what I've described above.

Can anyone point me in the right direction?

Thanks for any replies.


3:33 pm on Oct 15, 2007 (gmt 0)

5+ Year Member

My initial thought would be to create each item as a layer in the document then have a button that is scripted to change the visibility on or off for that layer. This is not very effective if you have 1000 items though.


2:54 am on Oct 16, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Thanks for the suggestion, ebby. I'd thought about turning layers on and off, but didn't know if it was possible in Flash.

I'll have to do some reading.


1:11 pm on Oct 16, 2007 (gmt 0)

5+ Year Member

not sure how to script a button to turn off layers, however it would be simple to make each graph element a movie clip. That you could then start and stop via a button. If you get stuck let me know. Good luck, hope this was helpful.

Featured Threads

Hot Threads This Week

Hot Threads This Month