Setting up the movie - part 2
I gave variable names of strTitle, strXTitle and strYTitle to the dynamic text fields for title, X axis title and Y axis title. I gave the push button a label of Update chart and gave the BarChart an instance name of ThisBarChart.
The combo box is used to determine how many rows of data will be entered to show on the chart. I populated the combo box with labels and data: 0,1,2,3, 4,5,6,7,8,9,10. I restricted the data to 10 rows but you could allow as many data rows as you could fit on your stage. I gave the combo box instance the name DataRowsCBO.
Have a look at the sample file DynamicCharts.fla.
|» Level Intermediate|
Rating: 8 Votes: 41
|Applications Developer Marconi Australia|
|Download the files used in this tutorial.|
|Download (158 kb)|
|More help? Search our boards for quick answers!|