Re: [Flashcoders] central up to date data

2007-10-24 Thread Rich Rainbolt
PROTECTED] On Behalf Of Tom Huynen Sent: 19 October 2007 10:41 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] central up to date data Hi List! I'm using a class named utils.as to store data like color values in my project. This class is then extended by let's say the appl

Re: [Flashcoders] central up to date data

2007-10-24 Thread Rich Rainbolt
Behalf Of Tom Huynen Sent: Friday, October 19, 2007 5:41 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] central up to date data Hi List! I'm using a class named utils.as to store data like color values in my project. This class is then extended by let's say the appl

RE: [Flashcoders] central up to date data

2007-10-21 Thread Michael Ypes
@chattyfig.figleaf.com Subject: [Flashcoders] central up to date data Hi List! I'm using a class named utils.as to store data like color values in my project. This class is then extended by let's say the application.as and the menu.as. Next in the application class I change the value of a var in

RE: [Flashcoders] central up to date data

2007-10-20 Thread David Ngo
: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] central up to date data Hi List! I'm using a class named utils.as to store data like color values in my project. This class is then extended by let's say the application.as and the menu.as. Next in the application class I change the valu

Re: [Flashcoders] central up to date data

2007-10-20 Thread Stephen Downs
You're probably running into this because you're attempting to use instance variables like static variables. If you're just storing one variable, you can use a single static variable in your ancestor class. If you wanted to access this variable akin to a local property of specific extende

Re: [Flashcoders] central up to date data

2007-10-20 Thread Bob Leisle
Hi Tom, It's a bit hard to tell without seeing the code. If your app class and your menu class, etc. are each creating their own extension of utils, then how are those subclasses communicating? Are they calling some update function in the super class? It sounds like you need to use a singleton

[Flashcoders] central up to date data

2007-10-19 Thread Tom Huynen
Hi List! I'm using a class named utils.as to store data like color values in my project. This class is then extended by let's say the application.as and the menu.as. Next in the application class I change the value of a var in the utils class. When retrieving this value from the third (menu) clas