Hi list...

Why is it that when I try to init a prop for my class, I get this error:
"A class's instance variables may only be initialized to compile-time
constant expressions."
What exactly does that mean?

Thanks,
- Michael M.

class test{
        private var tf:TextFormat = new TextFormat();
        function test(){
                trace("hello");
        }
}

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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