Groups | Blog | Home
all groups > flash actionscript > june 2004 >

flash actionscript : How to get available methods?



Blind Villian
6/16/2004 11:13:18 PM
Hi folks,

I'm a CF developer making the leap into Flash. So forgive me for such a
simple question, but how do you get the available methods that can be set on a
component? For instance, I have the Flash Charting Components. I have been
able to get data back into the Flash object from a CFC call and display it .
But how do I know there are methods (in the LineChart, for example) such as
lineChart.setXAxisTitle() or lineChart.addItem({label:thisDate,value:thisAvg})?

What I'm really after is to "pretty up" the object by changing the fonts and
layout, but have no idea what methods are exposed. I'm using MX2004.

Thanks for any tips,
BV

nITiNkIlLeRmEeRuT
6/17/2004 2:46:57 AM
Blind Villian
6/17/2004 3:46:12 AM
nITiNkIlLeRmEeRuT,

Thanks for the help, however, I must be overlooking something That particular
chapter really doesn't give me what I'm after - I think.

It gives the methods for many "pre-defined" components, but in my situation, I
have a component and don't know what methods are exposed. How do I see what is
exposed?

I would think once a componet is registered as an instance (say as lineChart),
I could type "lineChart." - minus the quotes - in the actions pane and the
editor would give me a list of things I could follow with, but no dice.

Not to knock MM, but not showing any introspection is one of the major issues
I have with MM editors. Nearly all other editors do this by default. Still
looking for the answer... anyone? Bueler?

Thanks,
BV


Blind Villian
6/17/2004 3:46:15 AM
nITiNkIlLeRmEeRuT,

Thanks for the help, however, I must be overlooking something That particular
chapter really doesn't give me what I'm after - I think.

It gives the methods for many "pre-defined" components, but in my situation, I
have a component and don't know what methods are exposed. How do I see what is
exposed?

I would think once a componet is registered as an instance (say as lineChart),
I could type "lineChart." - minus the quotes - in the actions pane and the
editor would give me a list of things I could follow with, but no dice.

Not to knock MM, but not showing any introspection is one of the major issues
I have with MM editors. Nearly all other editors do this by default. Still
looking for the answer... anyone? Bueler?

Thanks,
BV


AddThis Social Bookmark Button