I'm trying to create a custom AssetRenderer class for a line chart's
point renderer that will import a swf which has the capability to fire
events handled by other elements in the movie.

The first problem is that if I use the super.draw(target,rc) method, the
aspect ratio of the .swf is skewed like the DiamondRenderer does.

It would help tremendously if I could see how the AssetRenderer class
does its work precisely, but I cannot find the source code on my system.
For example, I don't know what the "target" UI Object is.  I basically
need to be able to assign data to this particular point on the chart and
pass that data back to an event handler. I've already managed to only
have my assets appear at intervals, now I need to have those points be
really "smart". One thing I need to be able to do is have these data
points act like radio buttons - only one selected at a time.

I'm open to suggestions on how to achieve what I want:

1) Data points that act like buttons with on & off states and support
radio-button style interaction. If I knew what var in the AssetRenderer
class refers to the symbol instance for the point in question, I could
probably accomplish this pretty easily given that there's only only one
pointRenderer for each line series.

2) Data point instances that can be containers for data and fire events
with that data to some event handler in the movie.

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED]
(609) 520-5637 (p)
(484) 477-9900 (c)


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to