That Error, I am guessing your using Flex 4 Gumbo, So u need to go To Project-->Properties-->Flex Compiler-->Html Wrapper put 10.0.0 under Require Flash Player Version ----- Original Message ----- From: Chris Velevitch To: flexcoders@yahoogroups.com Sent: Friday, August 22, 2008 9:54 PM Subject: Re: [flexcoders] public static var issue
On Sat, Aug 23, 2008 at 3:37 AM, Sherif Abdou <[EMAIL PROTECTED]> wrote: > Needs to be the Class name, not myModel but MyModel (Class Name). It shouldn't matter either way because when you create an instance of such a class you may have instance vars as well. However, switching from myModel.message to MyModel.message now generates the following errors:- 1046: Type was not found or was not a compile-time constant: ElementFormat. 1046: Type was not found or was not a compile-time constant: TextBlock. and it doesn't say which file is the cause of the error. Chris -- Chris Velevitch Manager - Adobe Platform Users Group, Sydney m: 0415 469 095 www.apugs.org.au Adobe Platform Users Group, Sydney August meeting: Tools Of The Trade: Maven, An Introduction Date: Mon 25th August 6pm for 6:30 start Details and RSVP on http://apugs2008august.eventbrite.com.