PDA

View Full Version : Flash Charting Components - Object - Methods, Properties


mcrustk2
04-27-2006, 03:36 PM
Hi.

I am using the free flash charting component provided from macromedia. I am using the bar chart.

I have a chart and two buttons on my stage. With one of the buttons I am able to add a new value to my bar chart successfully.

The code I use for this is the following:

on (press) {
MovChart.addItem({label:"July",value:50});
}

This works great.

My problem is:

With the other button, I want to do the exact opposite and remove the value I just added:

I tried the following to no avail:

on (press) {
MovChart.removeItem({label:"July",value:50});

}


I cannot find any reference to the objects methods and only a few basic properties, there is no type of 'intellisense' so I cannot see what this object exposes. Can anyone help me make sense of this:

Regards - James.

mcrustk2
04-28-2006, 10:14 AM
Can I please get some help with this!!!

Im well stuck and would appriciate some feedback from all the actionscript guri's!!

Cheers.

mcrustk2
04-28-2006, 03:02 PM
Is anyone going to help me with this or am im going to have to give up with flash altogeather! :S

mcrustk2
05-08-2006, 10:23 AM
HELLO! anyone! :S