• Home
  • Free Tutorials
  • Free Video Tutorials

Adobe Photoshop
Autodesk 3ds Max
CSS
Flash
Help Center Live
iPhone
Joomla
Make Money Online!
Mambo
mIRC
Outlook Express
SEO / SEM
Simple Machine Forum
Target Explorer

Pie Chart

Category : Flash Views : 13551
Version : 8 Rating : 
2.6/5 (37 votes)
  • Currently 2.65/5
  • 1
  • 2
  • 3
  • 4
  • 5
Type : Text Source File: pie-chart.zip
Result: See the result


Previous | 1 | 2 | Next

You can place labels in your slices to help the user know what a slice means.
On both frames draw a text box and write a label for the slice, try to make it in the same angle of the slice using the Free Transform Tool (Q). Like this:
Free Flash Tutorials, Basic Flash, Pie Chart

Create the rest of the slices like the one we just created, but change the sizes and colors.

Give each slice an instance name: "slice1", "slice2", etc.

Now go to the stage and draw a dynamic text box, link to the variable "textSlice".

On the main timeline paste the code:
var textSlice = "":

And on the pie chart paste this code:
//Event slice1.onRollOver = function() { //change the variable that is linked to the text box _root.textSlice = "This is the Slice1"; } //other slices events slice7.onRollOver = function() { _root.textSlice = "This is the Slice7"; }

When you have all buttons done test your code (Ctrl + Enter).


del.icio.us digg it Reddit Stumble Upon Technorati

Previous | 1 | 2 | Next
How to Video Tutorials on software by Helpvids.com

Video tutorial: Forex trading



Sponsors



Advertisement









Studio | Advertisement | About Webzo | Contact Webzo | Terms of Use | Free Video Tutorials by Helpivds

Copyright © 2007 NR Concepts Ltd. All rights reserved.