Manual

Páginas: 2 (391 palabras) Publicado: 30 de septiembre de 2012
Flash 3D Bar Chart

Files Included
 preview.fla: This is the main file, this help is for that.
 preview.swf: The compiled demo file.
 Help file: This file.

Fonts
I didn’t use any embeddedfont.

The Look
This application can draw pie charts like this one.

Flash 3D Bar Chart

Editing the FLA file
Editing from Stage
Open the fla file, then you can see mcBarChart in theLibrary, this generate the chart.
In the scene you will see a movieclip (see the red circle below) that is an instance of
mcBarChart, just move it and you will move the bar chart.
Important! To useanother bar chart, just duplicate the mcBarChart in the Library and
Drag and Drop it to the scene.

To modify the chart just double click on mcBarChart (in the Library) and choose the
actions layer andselect the first frame, then in the menu “window > actions” (F9 in
windows), then you will see the AS code.

Flash 3D Bar Chart

Editing the AS source
You can edit almost all variables fromXML help.
 To set the relative chart position, go to line 8 and 9. To set the width and
height, go to lines 10 and 11.

 To set the chart depth (3D look), go to line 14 and 15. This works for thebackground Area chart.

 The speed of animation in seconds can be set at line 17.

 bbSyn=true means that all bars will animate in a synchronized way.
bbSyn=false animates bars 1 per 1.

Put the chart title and subtitle at lines 21 and 22.

 arTColor[i], arLColor[i], arFColor[i] and arSColor[i] stores the colors for
bar “i”.

 ToolTip color can be set at line 29 (in this case,the color is stored as String).

 Names and Values for bars are stored at lines 31 and 32.

 Margin between bars are set in percents at line 34.

 Depth bar is set at line 36, this will workwith the same angle that depth
chart.

Flash 3D Bar Chart
 yBot, yTop and yvInterval stores the minimum value, the maximum value
and the interval for the chart.

 Colors for background...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Manual
  • Manual
  • Manual
  • Manualidades
  • Manual
  • Manual
  • Manual
  • Manual

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS