Ok - I've got this class  -- it's really a sort of 'column text' class
for laying out nice stylized text -- the user can choose how many
columns there are onscreen.

Now I won't get into all the specifics, but there's a background color
that's being drawn based on how much text is in a column; and whatever
column has the longest text, then all x columns should draw their
backgrounds to meet that _bottom (height) amount, dig?

So I'm making the 'backHeight' variable static so it's shared among x
instances of the class, but I'd like when one class instance redraws
itself, all the instances redraw their backgrounds.

I have the function working with instances, but I can't make it static
as instance variables aren't allowed.

Should I either:

a) create a static function that calls instance functions (?)

b) have a static array that each instance adds itself too, and the
currently edited column instances calls each instance function based
on the array?

c) there's another better way I'm not getting?
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to