We just encountered an odd issue: if you try to set a variable in the
class definition to a color value from a static class, Classes will fail
to initialize as they should thus causing havok in our apps.
Details: This bug has bugged the project I'm on for several occasions
and my buddy Paulo just figured it out. The projects that had
unexplainable problems all had one thing in common - they defined
variables in the class definition and filled them from a Static Class
where we stash all the colors used in the project. Since these
technically are of the Number datatype, it should be safe to set them
directly in the class definition, but for some reason this will cause
odd and unexplainable behavior. Filling these variables in the
constructor instead rectified the problem.
Has anybody else encountered this or have an explanation?
J
--
Regards
Jens Christian Brynildsen
Flashmagazine.com
Work http://www.netron.no
Zine http://www.flashmagazine.com
Blog http://www.flashgamer.com
Book http://www.intoflash.com
Phone: (+47) 9069 1786
_______________________________________________
[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