homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Ideas on how to create a graph?

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

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)

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)

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)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved