Skip to main content
July 29, 2010
Question

Project Advice related to an interactive chart?

  • July 29, 2010
  • 1 reply
  • 326 views

Greetings,

I appreciate you looking at this thread I am having a hard time concepting how to structure the current project I have been tasked with.

I wanted to make this dynamic, as its for a school that will add or change course sequences.

I was thinking of having several movie clips, with one movie clip class that loads in xml information, but then the problem is how can i keep track of the other movie clips and animate precisely one course to another while being interactive?

I know that i could simply draw everything up in a movieclip within flash, but i thought there could be a way to go through an xml file, look at how many <class></class> tags their were, create movieclips based on how many of those are present and pass the xml information within the class to display to the user.

I need to use a tree structure, with the user being able to click to each node along the tree and recall the information, when they click i need something visually interesting to happen between the 2 nodes.

So in my mind i am thinking 1.) document class, 2.) reusable movieclip class (card template, with text objects) 3.) a class that takes the xml and passes it to the movieclip??

Do you see why I am having difficulty? Its one thing to want interactivity and draw everything, but to make it dynamic to be easily updatable. Is there a way to put a tween in a class to reuse and precisely where to play?

Thanks for any suggestions.

Observational People:

[Course MC 1, with Course info]


[Course MC 2] [Course MC 3]

[Course MC 4][Course MC 5][Course MC 6]
tree continues but when you click each course an animation plays from the one you have active to the one u clicked.

This topic has been closed for replies.

1 reply

July 30, 2010

Shameless Bump with an update.

I have designed a movieclip that will hold the course information from the xml.

The thing that i am confused on is, how can i dynamically spawn my movieclips on the stage, load the xml information about the course.

Keep track of which movieclips with which xml information the user is accessing.

[Course One] XML INFO 1

{ANIMATION FROM COURSE ONE MC CARD TO COURSE TWO}

[Course Two] XML INFO 2 [COURSE Three] XML INFO 3

[Course FOUR] XML INFO 4

do you see my dilemma? i mean i could put the movieclips in an array, but then how could i precisely lay them out in a tree like structure and connect them with lines or something?